/* ── Base & Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { -webkit-font-smoothing: antialiased; }

/* ── Navbar ── */
#navbar {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
#navbar.scrolled {
  background: rgba(253, 248, 240, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(192, 86, 62, 0.1);
}

/* ── Mobile Menu ── */
.menu-line { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
#mobileMenu.open .menu-line:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
#mobileMenu.open .menu-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
#mobileMenu.open .menu-line:nth-child(3) { width: 5rem; margin-left: 0; }

/* ── Hero Geometric Shapes ── */
.hero-geo {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-geo-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(192,86,62,0.08) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: float-slow 20s ease-in-out infinite;
}
.hero-geo-2 {
  width: 200px; height: 200px;
  background: rgba(212, 148, 78, 0.1);
  bottom: 20%; left: 5%;
  animation: float-slow 15s ease-in-out infinite reverse;
}
.hero-geo-3 {
  width: 80px; height: 80px;
  background: rgba(192,86,62,0.15);
  top: 30%; left: 15%;
  border-radius: 12px;
  transform: rotate(45deg);
  animation: spin-slow 25s linear infinite;
}
.hero-geo-4 {
  width: 120px; height: 120px;
  border: 3px solid rgba(192,86,62,0.1);
  border-radius: 50%;
  bottom: 15%; right: 10%;
  animation: float-slow 18s ease-in-out infinite;
}

/* ── Hero Photos ── */
.hero-photo {
  position: absolute;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
  z-index: 1;
}
.hero-photo-1 {
  width: 200px; height: 260px;
  top: 18%; left: 5%;
  transform: rotate(-6deg);
  animation: float-slow 12s ease-in-out infinite;
}
.hero-photo-2 {
  width: 180px; height: 230px;
  top: 22%; right: 5%;
  transform: rotate(4deg);
  animation: float-slow 14s ease-in-out infinite reverse;
}
.hero-photo-3 {
  width: 150px; height: 190px;
  bottom: 15%; right: 12%;
  transform: rotate(8deg);
  animation: float-slow 10s ease-in-out infinite;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}

/* ── Marquee ── */
.marquee-track {
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Menu Cards ── */
.menu-card {
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ── Gallery ── */
.gallery-item {
  cursor: pointer;
  transition: transform 0.3s ease;
}
.gallery-item:hover { transform: scale(1.02); }

/* ── Animations ── */
@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-15px) rotate(2deg); }
  66% { transform: translateY(8px) rotate(-1deg); }
}
@keyframes spin-slow {
  0% { transform: rotate(45deg); }
  100% { transform: rotate(405deg); }
}

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 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; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-photo-1 { width: 120px; height: 160px; top: 12%; left: 2%; }
  .hero-photo-2 { width: 110px; height: 145px; top: 18%; right: 2%; }
  .hero-photo-3 { display: none; }
  .hero-geo-1 { width: 300px; height: 300px; }
}
