/* Global Icon Pageants — Custom CSS */

/* Gold gradient utility */
.gold-gradient {
  background: linear-gradient(135deg, #8B6914 0%, #D4A843 45%, #F5C842 70%, #C8922A 100%);
}

/* Gold gradient text */
.gold-text {
  background: linear-gradient(135deg, #8B6914 0%, #D4A843 45%, #F5C842 70%, #C8922A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Steel gradient for Mr. Global Icon sections */
.steel-gradient {
  background: linear-gradient(135deg, #1A2E42 0%, #2A4A6B 50%, #3A6491 100%);
}

/* Crown glow animation (hero watermark) */
.crown-glow {
  animation: crownPulse 4s ease-in-out infinite;
}
@keyframes crownPulse {
  0%, 100% { filter: drop-shadow(0 0 24px rgba(212,168,67,0.25)); }
  50%       { filter: drop-shadow(0 0 72px rgba(245,200,66,0.65)); }
}

/* Scroll bounce arrow */
.scroll-bounce {
  animation: bounceDn 2s ease-in-out infinite;
}
@keyframes bounceDn {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* FAQ accordion */
.faq-answer {
  display: none;
  overflow: hidden;
}
.faq-item.open .faq-answer {
  display: block;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-icon {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

/* Mobile nav menu */
#mobile-menu {
  display: none;
}
#mobile-menu.open {
  display: block;
}

/* Sticky mobile CTA bar */
.mobile-cta-bar {
  display: none;
}
@media (max-width: 1023px) {
  .mobile-cta-bar {
    display: flex;
  }
}

/* Section isolation */
section {
  position: relative;
  isolation: isolate;
}

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

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .crown-glow,
  .scroll-bounce {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
  .fade-in {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* Focus rings for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #D4A843;
  outline-offset: 2px;
}

/* Skip to content (accessibility) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: #D4A843;
  color: #0B0820;
  font-weight: 700;
  font-family: Montserrat, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
}

/* Section fade-in on scroll (progressive enhancement) */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
