/* ==========================================================================
   Artistic Dentistry of Hanover — design tokens
   ========================================================================== */
:root {
  --plum: #86215e;
  --plum-dark: #5c1642;
  --plum-deep: #3b0f2c;
  --gold: #c79a5b;
  --gold-light: #e3c48c;
  --cream: #fbf4ef;
  --cream-alt: #f5e9e2;
  --ink: #2c1621;
  --ink-soft: #5c4552;
  --white: #ffffff;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Mulish', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--white);
  padding-top: 84px;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
}

a { text-decoration: none; }

.section-py { padding: 5.5rem 0; }
@media (max-width: 767.98px) {
  .section-py { padding: 3.5rem 0; }
}

.bg-cream { background-color: var(--cream); }
.bg-plum-soft { background-color: var(--cream-alt); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-title {
  font-weight: 700;
  color: var(--plum-deep);
  margin-bottom: 1.25rem;
  font-size: 2.2rem;
}

.lead-line {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--plum);
  margin-bottom: 1rem;
}

.community-sub {
  max-width: 640px;
  color: var(--ink-soft);
}

.accent-icon { color: var(--gold); margin-right: 0.4rem; }

.shadow-soft { box-shadow: 0 20px 45px -20px rgba(59, 15, 44, 0.35); }

/* ==========================================================================
   Navbar
   ========================================================================== */
.site-navbar {
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 18px rgba(59, 15, 44, 0.08);
  padding: 0.6rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--plum-deep) !important;
  line-height: 1.1;
}

.navbar-brand em {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.navbar-brand img { object-fit: contain; }

.nav-link {
  font-weight: 600;
  color: var(--ink) !important;
  padding: 0.5rem 0.85rem !important;
}

.nav-link:hover { color: var(--plum) !important; }

.btn-call {
  background-color: var(--plum);
  color: var(--white) !important;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  white-space: nowrap;
}
.btn-call:hover { background-color: var(--plum-dark); color: var(--white); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: url('img/hero.webp') center/cover no-repeat;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.04) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.45) 100%);
}

.hero-content {
  max-width: 780px;
  padding: 2.5rem 2rem;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 1.5rem;
}

.hero-eyebrow {
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--gold-light);
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  font-weight: 700;
  font-size: 3.4rem;
  line-height: 1.12;
  margin: 0.75rem 0 1.25rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  max-width: 620px;
  margin: 0 auto;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}

.hero-tagline { text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9); }

@media (max-width: 575.98px) {
  .hero-title { font-size: 2.3rem; }
  .hero-subtitle { font-size: 1.05rem; }
}

.btn-hero-primary {
  background-color: var(--gold);
  border: none;
  color: var(--plum-deep);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
}
.btn-hero-primary:hover { background-color: var(--gold-light); color: var(--plum-deep); }

.btn-hero-secondary {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.8rem 1.75rem;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.15); color: var(--white); }

.btn-outline-plum {
  border: 2px solid var(--plum);
  color: var(--plum);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  background: transparent;
}
.btn-outline-plum:hover { background-color: var(--plum); color: var(--white); }

/* ==========================================================================
   Community cards
   ========================================================================== */
.community-title { font-weight: 700; color: var(--plum-deep); }

.community-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 1.75rem 1.25rem;
  box-shadow: 0 12px 30px -18px rgba(59, 15, 44, 0.3);
}
.community-card i { font-size: 1.9rem; color: var(--gold); margin-bottom: 0.75rem; }
.community-card h4 { font-size: 1rem; font-weight: 700; color: var(--plum-deep); margin-bottom: 0.4rem; }
.community-card p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 0; }

/* ==========================================================================
   Doctors
   ========================================================================== */
.doctor-card {
  background: var(--white);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 16px 36px -22px rgba(59, 15, 44, 0.35);
  transition: transform 0.25s ease;
}
.doctor-card:hover { transform: translateY(-6px); }
.doctor-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.doctor-info { padding: 1.25rem 1.35rem 1.5rem; }
.doctor-info h3 { font-size: 1.2rem; font-weight: 700; color: var(--plum-deep); margin-bottom: 0.15rem; }
.doctor-title { color: var(--gold); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.6rem; }
.doctor-info p:not(.doctor-title) { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 0; }

.retirement-note {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
  color: var(--ink-soft);
  border-top: 1px solid var(--cream-alt);
  padding-top: 2rem;
}

/* ==========================================================================
   Team
   ========================================================================== */
.team-member-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 12px 30px -20px rgba(59, 15, 44, 0.3);
}
.team-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--plum);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}
.team-member-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--plum-deep); margin-bottom: 0.1rem; }
.team-member-card p:not(.doctor-title) { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0; }

/* ==========================================================================
   Services
   ========================================================================== */
.service-tile {
  background: var(--white);
  border-radius: 1rem;
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: 0 12px 28px -20px rgba(59, 15, 44, 0.3);
  border: 1px solid rgba(199, 154, 91, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -18px rgba(59, 15, 44, 0.4); }
.service-tile i { font-size: 1.9rem; color: var(--plum); margin-bottom: 0.75rem; display: inline-block; }
.service-tile h4 { font-size: 1rem; font-weight: 700; color: var(--plum-deep); margin-bottom: 0.5rem; }
.service-tile p { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 0; }

/* ==========================================================================
   New Patients / Info cards
   ========================================================================== */
.info-card {
  background: var(--white);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 12px 30px -20px rgba(59, 15, 44, 0.3);
}
.info-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--plum-deep); margin-bottom: 0.85rem; }
.info-card p { color: var(--ink-soft); }

.plan-card {
  background: linear-gradient(135deg, var(--plum-deep), var(--plum));
  border-radius: 1.25rem;
  overflow: hidden;
  color: var(--white);
}
.plan-card-header {
  padding: 1.75rem 2rem 0.5rem;
}
.plan-card-header h3 { font-weight: 700; margin-bottom: 0.2rem; }
.plan-card-header p { color: var(--gold-light); }
.plan-card-body { padding: 1.5rem 2rem 2rem; }
.plan-price-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.plan-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.15rem;
}
.plan-price span { font-size: 1rem; font-family: var(--font-body); color: rgba(255,255,255,0.75); }
.plan-price-alt { font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.plan-benefits { list-style: none; padding: 0; margin: 0; }
.plan-benefits li { padding: 0.35rem 0; font-size: 0.95rem; }
.plan-benefits i { margin-right: 0.6rem; }
.plan-benefits i.bi-check-circle-fill { color: var(--gold-light); }
.plan-benefits i.bi-x-circle { color: rgba(255,255,255,0.55); }

.accordion-item { border: none; margin-bottom: 0.75rem; border-radius: 0.85rem !important; overflow: hidden; }
.accordion-button {
  font-weight: 700;
  color: var(--plum-deep);
  background-color: var(--white);
}
.accordion-button:not(.collapsed) {
  color: var(--plum);
  background-color: var(--white);
  box-shadow: none;
}
.accordion-button:focus { box-shadow: none; border-color: rgba(134, 33, 94, 0.2); }
.accordion-body { color: var(--ink-soft); background-color: var(--white); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-section {
  background: var(--plum-deep);
  color: var(--white);
}
.testimonial-section .eyebrow { color: var(--gold-light); }
.testimonial-section .section-title { color: var(--white); }

.quote-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
}
.quote-icon { font-size: 2.5rem; color: var(--gold); margin-bottom: 1rem; }
.quote-text { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; line-height: 1.6; }
.quote-author { color: var(--gold-light); font-weight: 700; margin-top: 1rem; margin-bottom: 0; }
.testimonial-section p.text-center { color: rgba(255,255,255,0.8); }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-item {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 28px -20px rgba(59, 15, 44, 0.35);
  aspect-ratio: 4 / 3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* ==========================================================================
   Location
   ========================================================================== */
.contact-block p { margin-bottom: 0.75rem; font-size: 1.02rem; }
.contact-block a { color: var(--ink); font-weight: 600; }
.contact-block a:hover { color: var(--plum); }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.hours-table td { padding: 0.45rem 0; border-bottom: 1px solid var(--cream-alt); font-size: 0.95rem; }
.hours-table td:first-child { font-weight: 700; color: var(--plum-deep); }
.hours-table td:last-child { text-align: right; color: var(--ink-soft); }

.map-wrapper { width: 100%; height: 100%; min-height: 420px; overflow: hidden; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--plum-deep);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 1.75rem;
}
.site-footer h5 { color: var(--white); font-weight: 700; margin-bottom: 1rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; }
.site-footer a { color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: var(--gold-light); }

.footer-logo-chip {
  display: inline-flex;
  background: var(--cream);
  border-radius: 1rem;
  padding: 0.85rem 1.25rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; }

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  font-size: 1.1rem;
}
.social-icon:hover { background: var(--gold); color: var(--plum-deep); }

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

.powered-by {
  font-weight: 700;
  color: var(--gold-light);
}
.powered-by i { margin-left: 0.25rem; }
