/**
 * Schuler, Bunnie — Custom Styles
 * Classic & elegant: burgundy + blush palette
 */

/* ===== Section Labels & Headings ===== */
.section-label {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #b82642;
  background: linear-gradient(to right, #fdf2f4, #fce7eb);
  padding: 0.4em 1em;
  border-radius: 50px;
  border: 1px solid #f9d0d9;
}

.section-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  color: #1a1a1a;
}

.section-subheading {
  font-family: 'Lato', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.75;
  color: #2a2a2a80;
}

/* ===== Navbar Scroll State ===== */
#navbar.scrolled {
  background: rgba(254, 253, 251, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

#navbar.scrolled .font-serif {
  color: #1a1a1a;
}

#navbar.scrolled .nav-link {
  color: #2a2a2a;
}

/* ===== Service Card Hover ===== */
.service-card {
  will-change: transform, box-shadow;
}

/* ===== Mobile Menu Transitions ===== */
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

#mobile-menu.closed {
  opacity: 0;
  pointer-events: none;
}

/* ===== Scroll Reveal (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

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

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
}

/* ===== Button Focus States ===== */
button:focus-visible,
a:focus-visible {
  outline: 2px solid #b82642;
  outline-offset: 2px;
}

/* ===== Smooth Scrollbar for Webkit ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #fdf9f3;
}

::-webkit-scrollbar-thumb {
  background: #b82642;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94172e;
}

/* ===== Print Styles ===== */
@media print {
  #navbar, #menu-toggle, #mobile-menu {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  a {
    color: #1a1a1a !important;
  }
}
