/* The Rose Garden — Custom Styles */

/* Base & Typography */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Selection Color */
::selection {
  background-color: #fbbf24;
  color: #330a21;
}

/* Focus Styles */
:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fafaf5;
}
::-webkit-scrollbar-thumb {
  background: #d4a8c8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b5367e;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal[data-reveal-delay="1"] { transition-delay: 0.1s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.2s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.3s; }
.reveal[data-reveal-delay="4"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
  }
}

/* Navbar Transition */
#navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Mobile Menu Transition */
#mobile-menu {
  animation: slideDown 0.25s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button Ripple Effect */
button, a {
  -webkit-tap-highlight-color: transparent;
}

/* Image Placeholder Fallback */
img {
  background-color: #e8e0d8;
}

/* Print Styles */
@media print {
  #navbar, #mobile-menu, .reveal { display: none; }
  body { color: #000; background: #fff; }
  a { color: #000; }
}
