/* ============================================================
   Clinica Veterinaria Settevalli — main.css
   ============================================================ */

/* --- Global --- */
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: #1a1a2e;
}

/* --- Navbar --- */
#navbar {
  border-bottom: 2px solid #4a90d9;
}

#navbar .navbar-brand {
  color: #4a90d9;
  font-weight: 700;
  padding: 4px 0;
}

.navbar-logo {
  height: 48px;
  width: auto;
}

#navbar .nav-link {
  color: #1a1a2e;
  transition: color 0.2s ease;
}

#navbar .nav-link:hover {
  color: #4a90d9;
}

/* --- Hero --- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  background-image: url('img/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 10vh;
  padding-left: 1rem;
  padding-right: 1rem;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-hero {
  border: 2px solid #ffffff;
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-hero:hover {
  background: #ffffff;
  color: #4a90d9;
}

/* Hero — mobile */
@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content {
    padding-top: 6vh;
  }
}

/* --- Shared section styles --- */
.section-heading {
  color: #4a90d9;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

/* --- About sections --- */
.about-section {
  padding: 60px 0;
}

#about {
  background: #ffffff;
}

.about-clinic {
  background: #f4f8fd;
}

.about-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 1rem;
}

.about-img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* About — mobile */
@media (max-width: 767px) {
  .about-section {
    padding: 40px 0;
  }
}

/* --- Services --- */
#servizi {
  background: #f4f8fd;
  padding: 80px 0;
}

/* Desktop tabs layout */
.servizi-tabs {
  gap: 0;
  align-items: flex-start;
}

.servizi-tab-list {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  min-width: 200px;
  border-radius: 6px 0 0 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.servizi-tab-btn {
  background: none;
  border: none;
  border-left: 3px solid transparent;
  text-align: left;
  padding: 12px 20px;
  color: #1a1a2e;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.servizi-tab-btn:hover {
  background: #f4f8fd;
}

.servizi-tab-btn.active {
  border-left-color: #4a90d9;
  color: #4a90d9;
  font-weight: 600;
}

.servizi-tab-content {
  flex: 1;
}

.servizi-panel {
  display: none;
  background: #ffffff;
  border-radius: 0 6px 6px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 32px;
}

.servizi-panel.active {
  display: block;
}

.servizi-panel h4 {
  color: #4a90d9;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Service list items */
.servizi-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.servizi-list li {
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #555555;
}

.servizi-list li:last-child {
  border-bottom: none;
}

.servizi-list li::before {
  content: "·";
  color: #4a90d9;
  font-weight: 700;
  margin-right: 8px;
}

/* Mobile accordion overrides */
.accordion-button:not(.collapsed) {
  color: #4a90d9;
  font-weight: 600;
  background-color: #f4f8fd;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
}

/* Services — mobile */
@media (max-width: 767px) {
  #servizi {
    padding: 48px 0;
  }
}

/* --- Contact --- */
#contatti {
  background: #ffffff;
  padding: 80px 0;
}

.contact-card {
  background: #f4f8fd;
  border-radius: 6px;
  padding: 32px 24px;
  text-align: center;
  height: 100%;
}

.contact-card-icon {
  font-size: 2rem;
  color: #4a90d9;
  display: block;
  margin-bottom: 12px;
}

.contact-card-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4a90d9;
  margin-bottom: 8px;
}

.contact-card-value {
  font-size: 1rem;
  color: #1a1a2e;
  font-weight: 500;
  line-height: 1.5;
}

.contact-link {
  color: #1a1a2e;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: #4a90d9;
}

.map-placeholder {
  background: #d0e4f5;
  min-height: 100px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s ease;
  padding: 24px;
}

.map-placeholder:hover {
  opacity: 0.85;
}

.map-placeholder-icon {
  font-size: 2rem;
  color: #4a90d9;
  flex-shrink: 0;
}

.map-placeholder-address {
  font-weight: 600;
  color: #1a1a2e;
  font-size: 0.95rem;
}

.map-placeholder-cta {
  font-size: 0.85rem;
  color: #4a90d9;
}

/* Contact — mobile */
@media (max-width: 767px) {
  #contatti {
    padding: 48px 0;
  }
}

/* --- Footer --- */
#footer {
  background: #1a1a2e;
  padding: 32px 0;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer-socials {
  gap: 16px;
}

.footer-socials a {
  color: #ffffff;
  font-size: 1.25rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-socials a:hover {
  color: #4a90d9;
}
