/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --color-purple: #2b0f4a;
  --color-purple-dark: #120524;
  --color-pink: #ff00c8;
  --color-blue: #00f3ff;
  --color-gold: #d4af37;
}

body {
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
  background-color: #05010a; /* Deep dark background */
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-serif {
  font-family: 'Playfair Display', serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0a0212;
}
::-webkit-scrollbar-thumb {
  background: var(--color-purple);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-pink);
}

/* Base Neon Utilities */
.text-neon-blue {
  color: var(--color-blue);
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.5), 0 0 20px rgba(0, 243, 255, 0.3);
}

.text-neon-pink {
  color: var(--color-pink);
  text-shadow: 0 0 10px rgba(255, 0, 200, 0.5), 0 0 20px rgba(255, 0, 200, 0.3);
}

.bg-neon-gradient {
  background: linear-gradient(135deg, rgba(43, 15, 74, 0.8) 0%, rgba(255, 0, 200, 0.2) 100%);
}

.border-neon {
  border: 1px solid rgba(0, 243, 255, 0.3);
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.2) inset, 0 0 20px rgba(0, 243, 255, 0.1);
}

.border-neon-pink {
  border: 1px solid rgba(255, 0, 200, 0.3);
  box-shadow: 0 0 10px rgba(255, 0, 200, 0.2) inset, 0 0 20px rgba(255, 0, 200, 0.1);
}

/* Floating WhatsApp Animation */
.wa-float {
  animation: float 3s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
}

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

/* Cinematic Hero Effects */
.hero-overlay {
  background: linear-gradient(to bottom, rgba(5, 1, 10, 0.6) 0%, rgba(5, 1, 10, 0.9) 100%);
}

/* Hover Glow for Cards */
.glow-card {
  transition: all 0.4s ease;
  background: rgba(18, 5, 36, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.glow-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 0, 200, 0.4);
  box-shadow: 0 10px 30px -10px rgba(255, 0, 200, 0.3), 0 0 15px rgba(0, 243, 255, 0.2);
}

/* Button Animations */
.btn-gold {
  background: linear-gradient(90deg, #d4af37, #f3e5ab);
  color: #120524;
  transition: all 0.3s ease;
  text-shadow: none;
  font-weight: 600;
  border: none;
}
.btn-gold:hover {
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
  transform: scale(1.05);
}

.btn-outline-neon {
  background: transparent;
  color: #fff;
  border: 2px solid var(--color-blue);
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.3) inset, 0 0 10px rgba(0, 243, 255, 0.3);
  transition: all 0.3s ease;
}
.btn-outline-neon:hover {
  background: rgba(0, 243, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.6) inset, 0 0 20px rgba(0, 243, 255, 0.6);
  text-shadow: 0 0 5px #fff;
}

/* Fade in Scroll Animation Classes */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar Transition */
.navbar {
  transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
  background-color: rgba(10, 2, 18, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Lightbox styles */
#lightbox {
  opacity: 0;
  transition: opacity 0.3s ease;
}
#lightbox.active {
  opacity: 1;
}

/* Brand lockup (navbar logo + animated text) */
.brand-lockup {
  gap: 0.75rem;
  text-decoration: none;
  user-select: none;
}

.brand-lockup__logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform-origin: 50% 60%;
  animation: brandLogoIn 800ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.brand-lockup__img {
  height: clamp(44px, 4.2vw, 64px);
  width: auto;
  display: block;
  will-change: transform, filter;
  transform: translateZ(0);
}

.brand-lockup__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.brand-lockup__name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: clamp(1.05rem, 1.1vw + 0.9rem, 1.4rem);
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  transform-origin: left center;
  animation: brandTextIn 900ms cubic-bezier(0.2, 0.8, 0.2, 1) 110ms both;
}

.brand-lockup__num {
  background: linear-gradient(90deg, var(--color-pink), var(--color-blue), var(--color-pink));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 16px rgba(0, 243, 255, 0.22);
  animation: brandShimmer 2.6s ease-in-out 600ms infinite;
}

.brand-lockup__tag {
  margin-top: 0.18rem;
  font-size: clamp(0.62rem, 0.35vw + 0.55rem, 0.78rem);
  letter-spacing: 0.22em;
  color: rgba(229, 231, 235, 0.72);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: brandTagIn 900ms cubic-bezier(0.2, 0.8, 0.2, 1) 220ms both;
}

.brand-lockup:hover .brand-lockup__logo {
  transform: translateY(-1px) scale(1.01);
}
.brand-lockup:hover .brand-lockup__name {
  letter-spacing: 0.1em;
}

@keyframes brandLogoIn {
  0% {
    opacity: 0;
    transform: translateY(6px) scale(0.88) rotate(-1.5deg);
    filter: saturate(0.9) brightness(0.95);
  }
  60% {
    opacity: 1;
    transform: translateY(0) scale(1.03) rotate(0deg);
    filter: saturate(1.05) brightness(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: none;
  }
}

@keyframes brandTextIn {
  0% {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes brandTagIn {
  0% {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes brandShimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (max-width: 639px) {
  .brand-lockup {
    gap: 0.6rem;
  }
  .brand-lockup__tag {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-lockup__logo,
  .brand-lockup__name,
  .brand-lockup__tag,
  .brand-lockup__num {
    animation: none !important;
  }
  .brand-lockup:hover .brand-lockup__logo,
  .brand-lockup:hover .brand-lockup__name {
    transform: none;
  }
}
