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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: #3d0c2c;
  color: #fbcfe8;
  overflow-x: hidden;
}

::selection {
  background: #fbbf24;
  color: #3d0c2c;
}

/* ===== NAVBAR ===== */
#navbar {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
  background: rgba(61, 12, 44, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  padding-top: 0;
  padding-bottom: 0;
}

#navbar.scrolled .nav-line {
  background: #fbbf24;
}

.nav-line {
  transition: width 0.3s ease, background 0.3s ease;
}

/* ===== MOBILE MENU ===== */
.mobile-link {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

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

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

/* ===== HERO SHAPES ===== */
.hero-shape {
  position: absolute;
  pointer-events: none;
}

.shape-circle-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249, 168, 212, 0.12) 0%, transparent 70%);
  top: -100px;
  right: -150px;
  border-radius: 50%;
}

.shape-circle-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
  bottom: 10%;
  left: -100px;
  border-radius: 50%;
}

.shape-rect-1 {
  width: 120px;
  height: 120px;
  background: rgba(251, 191, 36, 0.15);
  top: 25%;
  left: 5%;
  border-radius: 24px;
  transform: rotate(45deg);
}

.shape-line {
  width: 2px;
  height: 200px;
  background: linear-gradient(to bottom, transparent, rgba(249, 168, 212, 0.3), transparent);
  top: 20%;
  right: 15%;
}

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

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

/* ===== SERVICE CARDS ===== */
.service-card {
  transform: translateY(0);
  transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

/* ===== GALLERY ===== */
.gallery-item {
  cursor: pointer;
  transition: transform 0.4s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(251, 191, 36, 0.3);
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 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; }
  .reveal-delay-5 { transition-delay: 0.5s; }
}

/* Mobile menu open state */
#mobileMenu.open {
  transform: translateX(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .shape-circle-1 {
    width: 300px;
    height: 300px;
  }

  .shape-circle-2 {
    width: 200px;
    height: 200px;
  }

  .shape-rect-1 {
    width: 60px;
    height: 60px;
  }

  .shape-line {
    height: 100px;
  }
}
