/* ==========================================================================
   GLOBAL IT EXCELLENCE & INNOVATION AWARD 2027
   Obsidian Black & Royal Gold Luxury Design System:
     - Header:              Obsidian Black   #090909
     - Hero background:     Charcoal Black   #171717
     - Primary buttons:     Royal Gold       #C9A24D
     - Button hover:        Champagne Gold   #E7C878
     - Main headings:       Ivory White      #F5F1E8
     - Secondary sections:  Graphite         #292929
     - Borders & accents:   Antique Gold     #A98542
     - Body text:           Warm Ivory Grey  #E0DCD3 / #A8A095
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --obsidian-black: #090909;      /* Header & Deepest Black */
  --charcoal-black: rgb(17, 17, 17); /* Hero background & Primary dark rgb(17 17 17) !important */
  --royal-gold: #C9A24D;          /* Primary buttons & main gold */
  --champagne-gold: #E7C878;      /* Button hover & bright highlights */
  --ivory-white: #F5F1E8;         /* Main headings & light text */
  --graphite: #292929;            /* Secondary sections & cards */
  --antique-gold: #A98542;        /* Borders & accents */
  --text-muted: #A8A095;          /* Muted body text */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background-color: var(--charcoal-black) !important;
  color: var(--ivory-white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  line-height: 1.55;
  scroll-behavior: smooth;
}

body {
  padding-top: 72px; /* Offset for compact 72px fixed navbar */
}

h1, h2, h3, .font-display {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.015em;
  color: var(--ivory-white);
}

.font-serif-luxury {
  font-family: 'Cinzel', serif;
}

.font-fraunces {
  font-family: 'Fraunces', serif !important;
}

/* ==========================================================================
   HEADER / NAVBAR (Obsidian Black #090909 + Antique Gold #A98542 Borders)
   ========================================================================== */
#main-navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 72px !important;
  z-index: 1000 !important;
  background-color: rgba(9, 9, 9, 0.98) !important; /* Obsidian Black */
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(169, 133, 66, 0.35) !important; /* Antique Gold */
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.75) !important;
}

#main-navbar nav a,
#main-navbar nav button,
.header-nav-link {
  font-family: 'Fraunces', serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em;
  color: #B5AEA5 !important;
  transition: all 0.2s ease;
}

#main-navbar nav a:hover,
#main-navbar nav a.active,
#main-navbar nav button:hover,
.header-nav-link:hover {
  color: #E7C878 !important; /* Champagne Gold Hover */
}

/* Mobile Drawer Menu */
#mobile-menu {
  position: absolute !important;
  top: 72px !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background-color: #090909 !important; /* Obsidian Black */
  border-bottom: 2px solid #C9A24D !important;
  color: #F5F1E8 !important;
  z-index: 99999 !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.95) !important;
  max-height: calc(100vh - 72px) !important;
  overflow-y: auto !important;
}

#mobile-menu.hidden {
  display: none !important;
}

#mobile-menu:not(.hidden) {
  display: block !important;
}

#mobile-menu a {
  font-family: 'Fraunces', serif !important;
  color: #B5AEA5 !important;
}

#mobile-menu a:hover {
  color: #E7C878 !important;
}

/* Dropdown Menu (Obsidian Black #090909) */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-top: 4px;
  padding-bottom: 4px;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #090909 !important; /* Obsidian Black */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(169, 133, 66, 0.45) !important; /* Antique Gold */
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9), 0 0 20px rgba(201, 162, 77, 0.25) !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
  color: #F5F1E8 !important; /* Ivory White */
  font-size: 12px !important;
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: 'Fraunces', serif !important;
  font-weight: 400 !important;
}

.nav-dropdown-item:hover {
  background: rgba(201, 162, 77, 0.18) !important;
  color: #E7C878 !important; /* Champagne Gold Hover */
  transform: translateX(3px);
}

/* ==========================================================================
   FOOTER (Obsidian Black #090909 + Antique Gold #A98542)
   ========================================================================== */
footer {
  background-color: #090909 !important; /* Obsidian Black */
  border-top: 1px solid rgba(169, 133, 66, 0.35) !important; /* Antique Gold */
  color: #A8A095 !important;
  font-family: 'Fraunces', serif !important;
}

footer a,
footer ul li a,
footer .quick-links a,
footer .footer-link,
.footer-menu-link {
  font-family: 'Fraunces', serif !important;
  color: #A8A095 !important;
  transition: color 0.2s ease;
}

footer a:hover,
footer ul li a:hover {
  color: #E7C878 !important; /* Champagne Gold */
}

footer h4,
footer h5 {
  font-family: 'Fraunces', serif !important;
  color: #F5F1E8 !important; /* Ivory White */
  letter-spacing: 0.05em;
  border-left-color: #C9A24D !important; /* Royal Gold Accent */
}

/* ==========================================================================
   BUTTONS (Royal Gold #C9A24D -> Champagne Gold #E7C878 Hover)
   ========================================================================== */
.gold-solid-btn {
  background: #C9A24D !important; /* Royal Gold */
  color: #090909 !important;       /* Obsidian Black text */
  font-weight: 700 !important;
  border: 1px solid #C9A24D !important;
  box-shadow: 0 4px 18px rgba(201, 162, 77, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.gold-solid-btn:hover {
  background: #E7C878 !important; /* Champagne Gold Hover */
  border-color: #E7C878 !important;
  color: #090909 !important;
  box-shadow: 0 6px 24px rgba(231, 200, 120, 0.55), 0 0 15px rgba(201, 162, 77, 0.4) !important;
  transform: translateY(-2px);
}

.gold-outline-btn {
  border: 1px solid #A98542 !important; /* Antique Gold */
  color: #F5F1E8 !important;            /* Ivory White */
  background: rgba(41, 41, 41, 0.5) !important;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.gold-outline-btn:hover {
  background: #C9A24D !important; /* Royal Gold */
  border-color: #C9A24D !important;
  color: #090909 !important;       /* Obsidian Black */
  box-shadow: 0 4px 18px rgba(201, 162, 77, 0.35) !important;
  transform: translateY(-2px);
}

.gold-gradient-text {
  background: linear-gradient(135deg, #F5F1E8 0%, #E7C878 35%, #C9A24D 70%, #A98542 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* ==========================================================================
   PRIMARY SECTIONS (Dark rgb(17 17 17) / #111111) & SECONDARY (Graphite #292929)
   ========================================================================== */
.section-primary-emerald,
section#banner-home,
section#about,
section#categories,
section#gallery,
section#contact,
.section-ivory,
.main-content-ivory,
[class*="bg-[#171717]"],
[class*="bg-[#242424]"],
[class*="bg-[#111111]"] {
  background-color: rgb(17, 17, 17) !important; /* rgb(17 17 17) !important */
  color: #F5F1E8 !important;
}

.section-secondary-emerald,
section#glimpses,
section#deliverance,
section#patrons,
.secondary-block {
  background-color: #292929 !important; /* Graphite Secondary */
  border-top: 1px solid rgba(169, 133, 66, 0.25) !important;
  border-bottom: 1px solid rgba(169, 133, 66, 0.25) !important;
  color: #F5F1E8 !important;
}

/* Section Headings */
section h2,
section h3 {
  color: #F5F1E8 !important; /* Ivory White */
}

section p {
  color: #A8A095 !important; /* Muted warm grey */
}

/* Section Accent Bars (Royal Gold #C9A24D) */
.w-16.h-1.bg-amber-500,
.w-16.h-1.bg-\[\#C9A24D\],
.w-16.h-1.bg-\[\#C5A46D\] {
  background-color: #C9A24D !important;
}

/* ==========================================================================
   CARDS (Graphite #292929 with Antique Gold #A98542 Borders)
   ========================================================================== */
.glass-card,
.card-luxury {
  background: rgb(17, 17, 17) !important; /* rgb(17 17 17) !important */
  border: 1px solid rgba(169, 133, 66, 0.3) !important; /* Antique Gold */
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  color: #F5F1E8 !important;
}

.glass-card:hover,
.card-luxury:hover {
  border-color: #C9A24D !important; /* Royal Gold */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(201, 162, 77, 0.25) !important;
  transform: translateY(-3px);
}

.glass-card h3,
.glass-card h4 {
  color: #F5F1E8 !important; /* Ivory White */
}

/* Ivory Card Variant */
.pearl-card {
  background: #F5F1E8 !important;  /* Ivory White */
  color: rgb(17, 17, 17) !important;       /* Charcoal Black text */
  border: 1px solid #A98542 !important;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}

.pearl-card h2,
.pearl-card h3,
.pearl-card h4 {
  color: rgb(17, 17, 17) !important;
}

.pearl-card p {
  color: #333333 !important;
}

/* ==========================================================================
   FORM INPUTS (Graphite Base, Antique Gold Borders)
   ========================================================================== */
.custom-input {
  background: #1e1e1e !important;
  border: 1px solid rgba(169, 133, 66, 0.4) !important; /* Antique Gold */
  color: #F5F1E8 !important;                             /* Ivory White */
  transition: all 0.25s ease;
}

.custom-input:focus {
  border-color: #C9A24D !important;                      /* Royal Gold */
  box-shadow: 0 0 0 3px rgba(201, 162, 77, 0.25) !important;
  outline: none;
}

.capsule-pill {
  background: #202020 !important;
  border: 1px solid #A98542 !important; /* Antique Gold */
  color: #E7C878 !important;            /* Champagne Gold */
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(9, 9, 9, 0.97) !important; /* Obsidian Black */
  backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lightbox-modal.active {
  display: flex;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: #090909;
}
::-webkit-scrollbar-thumb {
  background: #292929;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C9A24D;
}

#winners-slider-track::-webkit-scrollbar,
.no-scrollbar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* ==========================================================================
   INFINITE AUTO-LOOP CAROUSEL (Winners Marquee)
   ========================================================================== */
@keyframes winners-marquee-anim {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.winners-marquee-track {
  display: flex !important;
  width: max-content !important;
  animation: winners-marquee-anim 55s linear infinite !important;
  will-change: transform;
}

.winners-marquee-track:hover,
#winners-marquee-container:hover .winners-marquee-track,
.winners-marquee-track.is-paused {
  animation-play-state: paused !important;
}

@media (max-width: 640px) {
  .winners-marquee-track {
    animation-duration: 42s !important;
  }
}

/* ==========================================================================
   ASSOCIATES MEDIA LOGO MARQUEE
   ========================================================================== */
@keyframes media-marquee-anim {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.media-marquee-track {
  display: flex !important;
  width: max-content !important;
  animation: media-marquee-anim 40s linear infinite !important;
  will-change: transform;
}

.media-marquee-track:hover,
#media-marquee-container:hover .media-marquee-track,
.media-marquee-track.is-paused {
  animation-play-state: paused !important;
}

@media (max-width: 640px) {
  .media-marquee-track {
    animation-duration: 20s !important;
  }
}

/* ==========================================================================
   INTERNAL PAGES COMPONENT STYLING (Obsidian & Graphite)
   ========================================================================== */
.winner-card,
.category-card,
.jury-card,
.media-card {
  background: rgb(17, 17, 17) !important; /* rgb(17 17 17) !important */
  border: 1px solid rgba(169, 133, 66, 0.3) !important; /* Antique Gold */
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  color: #F5F1E8 !important;
}

.winner-card:hover,
.category-card:hover,
.jury-card:hover,
.media-card:hover {
  border-color: #C9A24D !important; /* Royal Gold */
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75), 0 0 22px rgba(201, 162, 77, 0.3) !important;
  transform: translateY(-3px);
}

.winner-card h3,
.category-card h3,
.jury-card h3,
.media-card h3 {
  color: #F5F1E8 !important;
}

/* Filter Buttons & Active States */
.winner-filter-btn,
.cat-filter-btn,
.media-filter-btn {
  background: #292929 !important;
  border: 1px solid rgba(169, 133, 66, 0.35) !important;
  color: #A8A095 !important;
  transition: all 0.2s ease;
  cursor: pointer;
}

.winner-filter-btn:hover,
.cat-filter-btn:hover,
.media-filter-btn:hover {
  border-color: #C9A24D !important;
  color: #E7C878 !important;
  transform: translateY(-1px);
}

.filter-tab-active,
.cat-filter-btn.filter-tab-active,
.winner-filter-btn.filter-tab-active,
.media-filter-btn.filter-tab-active {
  background: #C9A24D !important; /* Royal Gold */
  color: #090909 !important;       /* Obsidian Black */
  border-color: #C9A24D !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(201, 162, 77, 0.4) !important;
}

/* Quote Boxes & Inner Cards */
.quote-box,
.inner-card,
.stat-box {
  background: #1b1b1b !important;
  border: 1px solid rgba(169, 133, 66, 0.25) !important;
  color: #A8A095 !important;
  border-radius: 10px;
}

/* Badge Tags & Labels */
.badge-tag,
.category-pill {
  background: rgba(17, 17, 17, 0.95) !important;
  border: 1px solid rgba(169, 133, 66, 0.45) !important;
  color: #E7C878 !important;
}

/* Main Content Overrides */
.section-ivory,
.main-content-ivory {
  background-color: rgb(17, 17, 17) !important;
  color: #F5F1E8 !important;
}

/* ==========================================================================
   HERO AWARDS ANIMATIONS (Continuous Loop + Interactive 3D Mouse Hover)
   ========================================================================== */
@keyframes awardFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-9px) rotate(1deg);
  }
}

@keyframes orbitSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseHalo {
  0%, 100% {
    opacity: 0.4;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.08);
  }
}

@keyframes shimmerBeam {
  0% {
    transform: translateX(-160%) rotate(25deg);
  }
  100% {
    transform: translateX(260%) rotate(25deg);
  }
}

@keyframes sparkleTwinkle {
  0%, 100% {
    opacity: 0.25;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

/* Idle Loop Animations */
.trophy-float-loop {
  animation: awardFloat 4.2s ease-in-out infinite;
  will-change: transform;
}

.orbit-spin-loop {
  animation: orbitSpin 16s linear infinite;
  will-change: transform;
}

.halo-pulse-loop {
  animation: pulseHalo 3.2s ease-in-out infinite;
  will-change: transform, opacity;
}

.sparkle-twinkle-loop {
  animation: sparkleTwinkle 2.4s ease-in-out infinite;
}

/* Continuous Shimmer sweep on Trophy Badge */
.trophy-shimmer-sweep::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(231, 200, 120, 0.35), transparent);
  transform: skewX(-25deg);
  animation: shimmerBeam 4.5s ease-in-out infinite;
  pointer-events: none;
}

/* Interactive 3D Mouse Hover Enhancements */
.trophy-interactive-card {
  transition: transform 0.18s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
}

.trophy-interactive-card:hover {
  border-color: #E7C878 !important;
  box-shadow: 0 0 50px rgba(231, 200, 120, 0.65), 0 0 90px rgba(201, 162, 77, 0.4), inset 0 0 20px rgba(231, 200, 120, 0.25) !important;
}

.trophy-interactive-card:hover .orbit-spin-loop {
  animation-duration: 4s; /* Speed up on hover */
  border-color: #E7C878 !important;
  box-shadow: 0 0 20px rgba(231, 200, 120, 0.6);
}

.trophy-interactive-card:hover .trophy-showcase-img {
  transform: scale(1.08) translateZ(30px);
  filter: drop-shadow(0 0 25px rgba(231, 200, 120, 0.75)) brightness(1.12);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.trophy-interactive-card:hover .halo-pulse-loop {
  opacity: 0.95;
  transform: scale(1.22);
  background: radial-gradient(circle, rgba(231, 200, 120, 0.5) 0%, rgba(201, 162, 77, 0.25) 50%, transparent 75%);
}

/* ==========================================================================
   USER DIRECTIVE: Dark Color rgb(17 17 17) / rgb(17, 17, 17) !important
   ========================================================================== */
:root {
  --charcoal-black: rgb(17, 17, 17) !important;
}

[class*="bg-[#171717]"],
[class*="bg-[#242424]"],
[class*="bg-[#111111]"],
.bg-charcoal,
.bg-charcoal-black,
.bg-hero-charcoal,
.hero-bg,
body.emerald-theme section.hero-section {
  background-color: rgb(17, 17, 17) !important;
}

/* ==========================================================================
   AUTOFILL OVERRIDE - PREVENT BROWSER DEFAULT BACKGROUND HIGHLIGHT
   ========================================================================== */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #292929 inset !important;
  box-shadow: 0 0 0 1000px #292929 inset !important;
  -webkit-text-fill-color: #F5F1E8 !important;
  color: #F5F1E8 !important;
  transition: background-color 5000000s ease-in-out 0s !important;
  caret-color: #F5F1E8 !important;
}

input:autofill,
textarea:autofill,
select:autofill {
  background-color: #292929 !important;
  color: #F5F1E8 !important;
  box-shadow: 0 0 0 1000px #292929 inset !important;
  -webkit-text-fill-color: #F5F1E8 !important;
}




