/* ============================================================
   HEALTHY SMILE DENTAL — style.css
   Palette: Deep Teal #1E5F74 | Gold #C9963E | Off-White #F7F5F0
   Fonts: Syne (headings) | DM Sans (body)
   ============================================================ */

:root {
  --teal:        #1E5F74;
  --teal-dark:   #12404F;
  --teal-light:  #2D7A8F;
  --gold:        #C9963E;
  --gold-hover:  #B07E2C;
  --sage:        #EEF3F1;
  --white:       #FFFFFF;
  --off-white:   #F7F5F0;
  --text:        #1A2433;
  --text-muted:  #546070;
  --border:      #DDE4E8;
}

/* ── BASE ── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif;
}

address { font-style: normal; }

/* ── NAVBAR ── */
#mainNav {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  transition: box-shadow 0.3s;
  z-index: 1030;
}

#mainNav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.brand-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--teal);
  letter-spacing: -0.01em;
}

.logo-img {
  filter: none;
}

#mainNav .nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.4rem 0.6rem;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

#mainNav .nav-link:hover {
  color: var(--teal);
}

.btn-cta-nav {
  background: var(--teal);
  color: white;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
  border: 2px solid var(--teal);
  transition: background 0.2s, color 0.2s;
}

.btn-cta-nav:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: white;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background: url('img/2a0e4.webp') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(18, 64, 79, 0.72) 0%,
    rgba(30, 95, 116, 0.55) 50%,
    rgba(18, 64, 79, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 2rem 1rem;
}

.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1rem;
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.88);
  max-width: 600px;
  margin: 0 auto 0.5rem;
  line-height: 1.6;
}

.btn-hero-primary {
  background: var(--gold);
  color: white;
  border: 2px solid var(--gold);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  letter-spacing: 0.03em;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-hero-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: white;
  transform: translateY(-2px);
}

.btn-hero-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.65);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: background 0.2s, border-color 0.2s;
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
  color: white;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--teal);
  padding: 1.5rem 0;
}

.trust-item {
  padding: 0.75rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.trust-item:last-child {
  border-right: none;
}

.trust-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.trust-star {
  font-size: 1.1rem;
  color: var(--gold);
}

.trust-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 0.3rem;
}

/* ── SECTION HELPERS ── */
.section-pad {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section-pad { padding: 3.5rem 0; }
}

.bg-sage { background: var(--sage); }

.bg-dark-teal {
  background: var(--teal-dark);
}

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.section-title.light { color: white; }

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

.section-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.section-body.light { color: rgba(255,255,255,0.82); }

/* ── BUTTONS ── */
.btn-primary-teal {
  background: var(--teal);
  color: white;
  border: 2px solid var(--teal);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.6rem;
  border-radius: 7px;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary-teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: white;
  transform: translateY(-1px);
}

.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.6rem;
  border-radius: 7px;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s;
}

.btn-outline-teal:hover {
  background: var(--teal);
  color: white;
}

.btn-gold {
  background: var(--gold);
  color: white;
  border: 2px solid var(--gold);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.6rem;
  border-radius: 7px;
  transition: background 0.2s, transform 0.15s;
}

.btn-gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: white;
  transform: translateY(-1px);
}

/* ── ABOUT ── */
.about-img-wrap {
  position: relative;
  padding-bottom: 3rem;
  padding-right: 3rem;
}

.about-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.about-img-float {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  border-radius: 12px;
  border: 4px solid white;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ── TREATMENT CARDS ── */
.treatment-card {
  background: white;
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.treatment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.treatment-card-gold {
  background: linear-gradient(135deg, #fdf8ef 0%, #faf3e0 100%);
  border-color: rgba(201,150,62,0.25);
}

.treatment-icon {
  font-size: 1.75rem;
  color: var(--teal);
  margin-bottom: 1rem;
  display: block;
}

.treatment-icon.gold {
  color: var(--gold);
}

.treatment-card h5 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.treatment-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── COSMETIC IMG GRID ── */
.cosmetic-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.cosmetic-img-wide {
  grid-column: 1 / -1;
}

.cosmetic-img-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.cosmetic-img-wide {
  height: 180px !important;
}

/* ── DOCTOR CARDS ── */
.doctor-card {
  background: white;
  border-radius: 16px;
  padding: 2rem 1.25rem 1.5rem;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.doctor-photo-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--teal);
  box-shadow: 0 4px 16px rgba(30,95,116,0.2);
}

.doctor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-name {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.doctor-cred {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.doctor-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── TECHNOLOGY ── */
.section-eyebrow.light {
  color: var(--gold);
}

.tech-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 1.5rem;
  transition: background 0.2s;
}

.tech-card:hover {
  background: rgba(255,255,255,0.12);
}

.tech-icon {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.tech-card h6 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: white;
  margin-bottom: 0.5rem;
}

.tech-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 0;
}

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 240px;
  gap: 0.75rem;
}

.gallery-cell {
  overflow: hidden;
  border-radius: 12px;
  height: 240px;
}

.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-cell:hover img {
  transform: scale(1.05);
}

.gallery-cell-wide {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .gallery-cell-wide { grid-column: span 2; }
  .gallery-cell { height: 180px; }
}

/* ── REVIEWS ── */
.review-card {
  background: white;
  border-radius: 14px;
  padding: 1.75rem;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

.review-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1rem;
}

.review-author {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--teal);
}

.review-card-cta {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-color: transparent;
}

.review-cta-num {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.review-cta-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.05em;
}

.review-card-cta .btn-outline-teal {
  color: white;
  border-color: rgba(255,255,255,0.5);
}

.review-card-cta .btn-outline-teal:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  color: white;
}

/* ── CONTACT ── */
.contact-info-block {
  padding: 2rem;
  background: var(--sage);
  border-radius: 16px;
  height: 100%;
}

.contact-heading {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--teal);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
}

.contact-link:hover {
  color: var(--teal);
}

.hours-table {
  width: 100%;
  font-size: 0.88rem;
  border-collapse: collapse;
}

.hours-table td {
  padding: 0.3rem 0;
  color: var(--text-muted);
}

.hours-table td:first-child {
  font-weight: 500;
  color: var(--text);
  padding-right: 1rem;
  width: 45%;
}

.hours-table td.closed {
  color: #9CA3AF;
}

.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  height: 100%;
  min-height: 400px;
}

.map-wrap iframe {
  display: block;
  height: 100%;
  min-height: 400px;
}

/* ── FOOTER ── */
#footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}

.footer-logo {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  border: 1px solid rgba(255,255,255,0.12);
}

.social-links a:hover {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
}

.footer-heading {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-address {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

.footer-address a {
  color: var(--gold);
  text-decoration: none;
}

.footer-address a:hover {
  color: white;
}

.footer-hours-brief {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin: 0;
}

.footer-divider {
  border-color: rgba(255,255,255,0.1);
  margin: 2.5rem 0 1.5rem;
}

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

.footer-powered {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

.footer-powered a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

.footer-powered a:hover {
  color: white;
}

/* ── NAVBAR SCROLL JS hook ── */
@media (max-width: 991px) {
  .brand-name { font-size: 0.95rem; }
  .about-img-float { display: none; }
  .about-img-wrap { padding: 0; }
}

@media (max-width: 576px) {
  .cosmetic-img-grid {
    grid-template-columns: 1fr;
  }
  .cosmetic-img-wide {
    grid-column: auto;
  }
  .cosmetic-img-grid img,
  .cosmetic-img-wide {
    height: 180px !important;
  }
}
