/* ========== CUSTOM STYLES ========== */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* ========== NAVBAR ========== */
#navbar {
  background: rgba(253, 248, 240, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#navbar.scrolled {
  background: rgba(253, 248, 240, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

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

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

.mobile-link {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

#mobileMenu.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }

/* ========== HERO GEOMETRIC SHAPES ========== */
.geo-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.geo-circle--1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(192, 90, 58, 0.08) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.geo-circle--2 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(226, 171, 60, 0.1) 0%, transparent 70%);
  bottom: 10%;
  left: 5%;
}

.geo-square {
  position: absolute;
  pointer-events: none;
  transform: rotate(45deg);
}

.geo-square--1 {
  width: 120px;
  height: 120px;
  background: rgba(192, 90, 58, 0.06);
  border: 2px solid rgba(192, 90, 58, 0.1);
  top: 25%;
  right: 3%;
}

.geo-triangle {
  position: absolute;
  pointer-events: none;
}

.geo-triangle--1 {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid rgba(226, 171, 60, 0.07);
  bottom: 20%;
  left: 8%;
  transform: rotate(-15deg);
}

.geo-dots {
  position: absolute;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(192, 90, 58, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  width: 160px;
  height: 160px;
  top: 15%;
  left: 2%;
  opacity: 0.6;
}

/* ========== FLOATING CARDS ========== */
.floating-card {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes float-medium {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

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

.animate-float-slow {
  animation: float-slow 4s ease-in-out infinite;
}

.animate-float-medium {
  animation: float-medium 3.5s ease-in-out infinite;
}

.animate-float-fast {
  animation: float-fast 3s ease-in-out infinite;
}

.animate-bounce-slow {
  animation: bounce-slow 2s ease-in-out infinite;
}

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

/* ========== MARQUEE ========== */
.marquee-track {
  animation: marquee 25s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  flex-shrink: 0;
}

/* ========== MENU CARDS ========== */
.menu-card {
  opacity: 1;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* 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; }
  .marquee-track { animation: none; }
}
