/* ==========================================================================
   assets/css/style.css - Custom Components & Layout Styles
   ========================================================================== */

/* Custom Glassmorphism Panels */
.glass-panel {
    background: rgba(20, 20, 22, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Base Component Classes */
.nav-link {
    transition: all 0.2s ease-in-out;
    outline: none;
}
.nav-link:hover {
    color: #D4AF37;
    text-decoration: underline;
    text-decoration-color: #D4AF37;
    text-underline-offset: 8px;
}

.dropdown-link {
    display: block;
    transition: all 0.2s ease-in-out;
}
.dropdown-link:hover {
    color: #D4AF37;
    text-decoration: underline;
    text-decoration-color: #D4AF37;
    text-underline-offset: 4px;
}

.event-card {
    background: rgba(20, 20, 22, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}
.event-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-0.5rem);
}

.btn-primary {
    /* Layout & Alignment (Fixes Vertical Centering) */
    display: inline-flex;
    align-items: center;      /* Vertically centers text */
    justify-content: center;  /* Horizontally centers text */

    /* Colors & Styling */
    background-color: #ba0202;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    
    /* Text Styles */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    text-decoration: none;    /* Prevents link underline */
    line-height: 1;           /* Ensures equal line height top and bottom */

    /* Animation */
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #b91c1c;
}
.btn-outline-gold {
    border: 1px solid #D4AF37;
    color: #D4AF37;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    text-align: center;
}
.btn-outline-gold:hover {
    background-color: #D4AF37;
    color: #000000;
}

.form-input {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    color: #ffffff;
    transition: border-color 0.2s ease;
}
.form-input:focus {
    outline: none;
    border-color: #D4AF37;
}

.form-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    color: #9ca3af;
    margin-bottom: 0.375rem;
}

@keyframes infiniteMarquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.animate-infinite-marquee {
    animation: infiniteMarquee 70s linear infinite;
}

/* Optional: Pause marquee when user hovers over any brand name */
.animate-infinite-marquee:hover {
    animation-play-state: paused;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0B0B0C;
}
::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b91c1c;
}
/* ==========================================================================
   Fix Desktop Dropdown Hover Gap
   ========================================================================== */

/* Creates an invisible hover bridge between top navigation links and dropdown menus */
.group .absolute::before {
    content: "";
    position: absolute;
    top: -15px; /* Bridges the gap above the dropdown */
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}
/* ==========================================================================
   Hero & Text Accent Helpers
   ========================================================================== */
.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}
/* ==========================================================================
   Stats Banner Specific Styles
   ========================================================================== */
.bg-darkgray {
    background-color: #0d0d0e;
}

.text-gold {
    color: #D4AF37;
}

.border-gold\/10 {
    border-color: rgba(212, 175, 55, 0.1);
}

.border-gold\/20 {
    border-color: rgba(212, 175, 55, 0.2);
}
/* ==========================================================================
   Awards Section Styles & Colors
   ========================================================================== */
.bg-obsidian {
    background-color: #0b0b0c;
}

.bg-crimson {
    background-color: #ba0202;
}

.text-crimson {
    color: #ba0202;
}

.border-crimson\/20 {
    border-color: rgba(186, 2, 2, 0.2);
}

.border-crimson\/30 {
    border-color: rgba(186, 2, 2, 0.3);
}

.bg-crimson\/10 {
    background-color: rgba(186, 2, 2, 0.1);
}

/* Screen blend helper for award badges with white backgrounds */
.mix-blend-screen {
    mix-blend-mode: screen;
}
/* ==========================================================================
   Story & Timeline Section Custom Styles
   ========================================================================== */
.timeline-item {
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Timeline entrance animation states */
.timeline-item.fade-in-init {
    opacity: 0;
    transform: translateX(-20px);
}

.timeline-item.fade-in-active {
    opacity: 1;
    transform: translateX(0);
}
/* Custom Line Clamp Utilities for Cards */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* ==========================================================================
   Article & Reading Layout Extensions
   ========================================================================== */

.article-content h2 {
    font-family: "Playfair Display", serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .article-content h2 {
        font-size: 2.25rem;
    }
}

.article-content h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #D4AF37;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-content p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #d1d5db;
    margin-bottom: 1.25rem;
}

.article-content ul, 
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.25rem;
    color: #d1d5db;
}

.article-content li {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.article-content figure {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.article-content figcaption {
    font-size: 0.75rem;
    color: #9ca3af;
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}
/* Instagram Embed Dark Mode & Full Frame Alignment */
.instagram-media {
    min-width: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    background: #000000 !important;
    border: none !important;
    border-radius: 0.75rem !important;
    box-shadow: none !important;
}

/* TikTok Embed Container Force Fitting */
.tiktok-embed {
    min-width: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}