/* 
   ==========================================================================
   GMUN XI - Custom Style Sheet
   STUDENT EDIT NOTE:
   This file contains custom layout classes, animations, and transitions. 
   You can change variables here to update the aesthetics of all pages.
   ==========================================================================
*/

/* Custom Colors & Style Utilities */
.gold-text {
    /* Student Edit: Change the color gradient values below to alter the main Gold theme */
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.silver-text {
    /* Student Edit: Change the color gradient values below to alter the Silver highlights */
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.gold-border {
    border: 1px solid rgba(245, 158, 11, 0.2);
    transition: border-color 0.3s ease;
}

.gold-border:hover {
    border-color: rgba(245, 158, 11, 0.4);
}

/* Glassmorphism Styles */
.glass {
    /* Student Edit: Change background opacity (0.3) or blur value (12px) to adjust readability */
    background: rgba(18, 33, 49, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.glass:hover {
    background: rgba(18, 33, 49, 0.4);
}

.glass-strong {
    background: rgba(18, 33, 49, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(245, 158, 11, 0.15);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.glass-strong:hover {
    background: rgba(18, 33, 49, 0.7);
    border-color: rgba(245, 158, 11, 0.3);
}

/* Marquee Animation (Hero Section & Footers) */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

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

/* Scroll Entrance Animations */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.scale-item {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-item.active {
    opacity: 1;
    transform: scale(1);
}

/* Transitions Delay Modifiers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Day Tab Switch Animation */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.98) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.animate-fade-in-scale {
    animation: fadeInScale 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#itinerary-tabs button {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#itinerary-tabs button .font-serif {
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Timeline Items Staggered Slide In */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-in-left {
    opacity: 0;
    animation: slideInFromLeft 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-in-right {
    opacity: 0;
    animation: slideInFromRight 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Timeline Stagger Delay Modifiers */
.anim-delay-100 { animation-delay: 100ms; }
.anim-delay-200 { animation-delay: 200ms; }
.anim-delay-300 { animation-delay: 300ms; }
.anim-delay-400 { animation-delay: 400ms; }
.anim-delay-500 { animation-delay: 500ms; }
.anim-delay-600 { animation-delay: 600ms; }
