/* =========================================
   VARIABLES & GLOBAL TOKENS
   ========================================= */
:root {
    /* Brand Colors extracted from Logo */
    --color-primary-green: #0a5028;
    --color-primary-brown: #50463c;
    --color-accent-gold: #c4a661;
    
    /* Neutral Colors */
    --color-bg-light: #fdfdfc;
    --color-text-main: #1a1a1a;
    --color-text-muted: #666666;
    --color-white: #ffffff;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Spacing & Layout */
    --container-max-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeScaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* =========================================
   HEADER
   ========================================= */
.header {
    width: 100%;
    padding: var(--spacing-md) 0;
    display: flex;
    justify-content: center;
    background-color: var(--color-white);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 10;
    animation: fadeInUp 0.8s ease forwards;
}

.logo-container {
    max-width: 280px;
    padding: 0 var(--spacing-md);
}

.main-logo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* =========================================
   MAIN CONTENT
   ========================================= */
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) var(--spacing-md);
    max-width: var(--container-max-width);
    margin: 0 auto;
    width: 100%;
    gap: var(--spacing-lg);
}

.image-wrapper {
    width: 100%;
    max-width: 800px;
    animation: fadeScaleIn 1s ease 0.2s forwards;
    opacity: 0;
}

.image-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(10, 80, 40, 0.15);
    background-color: var(--color-white);
    padding: 10px;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(10, 80, 40, 0.1);
    border-radius: 16px;
    pointer-events: none;
    z-index: 2;
}

.event-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    transition: transform 0.6s ease;
}

.image-frame:hover .event-image {
    transform: scale(1.03);
}

.text-section {
    text-align: center;
    max-width: 700px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--color-primary-green);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
    font-weight: 700;
}

.subheading {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.highlight {
    font-weight: 600;
    color: var(--color-primary-brown);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary-brown);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.text-section:hover .highlight::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: var(--color-primary-green);
    color: var(--color-white);
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay for premium feel */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    position: relative;
    z-index: 1;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.footer-logo-wrapper {
    max-width: 200px;
    margin-bottom: var(--spacing-sm);
}

.footer-logo {
    width: 100%;
    height: auto;
    /* MAGIC TRICK: Turns a dark logo on white background into a white logo with transparent background */
    filter: grayscale(100%) invert(100%) contrast(500%);
    mix-blend-mode: screen;
    opacity: 0.9;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
}

.credit {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--spacing-xs);
}

.socos-link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
}

.socos-link:hover {
    color: var(--color-accent-gold);
    border-bottom-color: var(--color-accent-gold);
}

/* =========================================
   MEDIA QUERIES
   ========================================= */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-lg: 3rem;
    }
    
    .logo-container {
        max-width: 220px;
    }
    
    .image-frame {
        padding: 6px;
        border-radius: 12px;
    }
    
    .image-frame::before {
        border-radius: 12px;
    }
    
    .footer-logo-wrapper {
        max-width: 160px;
    }
}

@media (max-width: 480px) {
    .logo-container {
        max-width: 180px;
    }
    
    .footer {
        padding: var(--spacing-md) var(--spacing-sm);
    }
}
