/* ============================================
   RESOLUTION BALL - CORE STYLES
   Colors: Deep Blue (#0a1628), Gold (#c9a84c), Silver (#c0c0c0)
   ============================================ */

/* ----- CSS Variables (Theme) ----- */
:root {
    --color-deep-blue: #0a1628;
    --color-deep-blue-light: #142a4a;
    --color-gold: #c9a84c;
    --color-gold-light: #e8d08a;
    --color-gold-dark: #a8893a;
    --color-silver: #c0c0c0;
    --color-silver-light: #e0e0e0;
    --color-silver-dark: #8a8a8a;
    --color-white: #ffffff;
    --color-off-white: #f5f0eb;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-speed: 0.4s;
    --max-width: 1200px;
    --header-height: 80px;
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-deep-blue);
    background-color: var(--color-off-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--color-gold-light);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ----- Typography ----- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

h4 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title span {
    color: var(--color-gold);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-silver-dark);
    max-width: 700px;
    margin: -1rem auto 2.5rem;
}

/* ----- Buttons ----- */
.btn-primary {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: var(--color-gold);
    color: var(--color-deep-blue);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background var(--transition-speed) ease, transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    text-align: center;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: var(--color-gold-light);
    color: var(--color-deep-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.35);
}

.btn-secondary {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: transparent;
    color: var(--color-white);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--color-gold);
    border-radius: 50px;
    cursor: pointer;
    transition: background var(--transition-speed) ease, color var(--transition-speed) ease;
    text-align: center;
}

.btn-secondary:hover {
    background: var(--color-gold);
    color: var(--color-deep-blue);
}

.btn-ticket-header {
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
}

/* ----- Hero Section (shared) ----- */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    background: var(--color-deep-blue);
    padding: 4rem 1.5rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(192, 192, 192, 0.08) 0%, transparent 50%),
        var(--color-deep-blue);
    z-index: 1;
}

/* Subtle gold particle overlay (optional) */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(201, 168, 76, 0.3), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(201, 168, 76, 0.2), transparent),
        radial-gradient(2px 2px at 60% 20%, rgba(201, 168, 76, 0.3), transparent),
        radial-gradient(2px 2px at 80% 80%, rgba(201, 168, 76, 0.2), transparent);
    background-size: 200px 200px;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    margin-bottom: 1rem;
}

.hero h1 .highlight {
    color: var(--color-gold);
}

.hero p {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.3rem 1.2rem;
    border: 1px solid var(--color-gold);
    border-radius: 50px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ----- Header / Navigation ----- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    height: var(--header-height);
    transition: background var(--transition-speed) ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-white);
}

.logo-icon {
    color: var(--color-gold);
    font-size: 1.6rem;
}

.logo-text {
    color: var(--color-white);
}

.logo-accent {
    color: var(--color-gold);
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-list a {
    color: var(--color-silver-light);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: 0.25rem 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width var(--transition-speed) ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-list a.active {
    color: var(--color-gold);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--color-white);
    position: relative;
    transition: background 0.2s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 2px;
    background: var(--color-white);
    transition: transform 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* ----- Footer ----- */
.site-footer {
    background: var(--color-deep-blue);
    color: var(--color-silver-light);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand .logo-text {
    font-size: 1.3rem;
}

.footer-brand p {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    opacity: 0.8;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4,
.footer-ellie h4 {
    color: var(--color-gold);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: var(--color-silver-light);
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--color-gold);
}

.footer-contact p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-contact a {
    color: var(--color-gold);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--color-silver-light);
    font-size: 0.8rem;
    transition: all var(--transition-speed) ease;
}

.footer-social a:hover {
    background: var(--color-gold);
    color: var(--color-deep-blue);
    border-color: var(--color-gold);
}

.ellie-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-gold);
}

.ellie-tagline {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    opacity: 0.6;
}

.footer-legal {
    font-size: 0.7rem;
}

/* ============================================
   DESKTOP-ONLY TRANSITIONS
   (Disabled on mobile via media query)
   ============================================ */
@media (hover: hover) and (min-width: 769px) {
    /* All transitions are enabled by default.
       The key is that on mobile (touch devices),
       we disable hover-based transitions.
       We handle this by using the hover media feature. */
    
    .btn-primary,
    .btn-secondary,
    .nav-list a,
    .footer-social a,
    .logo {
        transition: all var(--transition-speed) ease;
    }
    
    /* Fade-in animation for sections */
    .fade-in {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Hover scale for cards */
    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 60px rgba(10, 22, 40, 0.15);
    }
}

/* ============================================
   RESPONSIVE - TABLETS & MOBILE
   ============================================ */

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-list {
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-deep-blue);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.25rem;
        border-bottom: 1px solid rgba(201, 168, 76, 0.15);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.35s ease, opacity 0.35s ease;
        pointer-events: none;
    }
    
    .nav-list.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-list a {
        font-size: 1.1rem;
    }
    
    .btn-ticket-header {
        display: none;
    }
    
    .hero {
        min-height: 70vh;
        padding: 6rem 1.5rem 3rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    /* Disable all transitions on mobile */
    *,
    *::before,
    *::after {
        transition-duration: 0s !important;
        animation-duration: 0s !important;
    }
    
    .fade-in {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .card:hover {
        transform: none !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-badge {
        font-size: 0.6rem;
        padding: 0.2rem 1rem;
    }
}