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

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

/* Hero gradient */
.hero-gradient {
  background: linear-gradient(135deg, #040B14 0%, #0D1B2A 30%, #142D45 60%, #0A1628 100%);
}

/* Geometric shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.geo {
  position: absolute;
  opacity: 0.08;
}

.geo-1 {
  top: 8%;
  right: 5%;
  width: 300px;
  height: 300px;
  background: #D4A017;
  border-radius: 50%;
  animation: float-slow 8s ease-in-out infinite;
}

.geo-2 {
  top: 25%;
  right: 15%;
  width: 120px;
  height: 120px;
  background: #E8B935;
  transform: rotate(45deg);
  animation: float-medium 6s ease-in-out infinite;
}

.geo-3 {
  bottom: 20%;
  left: 5%;
  width: 200px;
  height: 200px;
  background: #1B3D5C;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 10s ease-in-out infinite;
}

.geo-4 {
  top: 60%;
  right: 10%;
  width: 80px;
  height: 80px;
  background: #D4A017;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation: float-slow 7s ease-in-out infinite reverse;
}

.geo-5 {
  top: 15%;
  left: 10%;
  width: 60px;
  height: 60px;
  background: #F0CC66;
  border-radius: 50%;
  animation: float-medium 5s ease-in-out infinite;
}

.geo-6 {
  bottom: 10%;
  left: 20%;
  width: 150px;
  height: 150px;
  border: 2px solid #D4A017;
  border-radius: 50%;
  opacity: 0.04;
  animation: rotate-slow 20s linear infinite;
}

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

@keyframes float-medium {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes morph {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
  50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
  75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Scroll reveal base — content is VISIBLE by default */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Feature strip */
.feature-strip {
  transition: background-color 0.3s ease;
}

.feature-strip:hover {
  background-color: rgba(212, 160, 23, 0.05);
}

/* Menu cards */
.menu-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Navbar */
#navbar.scrolled {
  background: rgba(4, 11, 20, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu */
.mobile-link {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Testimonial cards */
.testimonial-card {
  transition: transform 0.4s ease, border-color 0.3s ease;
}

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

/* Nav links */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #D4A017;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile menu bar animation */
.menu-bar {
  transition: all 0.3s ease;
}

#menu-toggle.active .menu-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle.active .menu-bar:nth-child(2) {
  opacity: 0;
}

#menu-toggle.active .menu-bar:nth-child(3) {
  width: 24px;
  transform: rotate(-45deg) translate(5px, -5px);
}
