/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: #FF6B6B;
  color: #1E1E2C;
}

/* ===== NAV ===== */
#nav {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

#nav.scrolled {
  background: rgba(30, 30, 44, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu */
#menu {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}

#menu.closed {
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
}

.bar {
  transition: all 0.3s ease;
}

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

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

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

/* ===== HERO ===== */
.hero-bg {
  will-change: transform;
}

.hero-bg img {
  will-change: transform;
}

/* Geometric shapes */
.geo-shape {
  will-change: transform;
}

.circle-1 {
  animation: float 6s ease-in-out infinite;
}

.circle-2 {
  animation: float 4s ease-in-out infinite reverse;
}

.dot {
  animation: pulse-dot 3s ease-in-out infinite;
}

.dot:nth-child(odd) {
  animation-delay: 0.5s;
}

.dot:nth-child(even) {
  animation-delay: 1s;
}

.triangle {
  animation: float 7s ease-in-out infinite;
}

.square {
  animation: spin-slow 20s linear infinite;
}

.triangle-2 {
  animation: float 5s ease-in-out infinite reverse;
}

.triangle-3 {
  animation: float 6s ease-in-out infinite;
}

.rect-1 {
  animation: spin-slow 15s linear infinite;
}

.rect-2 {
  animation: spin-slow 18s linear infinite reverse;
}

.rect-3 {
  animation: float 8s ease-in-out infinite;
}

.circle-3, .circle-4, .circle-5, .circle-6, .circle-7 {
  animation: float 6s ease-in-out infinite;
}

.circle-4 { animation-delay: 1s; }
.circle-5 { animation-delay: 2s; }
.circle-6 { animation-delay: 0.5s; }
.circle-7 { animation-delay: 1.5s; }

.hexagon {
  animation: float 7s ease-in-out infinite;
}

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

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.5); opacity: 0.4; }
}

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

/* Hero animations */
.hero-subtitle {
  animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero-title {
  animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero-desc {
  animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero-cta {
  animation: fadeUp 0.8s ease forwards 0.8s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll indicator */
.scroll-line {
  animation: scroll-anim 2s ease-in-out infinite;
}

@keyframes scroll-anim {
  0%, 100% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== BUTTONS ===== */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

/* ===== MENU CARDS ===== */
.menu-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* ===== GALLERY ===== */
.gallery-item {
  overflow: hidden;
  position: relative;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 30, 44, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }

/* ===== MOBILE LINKS ===== */
.mobile-link {
  transition: color 0.2s ease;
}

/* ===== FORM STYLES ===== */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.7) sepia(1) saturate(5) hue-rotate(320deg);
  cursor: pointer;
}

select option {
  background: #2A2A3C;
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .geo-shape.circle-1,
  .geo-shape.circle-6 {
    display: none;
  }

  .geo-shape.triangle,
  .geo-shape.triangle-3 {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .geo-shape.circle-2,
  .geo-shape.dot {
    display: none;
  }
}
