/* ============================================
   Pembroke Dental Associates — Custom Styles
   ============================================ */

:root {
  --rust: #B5502F;
  --rust-dark: #8F3A22;
  --cream: #FBF3E8;
  --cream-2: #F3E6D3;
  --ink: #2B2118;
  --ink-soft: #5A4C3F;
  --sage: #7C8B6F;
  --gold: #C9A15A;

  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-head {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
}

a { color: var(--rust); text-decoration: none; }
a:hover { color: var(--rust-dark); }

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

.text-accent-light { color: var(--gold); }
.text-accent { color: var(--rust); }

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  line-height: 1.15;
}

.section-pad { padding: 6rem 0; }
@media (max-width: 767px) { .section-pad { padding: 4rem 0; } }

.bg-cream-2 { background-color: var(--cream-2); }
.bg-ink { background-color: var(--ink); }
.text-cream { color: var(--cream); }
.text-muted-cream { color: rgba(251, 243, 232, 0.65); }

.lead-copy {
  font-size: 1.2rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.body-copy {
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ============ NAVBAR ============ */
.wfw-navbar {
  background: rgba(43, 33, 24, 0.0);
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 1.1rem 0;
}
.wfw-navbar.scrolled {
  background: rgba(43, 33, 24, 0.94);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  padding: 0.6rem 0;
}
.navbar-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff !important;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.wfw-navbar .nav-link {
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.wfw-navbar .nav-link:hover { color: var(--gold); }
.wfw-btn-nav {
  background: var(--rust);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 50px;
  padding: 0.5rem 1.1rem !important;
  white-space: nowrap;
}
.wfw-btn-nav:hover { background: var(--rust-dark); }
.navbar-toggler {
  border: none;
  background: rgba(255,255,255,0.15);
}
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 1199.98px) {
  .wfw-navbar .navbar-collapse {
    background: rgba(43, 33, 24, 0.97);
    margin-top: 1rem;
    border-radius: 14px;
    padding: 1rem 1.2rem;
  }
  .wfw-btn-nav { display: inline-block; margin-top: 0.5rem; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center 30%/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(43,33,24,0.40) 0%, rgba(43,33,24,0.06) 100%),
    linear-gradient(to bottom, rgba(43,33,24,0.35) 0%, rgba(43,33,24,0.15) 45%, rgba(43,33,24,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 2.5rem 2rem;
  margin: 0 1rem;
  background: rgba(43,33,24,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 20px;
}
.hero-eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  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 {
  font-family: var(--font-head);
  color: #fff;
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.08;
  margin: 0.4rem 0 1rem;
  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: #fdf6ec;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.5;
  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);
}
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.6rem;
  z-index: 2;
  animation: bounce 2s infinite;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ============ BUTTONS ============ */
.wfw-btn-primary {
  background: var(--rust);
  border: 2px solid var(--rust);
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.2s ease;
}
.wfw-btn-primary:hover { background: var(--rust-dark); border-color: var(--rust-dark); color: #fff; }
.wfw-btn-outline-light {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.2s ease;
}
.wfw-btn-outline-light:hover { background: #fff; color: var(--ink); }

/* ============ ABOUT ============ */
.stat-chip {
  background: var(--cream-2);
  border-radius: 14px;
  padding: 1rem 1.4rem;
  text-align: center;
  min-width: 140px;
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--rust);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.3rem;
}
.about-photo-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(43,33,24,0.18);
  border: 8px solid #fff;
}
.about-photo { display: block; width: 100%; height: auto; }

/* ============ GALLERY ============ */
.gallery-tile {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 10px 25px rgba(43,33,24,0.12);
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-tile:hover img { transform: scale(1.06); }
.gallery-quote {
  background: var(--rust);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.2rem;
}
.gallery-quote i { font-size: 1.6rem; margin-bottom: 0.6rem; color: var(--gold); }
.gallery-quote p {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 0;
}

/* ============ SERVICES ============ */
.services-section { position: relative; }
.services-banner {
  height: 260px;
  background: url('img/services-banner.webp') center/cover no-repeat;
  margin-bottom: 4rem;
  position: relative;
}
.services-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(43,33,24,0.15), var(--cream) 95%);
}
@media (max-width: 767px) { .services-banner { height: 160px; margin-bottom: 3rem; } }

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.2rem 1.8rem;
  height: 100%;
  box-shadow: 0 8px 24px rgba(43,33,24,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-top: 4px solid var(--rust);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(43,33,24,0.14);
}
.service-card i {
  font-size: 2.1rem;
  color: var(--rust);
  margin-bottom: 1rem;
  display: inline-block;
}
.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ============ TEAM ============ */
.staff-card {
  text-align: center;
  background: #fff;
  border-radius: 18px;
  padding: 2rem 1.5rem 2.2rem;
  box-shadow: 0 8px 24px rgba(43,33,24,0.08);
}
.staff-card img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.2rem;
  border: 5px solid var(--cream-2);
}
.staff-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
}
.staff-role {
  color: var(--rust);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.82rem;
  margin: 0;
}

/* ============ TESTIMONIALS ============ */
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.8rem;
  height: 100%;
  box-shadow: 0 8px 22px rgba(43,33,24,0.08);
}
.testimonial-card i.bi-quote {
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.6rem;
}
.testimonial-card p:not(.testimonial-name) {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
  font-style: italic;
}
.testimonial-name {
  font-weight: 700;
  color: var(--ink);
  margin: 1rem 0 0;
  font-size: 0.92rem;
}
.testimonial-name span {
  font-weight: 400;
  color: var(--ink-soft);
}

/* ============ CONTACT ============ */
.contact-info-card h3 {
  font-size: 1.2rem;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.contact-info-card p {
  color: rgba(251,243,232,0.88);
  line-height: 1.6;
  margin-bottom: 0;
}
.contact-info-card a { color: #fff; font-weight: 600; }
.contact-info-card a:hover { color: var(--gold); }

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(251,243,232,0.15);
  font-size: 0.95rem;
  color: rgba(251,243,232,0.9);
}
.hours-list li span:first-child { font-weight: 600; color: #fff; }

.map-wrap {
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  min-height: 380px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
}

/* ============ FOOTER ============ */
.wfw-footer {
  background: #201811;
  color: var(--cream);
  padding: 4rem 0 1.5rem;
}
.footer-brand {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.8rem;
}
.wfw-footer h5 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a {
  color: rgba(251,243,232,0.75);
  font-size: 0.94rem;
}
.footer-links a:hover { color: var(--gold); }
.wfw-footer a { color: rgba(251,243,232,0.85); }
.wfw-footer a:hover { color: var(--gold); }
.footer-rule {
  border-color: rgba(251,243,232,0.15);
  margin: 2.5rem 0 1.2rem;
}
.powered-by a {
  color: var(--gold);
  font-weight: 700;
}
