/* ============================================
   WIPEOUT CAFE — Custom Styles
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   GEOMETRIC HERO SHAPES
   ============================================ */
.geo-shape {
  position: absolute;
  opacity: 0.12;
  animation: float 8s ease-in-out infinite;
}

.shape-circle-1 {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: #E8A838;
  top: -100px;
  right: -80px;
  animation-delay: 0s;
}

.shape-circle-2 {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #9dbf93;
  bottom: 15%;
  left: 5%;
  animation-delay: -2s;
}

.shape-circle-3 {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #FDF8F0;
  top: 30%;
  left: 10%;
  animation-delay: -4s;
}

.shape-triangle {
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 173px solid #E8A838;
  top: 20%;
  right: 10%;
  animation-delay: -1s;
  opacity: 0.08;
}

.shape-square {
  width: 150px;
  height: 150px;
  background: #9dbf93;
  bottom: 10%;
  right: 20%;
  transform: rotate(45deg);
  animation-delay: -3s;
}

.shape-diamond {
  width: 80px;
  height: 80px;
  background: #FDF8F0;
  top: 60%;
  left: 25%;
  transform: rotate(30deg);
  animation-delay: -5s;
}

/* About section shapes */
.shape-about-circle-1 {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: #E8A838;
  top: -200px;
  right: -150px;
  opacity: 0.06;
  animation: float 10s ease-in-out infinite;
}

.shape-about-circle-2 {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: #9dbf93;
  bottom: -100px;
  left: -80px;
  opacity: 0.08;
  animation: float 7s ease-in-out infinite reverse;
}

.shape-about-square {
  width: 200px;
  height: 200px;
  background: #E8A838;
  top: 40%;
  left: 5%;
  transform: rotate(25deg);
  opacity: 0.05;
  animation: float 9s ease-in-out infinite;
  animation-delay: -3s;
}

/* Location section shapes */
.shape-loc-circle {
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: #E8A838;
  bottom: -300px;
  right: -200px;
  opacity: 0.05;
  animation: float 12s ease-in-out infinite;
}

.shape-loc-triangle {
  width: 0;
  height: 0;
  border-left: 150px solid transparent;
  border-right: 150px solid transparent;
  border-bottom: 260px solid #9dbf93;
  top: 10%;
  left: 5%;
  opacity: 0.06;
  animation: float 8s ease-in-out infinite reverse;
}

/* CTA section shapes */
.shape-cta-circle-1 {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: #E8A838;
  top: -150px;
  left: -100px;
  opacity: 0.08;
  animation: float 9s ease-in-out infinite;
}

.shape-cta-circle-2 {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: #FDF8F0;
  bottom: -80px;
  right: 10%;
  opacity: 0.06;
  animation: float 7s ease-in-out infinite reverse;
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(3deg); }
}

/* ============================================
   HERO ANIMATIONS
   ============================================ */
.hero-anim {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 0.8s ease forwards;
}

.hero-anim:nth-child(1) { animation-delay: 0.1s; }
.hero-anim:nth-child(2) { animation-delay: 0.3s; }
.hero-anim:nth-child(3) { animation-delay: 0.5s; }
.hero-anim:nth-child(4) { animation-delay: 0.7s; }
.hero-anim:nth-child(5) { animation-delay: 0.9s; }

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   SCROLL REVEAL (below the fold only)
   ============================================ */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
  }
  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.feature-card {
  opacity: 1;
  transition: transform 0.3s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .feature-card {
    opacity: 0;
    transform: translateY(20px);
  }
  .feature-card.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card:hover {
  transform: translateY(-4px);
}

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(15, 26, 12, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================
   MENU CARD HOVER
   ============================================ */
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

/* ============================================
   MOBILE MENU
   ============================================ */
#mobile-menu {
  animation: slideDown 0.3s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .shape-circle-1 {
    width: 250px;
    height: 250px;
  }
  .shape-square {
    width: 80px;
    height: 80px;
  }
  .shape-triangle {
    border-left-width: 60px;
    border-right-width: 60px;
    border-bottom-width: 104px;
  }
}
