/* ========================================
   Darden Jeremy P DDS — Styles
   Palette: Burgundy (#7B2D3B) + Blush (#F4E8E4)
   Fonts: Playfair Display + Inter
   ======================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --burgundy: #7B2D3B;
  --burgundy-deep: #5C1F2C;
  --burgundy-light: #9A3D4E;
  --blush: #F4E8E4;
  --blush-light: #FAF3F0;
  --blush-mid: #EAD6CF;
  --cream: #FFF9F7;
  --white: #FFFFFF;
  --charcoal: #2A2426;
  --charcoal-light: #4A3F42;
  --gray: #7A6E71;
  --gray-light: #A89A9D;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(123, 45, 59, 0.08);
  --shadow-md: 0 8px 30px rgba(123, 45, 59, 0.12);
  --shadow-lg: 0 16px 50px rgba(123, 45, 59, 0.16);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--burgundy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--burgundy-deep);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 12px;
}

.section-eyebrow-light {
  color: var(--blush-mid);
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.section-title-light {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.7;
}

.section-subtitle-light {
  color: var(--blush-mid);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}

.btn-primary:hover {
  background: var(--burgundy-deep);
  border-color: var(--burgundy-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--burgundy);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--burgundy);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--blush);
  border-color: var(--blush);
  color: var(--burgundy-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ========================================
   HEADER / NAV
   ======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 249, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(123, 45, 59, 0.08);
  transition: all var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 249, 247, 0.97);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--charcoal);
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--burgundy);
  border-radius: 10px;
  position: relative;
  flex-shrink: 0;
}

.logo-mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 22px;
  border: 2px solid var(--white);
  border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--charcoal);
}

.logo-tagline {
  font-size: 0.7rem;
  color: var(--gray);
  letter-spacing: 0.04em;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.main-nav a {
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal-light);
  text-decoration: none;
  transition: all var(--transition);
}

.main-nav a:hover {
  color: var(--burgundy);
  background: rgba(123, 45, 59, 0.06);
}

.nav-cta {
  background: var(--burgundy) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--burgundy-deep) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1001;
}

.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  left: 0;
  transition: all var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ========================================
   HERO
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(42, 36, 38, 0.82) 0%,
    rgba(123, 45, 59, 0.72) 50%,
    rgba(92, 31, 44, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 24px 80px;
  max-width: 720px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blush-mid);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll svg {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ========================================
   TRUST BAR
   ======================================== */

.trust-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(123, 45, 59, 0.08);
  padding: 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 28px;
  border-right: 1px solid rgba(123, 45, 59, 0.08);
}

.trust-item:last-child {
  border-right: none;
}

.trust-icon {
  width: 22px;
  height: 22px;
  color: var(--burgundy);
  flex-shrink: 0;
}

.trust-item span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal-light);
}

/* ========================================
   SERVICES
   ======================================== */

.services {
  padding: 100px 0;
  background: var(--cream);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid rgba(123, 45, 59, 0.07);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--burgundy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--blush);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--burgundy);
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--burgundy);
  color: var(--white);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ========================================
   ABOUT
   ======================================== */

.about {
  padding: 100px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 160px;
  height: 160px;
  background: var(--burgundy);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.12;
}

.about-content {
  max-width: 520px;
}

.about-content p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-list {
  list-style: none;
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--charcoal-light);
  line-height: 1.5;
}

.check-icon {
  width: 20px;
  height: 20px;
  color: var(--burgundy);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ========================================
   NEW PATIENTS
   ======================================== */

.new-patients {
  padding: 100px 0;
  background: var(--burgundy);
  position: relative;
  overflow: hidden;
}

.new-patients::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(244, 232, 228, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.new-patients-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.new-patients-content {
  max-width: 500px;
}

.new-patient-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.step {
  display: flex;
  align-items: center;
  gap: 20px;
}

.step-number {
  width: 44px;
  height: 44px;
  background: rgba(244, 232, 228, 0.15);
  border: 1px solid rgba(244, 232, 228, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blush);
  flex-shrink: 0;
}

.step span:last-child {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.cta-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
}

.cta-icon {
  width: 64px;
  height: 64px;
  color: var(--blush);
  margin: 0 auto 24px;
}

.cta-icon svg {
  width: 100%;
  height: 100%;
}

.cta-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
}

/* ========================================
   CONTACT
   ======================================== */

.contact {
  padding: 100px 0;
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.contact-info {
  padding: 48px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(123, 45, 59, 0.07);
}

.contact-details {
  font-style: normal;
  margin: 28px 0;
}

.contact-details p {
  font-size: 1rem;
  color: var(--charcoal-light);
  line-height: 1.8;
}

.contact-details strong {
  color: var(--charcoal);
  font-size: 1.1rem;
}

.contact-phone {
  font-size: 1.3rem !important;
  font-weight: 600;
  color: var(--burgundy) !important;
}

.contact-phone:hover {
  color: var(--burgundy-deep) !important;
}

.hours h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.hours table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 12px;
}

.hours td {
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--charcoal-light);
  border-bottom: 1px solid rgba(123, 45, 59, 0.07);
}

.hours td:first-child {
  font-weight: 500;
  color: var(--charcoal);
}

.hours td:last-child {
  text-align: right;
  color: var(--gray);
}

.hours td:last-child:not(:last-child) {
  font-variant-numeric: tabular-nums;
}

.hours tr:last-child td {
  border-bottom: none;
}

.hours-note {
  font-size: 0.82rem;
  color: var(--gray-light);
  font-style: italic;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow-md);
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: 4px;
}

.footer-contact p {
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer-contact a {
  color: var(--blush-mid);
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-copy p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ========================================
   SCROLL REVEAL (below-fold only, progressive enhancement)
   ======================================== */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .new-patients-inner {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: var(--cream);
    padding: 100px 32px 40px;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .main-nav a {
    padding: 14px 16px;
    border-radius: var(--radius);
    font-size: 1rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 16px;
  }

  .hero-content {
    padding: 140px 24px 100px;
  }

  .hero-scroll {
    display: none;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item {
    border-right: none;
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    padding: 20px 24px;
  }

  .trust-item:nth-child(2),
  .trust-item:nth-child(4) {
    border-right: none;
  }

  .services {
    padding: 72px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 28px 24px;
  }

  .about {
    padding: 72px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image img {
    height: 360px;
  }

  .new-patients {
    padding: 72px 0;
  }

  .new-patients-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .new-patients-content {
    max-width: 100%;
  }

  .contact {
    padding: 72px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-info {
    padding: 32px 24px;
  }

  .contact-map {
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-headline {
    font-size: 1.9rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: none;
  }

  .section-title {
    font-size: 1.6rem;
  }
}

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 36, 38, 0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}
