/* ====================================
   CSS Variables & Reset
   ==================================== */
:root {
    /* Colors */
    --primary: #8B4513;
    --primary-dark: #6B3410;
    --secondary: #FFF8DC;
    --gold: #D4AF37;
    --cream: #FFFEF0;
    --background: #FAF7F0;
    --foreground: #2C1810;
    --muted: #6B5B4F;
    --border: #E5D4C1;
    --accent: #C17817;
    
    /* Fonts */
    --font-serif: 'Cormorant Garamond', serif;
    --font-malayalam: 'Noto Sans Malayalam', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-malayalam);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '◆';
    display: block;
    color: var(--gold);
    font-size: 1rem;
    margin-top: 0.5rem;
    animation: titlePulse 2s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    font-size: 1.1rem;
}

.gold-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto var(--spacing-md);
}

/* ====================================
   Header
   ==================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 247, 240, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.15);
    background: rgba(250, 247, 240, 0.98);
}

.header.scrolled .logo-icon {
    background: linear-gradient(135deg, var(--primary), var(--gold));
    animation: logoRotate 0.5s ease;
}

@keyframes logoRotate {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg); }
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.5rem;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
}

.desktop-nav {
    display: none;
}

.nav-link {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 80%;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    display: block;
}

.hamburger::before,
.hamburger::after {
    content: '';
}

.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-top: 1px solid var(--border);
}

.mobile-nav.active {
    max-height: 400px;
    padding: var(--spacing-sm) 0;
}

.mobile-nav .nav-link {
    display: block;
    padding: var(--spacing-sm);
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        gap: var(--spacing-md);
    }
    
    .menu-toggle {
        display: none;
    }
    
    .mobile-nav {
        display: none;
    }
}

/* ====================================
   Hero Section
   ==================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(139, 69, 19, 0.95) 0%, rgba(212, 175, 55, 0.85) 50%, rgba(139, 69, 19, 0.95) 100%),
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(212, 175, 55, 0.03) 10px, rgba(212, 175, 55, 0.03) 20px),
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 69, 19, 0.2) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 400% 400%, auto, 150% 150%, 150% 150%, 60px 60px;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%, 0 0, 20% 50%, 80% 50%, 0 0; }
    50% { background-position: 100% 50%, 30px 30px, 80% 50%, 20% 50%, 30px 30px; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.4),
        rgba(0, 0, 0, 0.7)
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
    max-width: 900px;
    animation: fadeUp 1s ease-out;
}

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

.om-symbol {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: var(--spacing-md);
    font-family: var(--font-serif);
    animation: omGlow 3s ease-in-out infinite;
    text-shadow: 
        0 0 20px rgba(212, 175, 55, 0.8),
        0 0 40px rgba(212, 175, 55, 0.5),
        0 0 60px rgba(212, 175, 55, 0.3);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes omGlow {
    0%, 100% { 
        transform: scale(1);
        text-shadow: 
            0 0 20px rgba(212, 175, 55, 0.8),
            0 0 40px rgba(212, 175, 55, 0.5),
            0 0 60px rgba(212, 175, 55, 0.3);
    }
    50% { 
        transform: scale(1.1);
        text-shadow: 
            0 0 30px rgba(212, 175, 55, 1),
            0 0 60px rgba(212, 175, 55, 0.7),
            0 0 90px rgba(212, 175, 55, 0.5);
    }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--cream);
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    padding: var(--spacing-md) 0;
}

.hero-title::before,
.hero-title::after {
    content: '✦';
    display: block;
    color: var(--gold);
    font-size: 1.5rem;
    margin: var(--spacing-sm) auto;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.5; transform: rotate(0deg); }
    50% { opacity: 1; transform: rotate(180deg); }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: rgba(255, 254, 240, 0.9);
    margin-bottom: var(--spacing-xl);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    min-width: 200px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: scale(0.95);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--accent));
    color: var(--foreground);
    border: 2px solid var(--gold);
    position: relative;
    z-index: 1;
}

.btn-gold:hover {
    background: transparent;
    color: var(--gold);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.btn-primary {
    background: transparent;
    color: var(--cream);
    border: 2px solid var(--cream);
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    background: var(--cream);
    color: var(--primary);
    box-shadow: 0 6px 20px rgba(255, 254, 240, 0.3);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 254, 240, 0.5);
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 8px 0;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 254, 240, 0.7);
    border-radius: 2px;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .om-symbol {
        font-size: 5rem;
    }
}

/* ====================================
   About Section
   ==================================== */
.about {
    padding: 5rem 0;
    background: 
        linear-gradient(180deg, rgba(250, 247, 240, 0.98), rgba(255, 248, 220, 0.98)),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23D4AF37' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    position: relative;
}

.about-grid {
    display: grid;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.about-text p {
    margin-bottom: var(--spacing-md);
    color: var(--muted);
    line-height: 1.8;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.info-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 12px 30px rgba(212, 175, 55, 0.2),
        0 0 0 1px rgba(212, 175, 55, 0.3);
    border-color: var(--gold);
}

.info-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--secondary), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.info-card:hover .info-icon {
    transform: rotate(360deg) scale(1.1);
    background: linear-gradient(135deg, var(--gold), var(--primary));
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-card h3 {
    font-size: 1.25rem;
    color: var(--foreground);
    margin-bottom: var(--spacing-xs);
}

.info-card p {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0.25rem 0;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* ====================================
   Gallery Section
   ==================================== */
.gallery {
    padding: 5rem 0;
    background: 
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.98)),
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238B4513' fill-opacity='0.02'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    min-height: 200px;
    background: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(139, 69, 19, 0.1));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.25);
}

.gallery-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: var(--transition);
}

.gallery-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.gallery-item:hover .gallery-placeholder img {
    transform: scale(1.05);
}

/* ====================================
   Committee Section
   ==================================== */
.committee {
    padding: 5rem 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.committee-card {
    background: white;
    padding: var(--spacing-xl) var(--spacing-lg);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.committee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
    background-size: 200% 100%;
    animation: gradientSlide 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.committee-card:hover::before {
    opacity: 1;
}

@keyframes gradientSlide {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.committee-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 12px 30px rgba(212, 175, 55, 0.2),
        0 0 0 1px rgba(212, 175, 55, 0.3);
}

.committee-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--secondary), rgba(212, 175, 55, 0.3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 3px solid transparent;
}

.committee-card:hover .committee-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--cream);
    transform: scale(1.1) rotate(5deg);
    border-color: var(--gold);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.committee-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.committee-card h3 {
    font-size: 1.5rem;
    color: var(--foreground);
    margin-bottom: var(--spacing-xs);
}

.committee-card .role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.committee-card .description {
    color: var(--muted);
    font-size: 0.9rem;
}

/* ====================================
   Events Section
   ==================================== */
.events {
    padding: 5rem 0;
    background: 
        linear-gradient(180deg, rgba(255, 248, 220, 0.8), rgba(255, 248, 220, 0.8)),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238B4513' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    position: relative;
    overflow: hidden;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.event-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.event-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--gold), var(--primary));
    transition: height 0.3s ease;
}

.event-card:hover::after {
    height: 100%;
}

.event-card:hover {
    transform: translateX(8px);
    box-shadow: 
        -4px 8px 20px rgba(212, 175, 55, 0.15),
        0 0 0 1px rgba(212, 175, 55, 0.1);
    border-left-color: transparent;
}

.event-card h3 {
    font-size: 1.5rem;
    color: var(--foreground);
    margin-bottom: var(--spacing-md);
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.event-detail {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--muted);
    font-size: 0.9rem;
}

.event-detail svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

.event-card > p {
    color: var(--muted);
    line-height: 1.6;
}

/* ====================================
   Footer
   ==================================== */
.footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary) 100%);
    color: rgba(255, 254, 240, 0.9);
    padding: var(--spacing-2xl) 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-grid {
    display: grid;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
    color: var(--gold);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 254, 240, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.25rem;
}

.footer-section p {
    margin-bottom: var(--spacing-md);
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 254, 240, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    transition: var(--transition);
    border: 2px solid transparent;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--gold), var(--accent));
    color: var(--foreground);
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    border-color: var(--gold);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section ul li a {
    color: rgba(255, 254, 240, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.contact-info li {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
}

.contact-info svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 254, 240, 0.2);
    padding: var(--spacing-md) 0;
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ====================================
   Utilities
   ==================================== */
   
/* Decorative corners for sections */
.about::before,
.gallery::after,
.committee::before,
.events::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,0 Q50,0 50,50 Q50,0 100,0' stroke='%23D4AF37' stroke-width='2' fill='none' opacity='0.3'/%3E%3C/svg%3E");
    background-size: contain;
    pointer-events: none;
}

.about::before {
    top: 20px;
    left: 20px;
}

.gallery::after {
    top: 20px;
    right: 20px;
    transform: rotate(90deg);
}

.committee::before {
    bottom: 20px;
    left: 20px;
    transform: rotate(270deg);
}

.events::after {
    bottom: 20px;
    right: 20px;
    transform: rotate(180deg);
}

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Smooth scroll offset for fixed header */
section {
    scroll-margin-top: 70px;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .header,
    .hero,
    .footer {
        display: none;
    }
}
