/* New Sherwood Medical Clinic — custom styles on top of Bootstrap 5 */

:root {
  --sc-green: #103B32;
  --sc-green-dark: #0B2A24;
  --sc-green-hover: #1C5548;
  --sc-gold: #C9A961;
  --sc-gold-deep: #B08D57;
  --sc-cream: #F7F4EE;
  --sc-cream-soft: #E9E2D4;
  --sc-ink: #14231F;
  --sc-muted: #5C6B66;
  --sc-faint: #7B8783;
}

body {
  font-family: 'Figtree', sans-serif;
  color: var(--sc-ink);
  background: var(--sc-cream);
}

.font-serif { font-family: 'Marcellus', serif; font-weight: 400; }

a { color: var(--sc-green); }
a:hover { color: var(--sc-gold-deep); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--sc-green);
  color: var(--sc-cream-soft);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.topbar a { color: var(--sc-gold); text-decoration: none; font-weight: 600; }
.topbar .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sc-gold); display: inline-block;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

/* ---------- Navbar ---------- */
.navbar-sc {
  background: rgba(247, 244, 238, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16, 59, 50, 0.08);
}
.navbar-sc .brand { font-family: 'Marcellus', serif; font-size: 26px; text-decoration: none; }
.navbar-sc .brand .b1 { color: var(--sc-green); }
.navbar-sc .brand .b2 { color: var(--sc-gold-deep); }
.navbar-sc .nav-link { color: #3E4F4A; font-size: 15px; font-weight: 500; }
.navbar-sc .nav-link:hover { color: var(--sc-green); }
.navbar-sc .nav-link.active { color: var(--sc-gold-deep); font-weight: 700; }

/* ---------- Hamburger icon ---------- */
.hamburger-icon {
  width: 28px; height: 20px; position: relative; display: flex;
  flex-direction: column; justify-content: space-between; cursor: pointer;
}
.hamburger-icon span {
  display: block; height: 2.5px; width: 100%; background: var(--sc-green);
  border-radius: 2px; transition: 0.3s ease;
}
.hamburger-icon span:nth-child(2) { width: 65%; }

/* ---------- Mobile menu (full-screen overlay) ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--sc-green);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.mobile-menu.mobile-menu-open { transform: translateX(0) !important; }
.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid rgba(247,244,238,0.1);
}
.mobile-menu-close {
  background: none; border: none; color: var(--sc-cream); font-size: 28px;
  cursor: pointer; padding: 4px 8px; opacity: 0.7; transition: opacity 0.2s;
}
.mobile-menu-close:hover { opacity: 1; }
.mobile-menu-nav {
  flex: 1; display: flex; flex-direction: column; padding: 40px 32px;
  gap: 8px;
}
.mobile-menu-link {
  font-family: 'Marcellus', serif; font-size: 32px; color: var(--sc-cream);
  text-decoration: none; padding: 16px 0;
  border-bottom: 1px solid rgba(247,244,238,0.08);
  transition: color 0.2s, padding-left 0.3s;
}
.mobile-menu-link:hover, .mobile-menu-link.active {
  color: var(--sc-gold); padding-left: 12px;
}
.mobile-menu-footer {
  padding: 28px 32px 40px;
  border-top: 1px solid rgba(247,244,238,0.1);
}
.mobile-menu-contact {
  display: flex; gap: 32px; margin-top: 24px;
  font-size: 15px; color: var(--sc-cream);
}
.mobile-menu-contact a { color: var(--sc-gold); text-decoration: none; font-weight: 700; font-size: 17px; }
.mobile-menu-hours {
  margin-top: 20px; font-size: 13px; color: rgba(233,226,212,0.55);
  letter-spacing: 0.04em;
}

/* ---------- Buttons ---------- */
.btn-sc-green {
  background: var(--sc-green); color: var(--sc-cream);
  border-radius: 999px; padding: 14px 32px;
  font-size: 15.5px; font-weight: 600; border: none;
  box-shadow: 0 12px 32px rgba(16, 59, 50, 0.22);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-sc-green:hover {
  background: var(--sc-green-hover); color: var(--sc-cream);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(16, 59, 50, 0.3);
}
.btn-sc-gold {
  background: var(--sc-gold); color: var(--sc-green);
  border-radius: 999px; padding: 15px 36px;
  font-size: 16px; font-weight: 700; border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-sc-gold:hover {
  color: var(--sc-green);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}
.btn-sc-cream {
  background: var(--sc-cream); color: var(--sc-green);
  border-radius: 999px; padding: 15px 36px;
  font-size: 15.5px; font-weight: 700; border: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-sc-cream:hover { color: var(--sc-green); transform: translateY(-2px); }

.link-underline {
  color: var(--sc-green); text-decoration: none;
  font-size: 15px; font-weight: 700;
  border-bottom: 1px solid rgba(16, 59, 50, 0.3); padding-bottom: 3px;
}
.link-underline:hover { border-bottom-color: var(--sc-green); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sc-gold-deep); font-weight: 600;
}
.eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--sc-gold-deep); }
.eyebrow-center { justify-content: center; }
.eyebrow-center::after { content: ''; width: 36px; height: 1px; background: var(--sc-gold-deep); }
.eyebrow-light { color: var(--sc-gold); }
.eyebrow-light::before, .eyebrow-light::after { background: var(--sc-gold); }

/* ---------- Headings ---------- */
.h-display { font-family: 'Marcellus', serif; font-weight: 400; color: var(--sc-green); line-height: 1.12; }
.h-display em { font-style: italic; color: var(--sc-gold); }
.text-muted-sc { color: var(--sc-muted); }

/* ---------- Sections ---------- */
.section-pad { padding: 104px 0; }
.bg-white-panel { background: #fff; border-top: 1px solid rgba(16, 59, 50, 0.07); }
.bg-green-panel { background: var(--sc-green); }

/* ---------- Hero ---------- */
.hero-img {
  height: 520px; object-fit: cover; width: 100%;
  border-radius: 24px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}
.hero-badge {
  background: #fff; border-radius: 16px; padding: 18px 24px;
  box-shadow: 0 20px 44px rgba(16, 59, 50, 0.18);
}

/* ---------- Service cards ---------- */
.card-sc {
  background: #fff; border: 1px solid rgba(16, 59, 50, 0.07);
  border-radius: 20px; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-sc:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(16, 59, 50, 0.12); }
.card-sc img { height: 210px; width: 100%; object-fit: cover; }

/* ---------- About (dark) ---------- */
.about-stat {
  background: rgba(247, 244, 238, 0.06);
  border: 1px solid rgba(247, 244, 238, 0.12);
  border-radius: 16px; padding: 20px 16px; text-align: center;
}
.about-stat .num { font-family: 'Marcellus', serif; font-size: 26px; color: var(--sc-gold); }
.about-stat .lbl { font-size: 12.5px; color: rgba(233, 226, 212, 0.65); }

/* ---------- Why us ---------- */
.why-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: #EAF2EE; color: var(--sc-green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 18px;
}

/* ---------- Testimonials ---------- */
.tsl-card {
  background: rgba(247, 244, 238, 0.05);
  border: 1px solid rgba(247, 244, 238, 0.12);
  border-radius: 20px; padding: 34px 30px; height: 100%;
}
.tsl-card .quote { font-size: 15.5px; line-height: 1.75; color: rgba(233, 226, 212, 0.9); }
.tsl-card img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* ---------- Fixed image interlude ---------- */
.interlude {
  position: relative;
  min-height: 78vh;
  background-image:
    linear-gradient(rgba(11, 42, 36, 0.55), rgba(11, 42, 36, 0.55)),
    url('https://images.unsplash.com/photo-1586773860418-d37222d8fce3?w=2200&q=80');
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--sc-cream);
}
.interlude h2 { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3); color: var(--sc-cream); }
.interlude .founder-quote {
  font-family: 'Marcellus', serif; font-style: italic;
  font-size: clamp(19px, 1.8vw, 24px); line-height: 1.6;
  color: rgba(247, 244, 238, 0.95);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.interlude .founder-name {
  font-size: 14.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sc-gold); font-weight: 600;
}
@media (max-width: 991px) {
  .interlude { background-attachment: scroll; } /* iOS/mobile fallback */
}

/* ---------- Approach ---------- */
.approach-col { position: relative; padding: 16px 44px 40px; text-align: center; overflow: hidden; }
.approach-col .ghost {
  position: absolute; left: 0; bottom: -60px;
  font-family: 'Marcellus', serif; font-size: 300px; line-height: 1;
  color: rgba(16, 59, 50, 0.05); pointer-events: none; user-select: none;
}
.approach-col .icon-ring {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid rgba(176, 141, 87, 0.5); color: var(--sc-gold-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin: 0 auto 26px;
}
.approach-divider { width: 1px; background: rgba(16, 59, 50, 0.12); }
.btn-approach {
  background: var(--sc-gold); color: var(--sc-green);
  border-radius: 999px; padding: 18px 44px;
  font-size: 15px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; display: inline-block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-approach:hover { color: var(--sc-green); transform: translateY(-2px); box-shadow: 0 18px 40px rgba(176, 141, 87, 0.4); }

/* ---------- Blog ---------- */
.blog-featured-img {
  width: 100%; height: 340px; object-fit: cover;
  border-radius: 22px; box-shadow: 0 24px 52px rgba(16, 59, 50, 0.14);
}
.blog-tag {
  background: #EAF2EE; color: var(--sc-green);
  border-radius: 999px; padding: 6px 16px;
  font-weight: 600; letter-spacing: 0.06em; font-size: 13px;
}
.blog-row {
  padding: 26px 4px; border-bottom: 1px solid rgba(16, 59, 50, 0.1);
  cursor: pointer; transition: padding-left 0.25s ease;
}
.blog-row:hover { padding-left: 14px; }
.blog-row .meta { font-size: 12.5px; }
.blog-row .meta .tag { color: var(--sc-gold-deep); font-weight: 700; letter-spacing: 0.12em; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: #fff; border: 1px solid rgba(16, 59, 50, 0.08);
  border-radius: 28px; padding: 72px 64px;
  box-shadow: 0 24px 56px rgba(16, 59, 50, 0.08);
}

/* ---------- Footer ---------- */
.footer-sc { background: var(--sc-green-dark); color: rgba(233, 226, 212, 0.7); }
.footer-sc .col-title {
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sc-gold); font-weight: 600; margin-bottom: 22px;
}
.footer-sc a { color: rgba(233, 226, 212, 0.75); text-decoration: none; font-size: 15px; }
.footer-sc a:hover { color: var(--sc-cream); }
.footer-sc .pill {
  border: 1px solid rgba(233, 226, 212, 0.25); border-radius: 999px;
  padding: 7px 16px; font-size: 12.5px; letter-spacing: 0.06em; color: var(--sc-gold);
}
.footer-sc .bottom {
  border-top: 1px solid rgba(233, 226, 212, 0.12);
  font-size: 13px; opacity: 0.65;
}

/* ---------- Avatars & dark CTA ---------- */
.avatar-stack { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--sc-green); }
.cta-banner-dark {
  position: relative; background: var(--sc-green); border-radius: 32px;
  padding: 88px 72px; overflow: hidden; box-shadow: 0 30px 64px rgba(16,59,50,0.28); text-align: center;
}
.cta-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(201,169,97,0.25); pointer-events: none; }
.cta-ring-1 { top: -140px; right: -100px; width: 380px; height: 380px; }
.cta-ring-2 { top: -90px; right: -50px; width: 280px; height: 280px; border-color: rgba(201,169,97,0.18); }
.cta-glow { position: absolute; bottom: -160px; left: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(201,169,97,0.14), transparent 65%); pointer-events: none; }
.cta-ghost { position: absolute; left: 64px; top: 56px; font-family: 'Marcellus', serif; font-size: 200px; line-height: 1; color: rgba(247,244,238,0.045); pointer-events: none; user-select: none; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
