/* ===========================================
   South Shore Dentistry — style.css
   Color palette: Deep Forest Teal + Warm Gold
   Fonts: Cormorant Garamond + Nunito
=========================================== */

:root {
  --teal-dark:    #1D4E4A;
  --teal-mid:     #2C6E68;
  --teal-light:   #3D8C84;
  --gold-dark:    #9A6E3A;
  --gold-mid:     #B8956A;
  --gold-light:   #D4AF7A;
  --mint-light:   #EEF5F4;
  --white:        #FFFFFF;
  --off-white:    #F8FAFA;
  --charcoal:     #1A1A1A;
  --gray-muted:   #6B7280;
  --border-light: rgba(29, 78, 74, 0.12);
}

/* BASE */
html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.2;
}

img { max-width: 100%; }

/* SECTION HELPERS */
.section-pad { padding: 80px 0; }

.bg-light-mint { background: var(--mint-light); }

.section-eyebrow {
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--teal-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* BUTTONS */
.btn-primary-gold {
  background: var(--gold-mid);
  color: var(--white);
  border: 2px solid var(--gold-mid);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
}
.btn-primary-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 149, 106, 0.4);
}

.btn-primary-teal {
  background: var(--teal-dark);
  color: var(--white);
  border: 2px solid var(--teal-dark);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
}
.btn-primary-teal:hover {
  background: var(--teal-mid);
  border-color: var(--teal-mid);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-teal {
  background: transparent;
  color: var(--teal-dark);
  border: 2px solid var(--teal-dark);
  font-weight: 600;
  transition: all 0.25s ease;
}
.btn-outline-teal:hover {
  background: var(--teal-dark);
  color: var(--white);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-light);
  border: 1.5px solid var(--gold-light);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.25s ease;
}
.btn-outline-gold:hover {
  background: var(--gold-mid);
  border-color: var(--gold-mid);
  color: var(--white);
}

/* ==================== NAVBAR ==================== */
#mainNav {
  background: var(--teal-dark);
  padding: 14px 0;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
}
#mainNav.nav-scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.brand-icon {
  width: 36px; height: 36px;
  background: var(--gold-mid);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}
.brand-icon--sm { width: 28px; height: 28px; font-size: 0.8rem; border-radius: 6px; }

.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.02em;
}

#mainNav .nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  transition: color 0.2s;
}
#mainNav .nav-link:hover { color: var(--gold-light); }

/* ==================== HERO ==================== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: url('img/spot00dec.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(29, 78, 74, 0.62) 0%,
    rgba(29, 78, 74, 0.30) 60%,
    rgba(0,0,0,0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: 20px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.hero-headline {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 400;
  opacity: 0.92;
  max-width: 560px;
  margin: 0 auto;
}

/* ==================== STATS BAR ==================== */
.stats-bar {
  background: var(--teal-dark);
  padding: 40px 0;
}

.stat-item {
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ==================== SERVICES ==================== */
.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(29, 78, 74, 0.12);
}

.service-icon {
  width: 52px; height: 52px;
  background: var(--mint-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--teal-mid);
  margin-bottom: 16px;
}

.service-card h4 {
  font-size: 1.25rem;
  color: var(--teal-dark);
  margin-bottom: 8px;
}

.service-card p {
  color: var(--gray-muted);
  font-size: 0.92rem;
  margin: 0;
}

/* ==================== WHY US ==================== */
.why-img-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.why-img-wrap img {
  width: 100%;
  object-fit: cover;
  max-height: 480px;
}

.why-badge {
  position: absolute;
  bottom: 24px; right: 24px;
  background: var(--white);
  border-radius: 10px;
  padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-dark);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.why-badge i { color: var(--gold-mid); font-size: 1rem; }

.why-features { display: flex; flex-direction: column; gap: 20px; }

.why-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.why-feature-icon {
  width: 44px; height: 44px;
  background: var(--mint-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--teal-mid);
  flex-shrink: 0;
}

/* ==================== ZOOM CALLOUT ==================== */
.zoom-callout {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-mid) 60%, #2a8a7c 100%);
  padding: 80px 0;
}

.zoom-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.zoom-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.zoom-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  max-width: 480px;
}

.zoom-callout img {
  object-fit: cover;
  height: 340px;
  width: 100%;
}

/* ==================== GALLERY ==================== */
.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1;
  background: var(--teal-light);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item--text {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-dark);
}

.gallery-text-block {
  text-align: center;
  color: rgba(255,255,255,0.9);
  padding: 20px;
}
.gallery-text-block strong { color: var(--gold-light); font-size: 1rem; }
.gallery-text-block .small { color: rgba(255,255,255,0.75); line-height: 1.8; }

/* ==================== TEAM ==================== */
.doctor-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(29, 78, 74, 0.1);
}

.doctor-avatar {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--teal-light), var(--teal-mid));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: rgba(255,255,255,0.9);
  margin: 0 auto;
}

.doctor-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-mid);
  margin-bottom: 8px;
}

.doctor-bio { color: var(--gray-muted); }

/* Staff mini */
.staff-mini { margin-bottom: 8px; }

.staff-photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--mint-light);
  display: block;
  margin: 0 auto 8px;
}

.staff-photo-placeholder {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--mint-light);
  border: 3px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--teal-light);
  margin: 0 auto 8px;
}

.staff-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.staff-role {
  font-size: 0.72rem;
  color: var(--gray-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-section {
  background: var(--teal-dark);
}

.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 32px;
  height: 100%;
}

.stars i { color: var(--gold-light); font-size: 0.9rem; }

.testimonial-text {
  color: rgba(255,255,255,0.88);
  font-style: italic;
  font-size: 0.97rem;
  line-height: 1.75;
}

.testimonial-author {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==================== AFFILIATIONS ==================== */
.affiliations-bar {
  padding: 40px 0;
  background: var(--off-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.affil-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-muted);
  margin-bottom: 16px;
}

.affil-badge {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-dark);
}

/* ==================== CONTACT ==================== */
.contact-info-box {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 40px; height: 40px;
  background: var(--mint-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-mid);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-link {
  color: var(--teal-mid);
  text-decoration: none;
  font-weight: 600;
}
.contact-link:hover { color: var(--teal-dark); }

.hours-table { width: 100%; font-size: 0.88rem; border-collapse: collapse; }
.hours-table td { padding: 3px 12px 3px 0; color: var(--gray-muted); }
.hours-table td:first-child { font-weight: 600; color: var(--charcoal); }

.map-wrap { border: 1px solid var(--border-light); }

/* Form styling */
.form-control {
  border-color: var(--border-light);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-family: 'Nunito', sans-serif;
}
.form-control:focus {
  border-color: var(--teal-light);
  box-shadow: 0 0 0 3px rgba(61, 140, 132, 0.15);
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: #111E1D;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}

.footer-heading {
  font-family: 'Nunito', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.87rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-light); }

.footer-phone {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 600;
}
.footer-phone:hover { color: var(--gold-light); }

.social-links a {
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.2s;
}
.social-links a:hover { color: var(--gold-light); }

.footer-bottom { }

.wicked-fast-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: all 0.25s;
}
.wicked-fast-badge strong { color: var(--gold-light); }
.wicked-fast-badge i { color: var(--gold-light); }
.wicked-fast-badge:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991px) {
  .section-pad { padding: 60px 0; }
  .hero-headline { font-size: clamp(2.5rem, 7vw, 4rem); }
  .zoom-callout img { height: 260px; }
}

@media (max-width: 767px) {
  .section-pad { padding: 50px 0; }
  .stats-bar { padding: 30px 0; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .stat-item:last-child { border-bottom: none; }
  .stat-num { font-size: 2.4rem; }
  .why-img-wrap img { max-height: 320px; }
  .why-badge { bottom: 12px; right: 12px; font-size: 0.72rem; padding: 8px 12px; }
  .zoom-callout { padding: 50px 0; }
  .zoom-callout .col-lg-5 { display: none; }
  .doctor-card { padding: 24px 16px; }
  .testimonials-section { padding: 50px 0; }
  .testimonial-card { padding: 24px; }
  .affiliations-bar .affil-badge { font-size: 0.7rem; padding: 5px 12px; }
}

@media (max-width: 575px) {
  #hero { min-height: 520px; }
  .hero-headline { font-size: 2.8rem; }
  .hero-sub { font-size: 1rem; }
  .service-card { padding: 24px 20px; }
  .contact-info-box { gap: 18px; }
  .gallery-item { border-radius: 8px; }
}
