/* 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;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  flex-wrap: wrap;
}
.topbar a { color: var(--sc-gold); text-decoration: none; font-weight: 600; }
.topbar-sep { opacity: 0.5; }
.topbar-hours { display: flex; align-items: center; gap: 8px; }
.topbar .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sc-gold); display: inline-block; flex-shrink: 0;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}
@media (max-width: 575px) {
  .topbar { font-size: 12px; gap: 8px; }
  .topbar-sep { display: none; }
}

/* ---------- Navbar ---------- */
.navbar-sc {
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16, 59, 50, 0.08);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { height: 80px; width: 80px; object-fit: contain; }
.brand-logo-sm { height: 80px; width: 80px; }
.brand-text {
  font-family: 'Marcellus', serif; font-size: 28px; line-height: 1.2;
  color: var(--sc-green); display: block;
}
.brand-text-light { color: var(--sc-cream); font-size: 30px; }
.brand-sub {
  display: block; font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--sc-gold-deep); font-weight: 600;
}
.brand-sub-light { color: var(--sc-gold); font-size: 18 px; }
.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 ---------- */
.hamburger-icon {
  width: 28px; height: 20px; 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 ---------- */
.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: 32px 32px; gap: 4px;
}
.mobile-menu-link {
  font-family: 'Marcellus', serif; font-size: 28px; color: var(--sc-cream);
  text-decoration: none; padding: 14px 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: 26px 32px 40px; border-top: 1px solid rgba(247,244,238,0.1); }
.mobile-menu-contact { display: flex; gap: 32px; margin-top: 22px; font-size: 15px; color: var(--sc-cream); }
.mobile-menu-contact a { color: var(--sc-gold); text-decoration: none; font-weight: 700; font-size: 17px; }
.mm-label { font-size: 13px; opacity: 0.6; }
.mobile-menu-hours { margin-top: 18px; 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) !important; color: var(--sc-green) !important;
  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 {
  background: var(--sc-gold) !important; color: var(--sc-green) !important;
  transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sc-green); color: #fff; border: none;
  border-radius: 8px; padding: 14px 28px; font-size: 15.5px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(16,59,50,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-hero-primary:hover {
  background: var(--sc-green-hover); color: #fff;
  transform: translateY(-2px); box-shadow: 0 14px 32px rgba(16,59,50,0.35);
}
.btn-hero-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--sc-green);
  border: 2px solid var(--sc-green); border-radius: 8px;
  padding: 12px 28px; font-size: 15.5px; font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn-hero-outline:hover { background: var(--sc-green); color: #fff; }
.btn-view-services {
  display: inline-block; padding: 14px 40px; border: 2px solid var(--sc-green);
  border-radius: 8px; color: var(--sc-green); text-decoration: none;
  font-size: 16px; font-weight: 600; transition: all 0.25s ease;
}
.btn-view-services:hover { background: var(--sc-green); color: var(--sc-cream); }

/* ---------- 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); }

/* ---------- Headings & sections ---------- */
.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); }
.section-pad { padding: 104px 0; }
.bg-white-panel { background: #fff; border-top: 1px solid rgba(16, 59, 50, 0.07); }
@media (max-width: 767px) {
  .section-pad { padding: 64px 0; }
}

/* ---------- Hero ---------- */
.hero-band {
  position: relative;
  min-height: 560px;
  background: url('../assets/header.png') center right/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, #ffffff 0%, #ffffff 38%, rgba(255,255,255,0.85) 52%, transparent 72%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-col { padding: 80px 0; }
.hero-title {
  font-family: 'Marcellus', serif; font-weight: 400;
  font-size: clamp(32px, 4.4vw, 54px); line-height: 1.12;
  color: var(--sc-ink); margin-bottom: 24px;
}
.hero-lede {
  font-size: 17px; line-height: 1.8; color: var(--sc-muted);
  max-width: 460px; margin-bottom: 40px;
}
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
@media (max-width: 991px) {
  .hero-band {
    background-image: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('../assets/header.png');
    min-height: auto;
  }
  .hero-overlay { display: none; }
  .hero-col { padding: 56px 0; }
  .hero-lede { max-width: 100%; }
}

/* ---------- Services grid ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.svc-item { display: flex; }
.svc-icon-card {
  background: #f2f0eb; border-radius: 16px; padding: 32px 18px 26px;
  text-align: center; width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.svc-icon-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(16,59,50,0.1); }
.svc-icon { width: 52px; height: 52px; margin: 0 auto 18px; display: block; color: var(--sc-green); }
.svc-title {
  font-family: 'Marcellus', serif; font-weight: 400; font-size: 17px;
  color: var(--sc-green); margin-bottom: 8px; line-height: 1.3;
}
.svc-desc { font-size: 13.5px; color: var(--sc-muted); margin: 0; line-height: 1.55; }
@media (max-width: 1199px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .svc-icon-card { padding: 26px 14px 22px; }
  .svc-icon { width: 44px; height: 44px; margin-bottom: 14px; }
  .svc-title { font-size: 15.5px; }
  .svc-desc { font-size: 13px; }
}
@media (max-width: 400px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* ---------- Parallax CTA ---------- */
.parallax-cta {
    position: relative;
    padding: 140px 0;
    background-image: url('../assets/medical-clinic-office.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.parallax-overlay { position: absolute; inset: 0; background: rgba(16,59,50,0.82); }
.parallax-inner { position: relative; z-index: 2; }
.cta-title {
  font-family: 'Marcellus', serif; font-weight: 400;
  font-size: clamp(28px, 3.6vw, 48px); color: var(--sc-cream);
  line-height: 1.15; margin-bottom: 16px;
}
.cta-lede {
  font-size: 18px; color: rgba(233,226,212,0.8);
  max-width: 520px; line-height: 1.7; margin: 0 auto 28px;
}
@media (max-width: 991px) {
  .parallax-cta { background-attachment: scroll; padding: 88px 0; }
  .cta-lede { font-size: 16.5px; }
}

/* ---------- Visit Us ---------- */
.visit-section { background: #fff; border-top: 1px solid rgba(16,59,50,0.07); }
.visit-eyebrow {
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sc-green); font-weight: 700; margin-bottom: 12px;
}
.visit-title {
  font-family: 'Marcellus', serif; font-weight: 400;
  font-size: clamp(26px, 3vw, 38px); color: var(--sc-ink);
  line-height: 1.2; margin-bottom: 28px;
}
.visit-details { display: flex; flex-direction: column; gap: 14px; font-size: 15.5px; color: var(--sc-ink); }
.visit-row { display: flex; gap: 14px; align-items: flex-start; }
.visit-row-center { align-items: center; }
.visit-icon { flex-shrink: 0; color: var(--sc-green); }
.visit-icon-top { margin-top: 2px; }
.visit-phone { color: var(--sc-ink); text-decoration: none; font-weight: 600; }
.visit-hours-block { margin-top: 26px; }
.visit-hours-head { margin-bottom: 8px; }
.visit-hours-head strong { color: var(--sc-green); }
.visit-hours { margin-left: 34px; font-size: 15px; line-height: 2; }
.visit-hours td:first-child { padding-right: 32px; }
.visit-map-link {
  display: inline-block; margin-top: 18px;
  color: var(--sc-green); font-weight: 600; font-size: 15px; text-decoration: underline;
}
.visit-photo {
  width: 100%; height: 100%; min-height: 400px;
  object-fit: cover; border-radius: 16px;
  box-shadow: 0 24px 56px rgba(16,59,50,0.15);
}
@media (max-width: 767px) {
  .visit-hours { margin-left: 0; font-size: 14.5px; }
  .visit-hours td:first-child { padding-right: 18px; }
  .visit-photo { min-height: 260px; }
}

/* ---------- 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-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }*/
.footer-logo { height: 240px; width: 240px; object-fit: contain; }
.footer-name { font-family: 'Marcellus', serif; font-size: 18px; color: var(--sc-cream); line-height: 1.15; }
.footer-sub {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sc-gold); font-weight: 600;
}
.footer-tagline { font-size: 14px; color: rgba(233,226,212,0.7); font-style: italic; line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; gap: 14px; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.fc-row { display: flex; gap: 10px; align-items: center; }
.fc-row-top { align-items: flex-start; }
.fc-row-top .fc-icon { margin-top: 3px; }
.fc-icon { flex-shrink: 0; color: var(--sc-gold); }
.fc-strong { color: var(--sc-cream) !important; font-weight: 600; }
.footer-social { display: flex; gap: 12px; margin-top: 26px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(233,226,212,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--sc-cream); transition: border-color 0.25s ease, background 0.25s ease;
}
.social-btn:hover { border-color: var(--sc-gold); background: rgba(201,169,97,0.12); }
.footer-sc .bottom {
  border-top: 1px solid rgba(233, 226, 212, 0.12);
  font-size: 13px; opacity: 0.65;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px; padding: 24px 0;
}
.bottom-links { display: flex; gap: 24px; }
@media (max-width: 575px) {
  .bottom-links { gap: 16px; font-size: 12px; }
}

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