/* ============================================
   Dr. Bandoni Family & Cosmetic Dentistry
   ============================================ */

:root {
  --cream: #F8F4EC;
  --cream-alt: #F1EADC;
  --ink: #22302D;
  --ink-soft: #4A5A56;
  --teal-900: #163C39;
  --teal-800: #1A4642;
  --teal-600: #1F6F68;
  --rust: #BF5236;
  --rust-dark: #A8432A;
  --gold-line: #C9A227;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Work Sans', sans-serif;
  color: var(--ink);
  background-color: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-text {
  font-family: 'Fraunces', serif;
}

a { text-decoration: none; }

.eyebrow {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--rust);
  margin-bottom: 0.5rem;
}

.eyebrow-light { color: #E8B79B; }

.section-title {
  font-weight: 600;
  font-size: 2.2rem;
  color: var(--teal-900);
  margin-bottom: 1rem;
}

.section-title-light { color: #FFFFFF; }

.section-subtitle {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 640px;
}

.section-subtitle-light { color: #CFE0DC; }

.lead-text {
  font-size: 1.1rem;
  color: var(--ink);
  font-weight: 500;
}

.lead-text-light {
  font-size: 1.1rem;
  color: #F1EADC;
  font-weight: 500;
}

.body-light { color: #CFE0DC; }

.shadow-soft { box-shadow: 0 20px 45px rgba(22, 60, 57, 0.18); }

/* ---------- Buttons ---------- */
.btn-cta {
  background-color: var(--rust);
  color: #fff;
  border: none;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn-cta:hover { background-color: var(--rust-dark); color: #fff; transform: translateY(-2px); }

.btn-outline-hero {
  border: 2px solid #fff;
  color: #fff;
  padding: 0.65rem 1.6rem;
  border-radius: 50px;
  font-weight: 600;
  background: rgba(255,255,255,0.05);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-outline-hero:hover { background-color: #fff; color: var(--teal-900); }

/* ---------- Navbar ---------- */
#mainNav {
  background-color: rgba(248, 244, 236, 0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 18px rgba(22, 60, 57, 0.08);
  padding: 0.6rem 0;
  transition: padding 0.2s ease;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-text {
  color: var(--teal-900);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.15;
}

#mainNav .nav-link {
  color: var(--ink);
  font-weight: 500;
  padding: 0.5rem 0.85rem;
}
#mainNav .nav-link:hover { color: var(--rust); }

#mainNav .btn-cta { padding: 0.5rem 1.2rem; font-size: 0.92rem; white-space: nowrap; }
#mainNav .nav-item.ms-lg-3 { flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  background: url('img/hero.webp') center/cover no-repeat;
  position: relative;
  padding-top: 90px;
}

.hero::before {
  content: "";
  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 {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 24px;
}

.hero-eyebrow {
  color: #F1EADC;
  letter-spacing: 0.2em;
  font-weight: 600;
  font-size: 0.85rem;
  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 {
  color: #fff;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0.6rem 0;
  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 {
  color: #fff;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 600;
  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 {
  color: #F1EADC;
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0.8rem auto 1.8rem;
  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);
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Welcome / About ---------- */
.section-welcome { padding: 6rem 0; background-color: var(--cream); }

.highlight-row i {
  font-size: 1.6rem;
  color: var(--rust);
  margin-bottom: 0.5rem;
  display: block;
}
.highlight-row p {
  font-weight: 600;
  color: var(--teal-900);
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- Meet the Doctor ---------- */
.section-doctor {
  padding: 6rem 0;
  background-color: var(--teal-900);
}

/* ---------- Services ---------- */
.section-services { padding: 6rem 0; background-color: var(--cream-alt); }

.section-subtitle.mx-auto { text-align: center; }

.service-card {
  background: #fff;
  border-radius: 18px;
  padding: 2.2rem 1.6rem;
  height: 100%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(22, 60, 57, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(22, 60, 57, 0.12);
}
.service-card i {
  font-size: 2.1rem;
  color: var(--rust);
  margin-bottom: 1rem;
  display: inline-block;
}
.service-card h3 {
  font-size: 1.15rem;
  color: var(--teal-900);
  margin-bottom: 0.6rem;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Technology ---------- */
.section-technology { padding: 6rem 0; background-color: var(--teal-800); }

.tech-card {
  padding: 1.8rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  height: 100%;
}
.tech-card i {
  font-size: 1.9rem;
  color: #E8B79B;
  margin-bottom: 0.8rem;
  display: inline-block;
}
.tech-card p {
  color: #fff;
  font-weight: 600;
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- Gallery ---------- */
.section-gallery { padding: 6rem 0; background-color: var(--cream); }

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gallery-caption {
  text-align: center;
  margin-top: 0.8rem;
  font-weight: 600;
  color: var(--teal-900);
}

/* ---------- New Patients ---------- */
.section-new-patients { padding: 6rem 0; background-color: var(--cream-alt); }

.resource-list { list-style: none; padding: 0; margin: 0; }
.resource-list li {
  display: flex;
  gap: 1.1rem;
  margin-bottom: 1.8rem;
}
.resource-list i {
  font-size: 1.4rem;
  color: var(--rust);
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.resource-list strong {
  display: block;
  color: var(--teal-900);
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}
.resource-list span { color: var(--ink-soft); font-size: 0.95rem; }

.insurance-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(22, 60, 57, 0.08);
  height: 100%;
}
.insurance-title { color: var(--teal-900); font-size: 1.4rem; margin-bottom: 1.5rem; }
.insurance-grid img { max-height: 60px; width: auto; }
.insurance-note { color: var(--ink-soft); font-size: 0.9rem; margin-top: 1.5rem; margin-bottom: 0; }

/* ---------- Testimonials ---------- */
.section-testimonials { padding: 6rem 0; background-color: var(--teal-900); }

.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 2rem;
  height: 100%;
}
.testimonial-card i {
  font-size: 1.6rem;
  color: var(--gold-line);
  margin-bottom: 0.8rem;
  display: inline-block;
}
.testimonial-card p {
  color: #F1EADC;
  font-size: 1.02rem;
  font-style: italic;
  margin-bottom: 1rem;
}
.testimonial-card span {
  color: #E8B79B;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- Contact ---------- */
.section-contact { padding: 6rem 0; background-color: var(--cream); }

.contact-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(22, 60, 57, 0.08);
  height: 100%;
}
.contact-card h3 {
  font-size: 1.05rem;
  color: var(--teal-900);
  margin: 1.4rem 0 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.contact-card h3:first-child { margin-top: 0; }
.contact-card h3 i { color: var(--rust); }
.contact-card p { color: var(--ink-soft); margin: 0; }
.contact-card p a { color: var(--ink-soft); }

.hours-table { width: 100%; margin-top: 0.4rem; }
.hours-table td {
  padding: 0.35rem 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--cream-alt);
}
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--teal-900); }

.map-wrapper {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(22, 60, 57, 0.08);
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--teal-900);
  color: #CFE0DC;
  padding: 4.5rem 0 2rem;
}
.site-footer h4 {
  color: #fff;
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer-brand-text {
  color: #fff;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}
.footer-tagline { color: #CFE0DC; margin-bottom: 1.2rem; }
.footer-social { display: flex; gap: 0.8rem; }
.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background-color 0.2s ease;
}
.footer-social a:hover { background-color: var(--rust); border-color: var(--rust); }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a { color: #CFE0DC; }
.footer-links a:hover { color: #fff; }

.footer-address a { color: #CFE0DC; }
.footer-address a:hover { color: #fff; }

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

.copyright, .powered-by { font-size: 0.88rem; color: #A9BFBB; margin: 0; }
.powered-by a { color: #E8B79B; font-weight: 600; }
.powered-by a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  #mainNav .navbar-collapse {
    background: var(--cream);
    padding: 1rem 1rem 1.5rem;
    border-radius: 12px;
    margin-top: 0.6rem;
    box-shadow: 0 10px 30px rgba(22,60,57,0.12);
  }
  #mainNav .btn-cta { margin-top: 0.8rem; display: inline-block; }
  .brand-text { font-size: 1rem; }
}

@media (max-width: 575.98px) {
  .hero-content { padding: 2rem 1.2rem; }
  .section-welcome, .section-doctor, .section-services, .section-technology,
  .section-gallery, .section-new-patients, .section-testimonials, .section-contact {
    padding: 4rem 0;
  }
  .brand-text { font-size: 0.9rem; }
}
