/* =============================================
   Claudia's Bistro — Custom Styles
   Classic & Elegant · Burgundy + Blush
   ============================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background-color: #FDF9F5;
  color: #3A3530;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

::selection {
  background-color: #7B2D3B;
  color: #FDF9F5;
}

/* ---------- Focus ---------- */
:focus-visible {
  outline: 2px solid #7B2D3B;
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Navigation ---------- */
#site-header {
  background-color: transparent;
  transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

#site-header.scrolled {
  background-color: rgba(253, 249, 245, 0.97);
  box-shadow: 0 1px 0 rgba(123, 45, 59, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-text {
  color: #FDF9F5;
  transition: color 0.5s ease;
}

#site-header.scrolled .nav-text {
  color: #3A3530;
}

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

.mobile-link {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #3A3530;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* ---------- Scroll Reveal ---------- */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-up {
    opacity: 0;
    transform: translateY(28px);
  }
  .reveal-left {
    opacity: 0;
    transform: translateX(-28px);
  }
  .reveal-right {
    opacity: 0;
    transform: translateX(28px);
  }

  .reveal-up.visible,
  .reveal-left.visible,
  .reveal-right.visible {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Staggered Delays ---------- */
.reveal-up:nth-child(1) { transition-delay: 0.05s; }
.reveal-up:nth-child(2) { transition-delay: 0.12s; }
.reveal-up:nth-child(3) { transition-delay: 0.19s; }
.reveal-up:nth-child(4) { transition-delay: 0.26s; }
.reveal-up:nth-child(5) { transition-delay: 0.33s; }
.reveal-up:nth-child(6) { transition-delay: 0.40s; }

/* ---------- Divider ---------- */
section + .max-w-7xl > div > div.h-px,
.max-w-7xl > div > div.h-px {
  margin-top: 0;
  margin-bottom: 0;
}

/* ---------- Buttons ---------- */
a {
  text-decoration: none;
  color: inherit;
}

/* ---------- Image Aspect Ratios ---------- */
.aspect-\[4\/5\] { aspect-ratio: 4 / 5; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }

/* ---------- Smooth Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #FDF9F5;
}
::-webkit-scrollbar-thumb {
  background: #D99A9E;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #7B2D3B;
}

/* ---------- Print ---------- */
@media print {
  #site-header, #mobile-menu, footer { display: none; }
  body { color: #000; background: #fff; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 11px; }
}
