/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/* ============================================
   AMBULATORIO VETERINARIO - CUSTOM STYLES
   ============================================ */

:root {
  --primary-blue: #1c4b7a;
  --dark-blue: #15395e;
  --light-blue-bg: #eef4fa;
  --accent-blue: #2b7ac2;
  --text-dark: #333333;
  --text-medium: #555555;
  --text-light: #777777;
}

/* --- HEADER / NAVIGATION --- */
body .header-space {
  display: none;
}

#header-outer {
  background-color: rgba(28, 75, 122, 0.95) !important;
  border-bottom: none !important;
}

#header-outer[data-transparent-header="true"] {
  background-color: transparent !important;
}

#header-outer.scrolled-down,
#header-outer.transparent.scrolled-down {
  background-color: rgba(28, 75, 122, 0.97) !important;
}

header#top nav > ul > li > a,
header#top #logo a {
  color: #ffffff !important;
}

header#top nav > ul > li > a:hover {
  color: rgba(255,255,255,0.8) !important;
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  min-height: 85vh !important;
}

.hero-section .row-bg-wrap .row-bg.using-image {
  background-size: cover !important;
  background-position: center right !important;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(28,75,122,0.92) 0%, rgba(28,75,122,0.6) 50%, rgba(28,75,122,0.3) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-section > .col.span_12 {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 42px !important;
  line-height: 1.2 !important;
  color: #ffffff !important;
  font-weight: 300 !important;
  margin-bottom: 20px !important;
}

.hero-content h1 strong {
  font-weight: 700 !important;
}

.hero-section .nectar-shape-divider-wrap {
  z-index: 3 !important;
}

/* --- ABOUT SECTION --- */
.about-section {
  position: relative;
}

.about-section .img-with-aniamtion-wrap img {
  border-radius: 15px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12) !important;
}

/* --- SERVICE CARDS --- */
.services-cards .wpb_column {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-cards .wpb_column:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12) !important;
}

.service-card .img-with-aniamtion-wrap {
  overflow: hidden;
  border-radius: 10px;
}

.service-card .img-with-aniamtion-wrap img {
  transition: transform 0.4s ease;
}

.service-card:hover .img-with-aniamtion-wrap img {
  transform: scale(1.05);
}

/* --- TOGGLES / ALL SERVICES --- */
.all-services-section .toggles {
  border: none !important;
}

.custom-toggles .toggle {
  border: none !important;
  border-bottom: 1px solid #e8e8e8 !important;
  padding: 15px 0 !important;
}

.custom-toggles .toggle:last-child {
  border-bottom: none !important;
}

.custom-toggles .toggle h3 a {
  color: var(--primary-blue) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
}

.custom-toggles .toggle > div {
  color: var(--text-medium) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  padding: 10px 0 5px 0 !important;
}

.custom-toggles .toggle h3 a i {
  color: var(--primary-blue) !important;
}

/* --- TECH SECTION --- */
.tech-section .img-with-aniamtion-wrap img {
  border-radius: 10px !important;
  transition: transform 0.4s ease;
}

.tech-section .img-with-aniamtion-wrap:hover img {
  transform: scale(1.03);
}

/* --- TEAM SECTION --- */
.team-card {
  transition: all 0.3s ease;
}

.team-card:hover {
  background-color: rgba(255,255,255,0.18) !important;
}

.team-section .nectar-shape-divider-wrap {
  z-index: 2 !important;
}

/* --- STORY CARDS --- */
.story-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important;
}

/* --- GALLERY --- */
.gallery-section .img-with-aniamtion-wrap {
  overflow: hidden;
  border-radius: 10px;
}

.gallery-section .img-with-aniamtion-wrap img {
  transition: transform 0.4s ease;
  aspect-ratio: 1;
  object-fit: cover;
}

.gallery-section .img-with-aniamtion-wrap:hover img {
  transform: scale(1.05);
}

/* --- CONTACT SECTION --- */
.contact-info .contact-item {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: var(--text-medium);
}

.contact-info .contact-item:last-child {
  border-bottom: none;
}

.contact-info .contact-item strong {
  color: var(--primary-blue);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-info .contact-item a {
  color: var(--accent-blue) !important;
  text-decoration: none;
}

.contact-info .contact-item a:hover {
  text-decoration: underline;
}

/* --- OPENING HOURS TABLE --- */
.orari-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: var(--text-medium);
}

.orari-table tr {
  border-bottom: 1px solid #eee;
}

.orari-table tr:last-child {
  border-bottom: none;
}

.orari-table td {
  padding: 10px 8px;
}

.orari-table td:first-child {
  color: var(--primary-blue);
  min-width: 100px;
}

/* --- FOOTER --- */
#footer-outer {
  background-color: var(--dark-blue) !important;
}

#footer-outer .col {
  color: rgba(255,255,255,0.7) !important;
}

#footer-outer a {
  color: rgba(255,255,255,0.85) !important;
}

#copyright {
  background-color: #0f2a45 !important;
}

#copyright p,
#copyright span {
  color: rgba(255,255,255,0.5) !important;
}

/* --- SHAPE DIVIDERS --- */
.nectar-shape-divider-wrap[data-position="bottom"] svg {
  bottom: -1px;
}

.nectar-shape-divider-wrap[data-position="top"] svg {
  top: -1px;
}

/* --- BUTTONS --- */
body .nectar-button.regular.extra-color-1,
body .nectar-button.regular.accent-color {
  background-color: #ffffff !important;
  color: var(--primary-blue) !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  border-radius: 30px !important;
  padding: 15px 35px !important;
  transition: all 0.3s ease !important;
}

body .nectar-button.regular.accent-color:hover {
  background-color: rgba(255,255,255,0.9) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* --- HEADINGS --- */
.wpb_text_column h2 strong,
.nectar-custom-heading h2 strong {
  font-weight: 700 !important;
}

.nectar-custom-heading h2 {
  font-weight: 300 !important;
}

/* --- RESPONSIVE --- */
@media (max-width: 999px) {
  .hero-content h1 {
    font-size: 32px !important;
  }

  .hero-section {
    min-height: 70vh !important;
  }

  .services-cards .wpb_column,
  .stories-grid .wpb_column {
    margin-bottom: 20px !important;
  }
}

@media (max-width: 690px) {
  .hero-content h1 {
    font-size: 26px !important;
    text-align: center !important;
  }

  .hero-section {
    min-height: auto !important;
  }

  .hero-section::before {
    background: linear-gradient(180deg, rgba(28,75,122,0.9) 0%, rgba(28,75,122,0.85) 100%);
  }

  .gallery-section .vc_column_inner {
    width: 50% !important;
  }

  .orari-table {
    font-size: 12px;
  }
}
