:root {
  --color-gold-accent: #fbc434;
  --color-gold-accent-rgb: 251, 196, 52;
  --color-charcoal-bg: #111111;
  --color-on-surface: #e5e7eb;
  --color-steel-secondary: #9ca3af;
}

body {
  background-color: var(--color-charcoal-bg);
  color: var(--color-on-surface);
}

.hero-headline {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.hero-headline .text-gold-accent {
  position: relative;
  display: inline-block;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--color-gold-accent);
  width: 24px;
}



.glass-card {
  background: rgba(24, 24, 24, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(var(--color-gold-accent-rgb), 0.15);
}

.glass-card:hover {
  border: 1px solid rgba(var(--color-gold-accent-rgb), 0.3);
  background: rgba(30, 30, 30, 0.7);
}

/* Increased transparency for services section */
#services .glass-card {
  background: rgba(20, 20, 20, 0.2);
}

#services .glass-card:hover {
  background: rgba(24, 24, 24, 0.4);
}

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

  100% {
    transform: translateX(-50%);
  }
}

.nav-glass-transition {
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-glass-transition:hover {
  background-color: rgba(18, 18, 18, 0.98);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-bottom: 1px solid rgba(var(--color-gold-accent-rgb), 0.25);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9);
}

.nav-glass-transition:hover .text-white,
.nav-glass-transition:hover .text-steel-secondary {
  transition: all 0.6s ease;
}

.nav-glass-transition:hover .text-white {
  text-shadow: 0 0 20px rgba(var(--color-gold-accent-rgb), 0.15);
}



.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

/* Reveal Animation Styles */
.reveal-item {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(30px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, filter, transform;
}

.reveal-item.active {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Story Modal Styles */
.story-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.story-detail-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.story-detail-content {
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(var(--color-gold-accent-rgb), 0.2);
  border-radius: 40px;
  transform: scale(0.9) translateY(40px) rotateX(10deg);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--color-gold-accent-rgb), 0.2) transparent;
}

.story-detail-overlay.active .story-detail-content {
  transform: scale(1) translateY(0) rotateX(0);
}

.story-detail-content::-webkit-scrollbar {
  width: 6px;
}

.story-detail-content::-webkit-scrollbar-thumb {
  background-color: rgba(var(--color-gold-accent-rgb), 0.2);
  border-radius: 10px;
}

/* Fizzy Button Effect */
.fizzy-button {
  isolation: isolate;
}

.fizzy-spot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-gold-accent);
  opacity: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.fizzy-button:hover .fizzy-spot {
  animation: fizzy-explode 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fizzy-explode {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(var(--tx), var(--ty)) scale(0);
    opacity: 0;
  }
}

.fizzy-spot:nth-child(1) {
  --tx: -80px;
  --ty: -60px;
}

.fizzy-spot:nth-child(2) {
  --tx: 60px;
  --ty: -80px;
  animation-delay: 0.05s;
}

.fizzy-spot:nth-child(3) {
  --tx: -40px;
  --ty: -90px;
  animation-delay: 0.1s;
}

.fizzy-spot:nth-child(4) {
  --tx: 90px;
  --ty: 40px;
  animation-delay: 0.02s;
}

.fizzy-spot:nth-child(5) {
  --tx: -100px;
  --ty: 20px;
  animation-delay: 0.08s;
}

.fizzy-spot:nth-child(6) {
  --tx: 50px;
  --ty: 100px;
  animation-delay: 0.12s;
}

.fizzy-spot:nth-child(7) {
  --tx: -70px;
  --ty: 80px;
  animation-delay: 0.04s;
}

.fizzy-spot:nth-child(8) {
  --tx: 110px;
  --ty: -30px;
  animation-delay: 0.06s;
}

.fizzy-spot:nth-child(9) {
  --tx: -20px;
  --ty: 110px;
  animation-delay: 0.15s;
}

.fizzy-spot:nth-child(10) {
  --tx: 120px;
  --ty: 60px;
  animation-delay: 0.03s;
}

.fizzy-spot:nth-child(11) {
  --tx: -120px;
  --ty: -40px;
  animation-delay: 0.07s;
}

.fizzy-spot:nth-child(12) {
  --tx: 40px;
  --ty: -110px;
  animation-delay: 0.11s;
}

.fizzy-spot:nth-child(13) {
  --tx: -90px;
  --ty: -100px;
  animation-delay: 0.09s;
}

.fizzy-spot:nth-child(14) {
  --tx: 100px;
  --ty: -90px;
  animation-delay: 0.01s;
}

.fizzy-spot:nth-child(15) {
  --tx: -50px;
  --ty: -120px;
  animation-delay: 0.14s;
}