/* ============================================================
   Molly L. Barrett, DDS — Custom Stylesheet
   Fonts: Playfair Display (headings) + Montserrat (body)
   Palette: Navy #1B2A4A | Gold #C9A96E | Cream #FAFAF8
   ============================================================ */

/* ----- Root Variables ----- */
:root {
  --navy:      #1B2A4A;
  --navy-dark: #101c34;
  --gold:      #C9A96E;
  --gold-dark: #b08a4f;
  --cream:     #FAFAF8;
  --light-blue: #F0F4F8;
  --text:      #2C2C2C;
  --text-muted: #6b7280;
  --radius:    8px;
  --shadow:    0 4px 24px rgba(27,42,74,0.10);
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--cream);
  line-height: 1.75;
  font-size: 0.97rem;
}

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

/* ----- Utility ----- */
.text-gold  { color: var(--gold) !important; }
.text-navy  { color: var(--navy) !important; }
.bg-light-blue { background-color: var(--light-blue) !important; }

/* ----- Buttons ----- */
.btn-gold {
  background: var(--gold);
  color: #fff;
  border: 2px solid var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  border: 2px solid var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition);
}
.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: #fff;
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: #fff;
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  padding: 0.45rem 1.1rem;
  transition: all var(--transition);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: #fff;
}

/* ----- Navbar ----- */
#mainNav {
  background: rgba(27, 42, 74, 0.97);
  backdrop-filter: blur(8px);
  padding: 1.1rem 0;
  transition: padding var(--transition), box-shadow var(--transition);
}
#mainNav.nav-scrolled {
  padding: 0.55rem 0;
  box-shadow: 0 2px 16px rgba(27,42,74,0.25);
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
}
.brand-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 500;
}

.navbar-nav .nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.87rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82) !important;
  padding: 0.4rem 0.9rem;
  transition: color var(--transition);
}
.navbar-nav .nav-link:hover {
  color: var(--gold) !important;
}

/* ----- Hero ----- */
.hero-section {
  min-height: 100vh;
  background:
    url('img/hero-dental.jpg') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.hero-section::before,
.hero-section::after {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(16, 28, 52, 0.62) 0%,
    rgba(16, 28, 52, 0.72) 60%,
    rgba(16, 28, 52, 0.80) 100%
  );
}

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

/* ----- Section Shared ----- */
.section-padded {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0;
}

.section-sub {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0.9rem auto 0;
}

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

/* ----- About Photo ----- */
.about-photo-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(27,42,74,0.18);
}
.about-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-badge {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  background: rgba(27,42,74,0.88);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  border-left: 3px solid var(--gold);
}
.about-badge i { color: var(--gold); font-size: 1rem; }

/* ----- About Grid Cards ----- */
.about-graphic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.about-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
}

.about-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.about-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.about-icon {
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.7rem;
}

/* ----- Service Cards ----- */
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(27,42,74,0.14);
}

.service-card--accent {
  background: var(--navy);
  color: #fff;
}
.service-card--accent h5 { color: #fff; }
.service-card--accent p  { color: rgba(255,255,255,0.8); }
.service-card--accent .service-icon-wrap { background: rgba(201,169,110,0.2); color: var(--gold); }

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(201,169,110,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.service-card h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ----- Team Cards ----- */
.team-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  height: 100%;
  transition: transform var(--transition);
}
.team-card:hover { transform: translateY(-3px); }

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  margin: 0 auto 1.1rem;
}
.team-avatar.navy  { background: var(--navy); }
.team-avatar.gold  { background: var(--gold); }
.team-avatar.teal  { background: #2a8a7a; }
.team-avatar.slate { background: #4a6572; }

.team-card h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.team-role {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.team-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ----- Info Cards ----- */
.info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  height: 100%;
}
.info-card h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #e5e8ec;
}
.info-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* FAQ list */
.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.faq-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.7rem 0;
  border-bottom: 1px solid #eef1f4;
  line-height: 1.65;
}
.faq-list li:last-child { border-bottom: none; }
.faq-list strong { color: var(--text); display: block; margin-bottom: 0.2rem; }

/* Hours table */
.hours-table td {
  padding: 0.45rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid #eef1f4;
  color: var(--text-muted);
}
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:first-child { font-weight: 600; color: var(--text); }

/* ----- Contact Section ----- */
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-item i {
  font-size: 1.3rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.contact-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}
.contact-item a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
}
.contact-item a:hover { color: var(--gold); }

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ----- Footer ----- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.3rem;
}

.footer-address {
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.2rem;
  justify-content: center;
}
.footer-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--gold); }

.powered-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.3rem;
}

.wicked-link {
  text-decoration: none;
  display: inline-block;
}
.wicked-fast {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.wicked-web {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}
.wicked-link:hover .wicked-fast { color: #e0c08a; }
.wicked-link:hover .wicked-web  { color: #e0e0e0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom p { margin: 0; }

/* ----- Responsive Tweaks ----- */
@media (max-width: 767px) {
  .section-padded { padding: 64px 0; }

  .about-graphic {
    grid-template-columns: 1fr;
  }

  .hero-title { font-size: 2.4rem; }

  .footer-nav { justify-content: center; }
}

@media (max-width: 575px) {
  .hero-section { min-height: 100svh; }
  .hero-title   { font-size: 2rem; }
}
