/* ========================================================
   SIRIDHAMMA COLLEGE — FUTURISTIC DESIGN SYSTEM
   ======================================================== */

:root {
    /* Core palette */
    --glass-bg: rgba(17, 24, 39, 0.6);
    --glass-bg-hover: rgba(31, 41, 55, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-strong: rgba(255, 255, 255, 0.25);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --glass-shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.5);
    --glass-blur: 16px;
    --glass-blur-heavy: 24px;

    /* Brand colors */
    --primary: #00d4ff; /* Cyan accent */
    --primary-light: #4ade80;
    --accent: #faa61c; /* Golden amber */
    --accent-glow: rgba(250, 166, 28, 0.35);

    /* Semantic */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --bg-body: #0a0e1a; /* Dark navy */
    --bg-section: #111827;

    /* Blobs */
    --blob-1: rgba(17, 0, 110, 0.3);
    --blob-2: rgba(250, 166, 28, 0.2);
    --blob-3: rgba(0, 212, 255, 0.15);
    --blob-4: rgba(139, 92, 246, 0.2);
    --blob-5: rgba(16, 185, 129, 0.15);

    /* Transitions */
    --ease-liquid: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 999px;
}

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

html {
    scroll-behavior: smooth;
}

html, body {
    font-family: 'Inter', 'Yaldevi', sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

/* ============= Ambient Background Blobs ============= */
.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.8;
}

.blob-1 { width: 50vw; height: 50vw; background: var(--blob-1); top: -20%; left: -10%; animation: blobFloat 20s ease-in-out infinite alternate; }
.blob-2 { width: 40vw; height: 40vw; background: var(--blob-2); top: 30%; right: -10%; animation: blobFloat 25s ease-in-out infinite alternate-reverse; }
.blob-3 { width: 35vw; height: 35vw; background: var(--blob-3); bottom: -10%; left: 20%; animation: blobFloat 22s ease-in-out infinite alternate; }

@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* ============= Common Glass Class ============= */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* ============= NAVBAR ============= */
.navbar {
    background: rgba(10, 14, 26, 0.7);
    backdrop-filter: blur(var(--glass-blur-heavy));
    -webkit-backdrop-filter: blur(var(--glass-blur-heavy));
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: padding 0.3s var(--ease-liquid);
}

.navbar.scrolled {
    padding: 8px 0;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo1 {
    width: 40px;
    height: 52px;
    object-fit: contain;
}

.logo2 {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.logo-text h1 {
    font-family: 'Yaldevi', sans-serif;
    font-size: 20px;
    color: #fff;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 1px;
}

.logo-text p {
    font-size: 12px;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 1.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    padding: 6px;
    border-radius: var(--radius-pill);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: #0a0e1a;
    background: var(--primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.nav-link.admin-link {
    color: var(--accent);
    background: rgba(250, 166, 28, 0.1);
    border: 1px solid rgba(250, 166, 28, 0.3);
}
.nav-link.admin-link:hover {
    background: rgba(250, 166, 28, 0.2);
    color: #fff;
}

.nav-link.ticket-link {
    color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.nav-link.ticket-link:hover {
    background: rgba(0, 212, 255, 0.2);
    color: #fff;
}

/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: 1px solid #fff;
    color: var(--accent);
    padding: 6px 20px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    transition: all 0.3s ease;
}
.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Auth Controls */
.auth-controls {
    margin-left: 8px;
    display: flex;
    align-items: center;
}

.btn-signin {
    background: transparent;
    color: #fff;
    border: 1px solid var(--glass-border);
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-signin:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    object-fit: cover;
}

.btn-signout {
    background: transparent;
    border: 1.5px solid var(--glass-border);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-signout:hover {
    color: var(--accent);
    border-color: var(--accent);
}
/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.menu-toggle span {
    width: 24px; height: 2px;
    background: #fff;
    transition: 0.3s;
    transform-origin: center;
}

/* Hamburger -> X animation when menu is open */
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dimmed backdrop behind the mobile menu */
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.nav-backdrop.open {
    display: block;
    opacity: 1;
}

/* Prevent background scroll/jitter while the mobile menu is open */
body.nav-open {
    overflow: hidden;
}

/* ============= MODAL ============= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.4); /* Refraction highlight */
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s;
}
.close-modal:hover { color: #fff; }

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}
.modal-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
    margin: 0 auto 16px;
}
.modal-header h2 { font-size: 24px; margin-bottom: 8px; }
.modal-header p { color: var(--text-secondary); font-size: 14px; }

.form-group { margin-bottom: 16px; }
.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: inherit;
    transition: border-color 0.3s;
}
.form-group input:focus {
    outline: none;
    border-color: var(--accent);
}

.btn {
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    text-decoration: none;
}
.w-100 { width: 100%; }

.btn-primary {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 20px rgba(250, 166, 28, 0.4);
}
.btn-primary:hover {
    box-shadow: 0 0 30px rgba(250, 166, 28, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid var(--glass-border);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: var(--text-secondary);
    font-size: 14px;
}
.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--glass-border);
}
.divider span { padding: 0 10px; }

.auth-error { color: #ef4444; font-size: 14px; margin-bottom: 16px; text-align: center; }

/* ============= HERO ============= */
.hero-section {
    padding: 80px 24px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.image-section { flex: 1; }
.image-section img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
}

.content-section { flex: 1; }

.hero-glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--glass-shadow);
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(250, 166, 28, 0.1);
    border: 1px solid rgba(250, 166, 28, 0.3);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Yaldevi', sans-serif;
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-highlight { color: var(--accent); }

.hero-subtitle { color: var(--text-secondary); margin-bottom: 20px; font-size: 16px; }
.quote { color: var(--primary); font-style: italic; margin-top: 24px; font-weight: 600; }

.hero-actions { display: flex; gap: 16px; margin-top: 30px; justify-content: center; }

/* ============= CONNECT / SOCIAL ============= */
.connect-section { padding: 80px 24px; }
.section-container { max-width: 1200px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 50px; }
.section-tag {
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}
.section-title { font-family: 'Yaldevi', sans-serif; font-size: 2.5rem; margin-bottom: 12px; }
.section-desc { color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

.social-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }

.social-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.social-card:hover {
    transform: translateY(-5px);
}

.social-icon { font-size: 32px; }
.social-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: #fff;
    letter-spacing: 0;
}
.social-card.facebook .social-mark { background: #3b5998; }
.social-card.instagram .social-mark { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-card.youtube .social-mark { background: #ff0000; }
.social-card.whatsapp .social-mark { background: #25d366; color: #053b1a; }
.social-card.tiktok .social-mark { background: #111; border: 1px solid #444; }
.social-info h3 { font-size: 18px; margin-bottom: 4px; }
.brand-text { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.social-desc { font-size: 12px; color: var(--text-muted); }

.social-card.facebook .brand-text { color: #3b5998; }
.social-card.facebook:hover { box-shadow: 0 10px 30px rgba(59, 89, 152, 0.3); border-color: rgba(59, 89, 152, 0.5); }
.social-card.facebook .facebook-btn { background: #3b5998; color: white; border: none; }

.social-card.instagram .brand-text { color: #e1306c; }
.social-card.instagram:hover { box-shadow: 0 10px 30px rgba(225, 48, 108, 0.3); border-color: rgba(225, 48, 108, 0.5); }
.social-card.instagram .instagram-btn { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; border: none; }

.social-card.youtube .brand-text { color: #ff0000; }
.social-card.youtube:hover { box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3); border-color: rgba(255, 0, 0, 0.5); }
.social-card.youtube .youtube-btn { background: #ff0000; color: white; border: none; }

.social-card.whatsapp .brand-text { color: #25d366; }
.social-card.whatsapp:hover { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3); border-color: rgba(37, 211, 102, 0.5); }
.social-card.whatsapp .whatsapp-btn { background: #25d366; color: white; border: none; }

.social-card.tiktok .brand-text { color: #fff; }
.social-card.tiktok:hover { box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.3); }
.social-card.tiktok .tiktok-btn { background: #222; color: white; border: 1px solid #444; }

.social-btn {
    text-align: center;
    padding: 10px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    transition: opacity 0.3s;
}
.social-btn:hover { opacity: 0.8; }

/* ============= EVENTS & GALLERY============= */
.events-section, .gallery-section { padding: 80px 24px; }
.events-home { display: flex; flex-direction: column; gap: 24px; }
.events-container,
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 320px));
    justify-content: center;
    gap: 24px;
}

.event-feature-link,
.event-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    overflow: hidden;
    color: inherit;
}

.event-feature-link {
    display: grid;
    grid-template-columns: minmax(240px, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    text-decoration: none;
    transition: transform 0.25s var(--ease-liquid), box-shadow 0.25s var(--ease-liquid);
}
.event-feature-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--glass-shadow-hover);
}
.event-card { height: 100%; }
.event-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}
.event-feature-link:focus-visible,
.event-card-link:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--primary), var(--glass-shadow);
}

.event-media {
    position: relative;
    overflow: hidden;
    background: #0b1020;
    min-height: 220px;
}
.event-feature .event-media,
.event-card .event-media { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
.event-feature .event-media { align-self: center; width: 100%; }
.event-media-fill {
    position: absolute;
    inset: -12%;
    width: 124%;
    height: 124%;
    object-fit: cover;
    filter: blur(22px) saturate(1.2);
    opacity: 0.65;
}
.event-media-poster {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.35s var(--ease-liquid);
}
.event-feature-link:hover .event-media-poster,
.event-card-link:hover .event-media-poster { transform: scale(1.03); }

.event-feature-body,
.event-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 28px 32px;
}
.event-content { padding: 18px 18px 20px; gap: 8px; flex: 1; }

.event-kicker {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.event-kicker.is-upcoming {
    color: var(--accent);
    background: rgba(250, 166, 28, 0.14);
    border: 1px solid rgba(250, 166, 28, 0.45);
}
.event-kicker.is-recent {
    color: var(--primary);
    background: rgba(0, 212, 255, 0.12);
    border: 1px solid rgba(0, 212, 255, 0.35);
}

.event-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.event-icon { flex-shrink: 0; }
.event-title {
    font-family: 'Yaldevi', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}
.event-feature .event-title { font-size: clamp(1.55rem, 2.4vw, 2.05rem); }
.event-card .event-title { font-size: 1.2rem; }
.event-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}
.event-feature .event-desc { -webkit-line-clamp: 5; }
.event-card .event-desc { -webkit-line-clamp: 3; font-size: 14px; }

.event-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    transition: gap 0.2s var(--ease-liquid);
}
.event-feature-link:hover .event-cta { gap: 12px; }

.event-skeleton {
    display: grid;
    grid-template-columns: minmax(240px, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    pointer-events: none;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.event-skeleton .event-feature-media { aspect-ratio: 16 / 9; min-height: 0; }
.skeleton-shimmer,
.skeleton-line {
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.04) 75%);
    background-size: 200% 100%;
    animation: eventShimmer 1.2s ease-in-out infinite;
}
.skeleton-line {
    display: block;
    height: 14px;
    width: 100%;
    border-radius: var(--radius-pill);
}
.skeleton-w-30 { width: 30%; }
.skeleton-w-55 { width: 55%; }
.skeleton-w-80 { width: 80%; height: 28px; }
.skeleton-pill { width: 88px; height: 36px; flex-shrink: 0; }

.event-card-skeleton { pointer-events: none; }
.event-card-skeleton .skeleton-w-80 { height: 20px; }
.event-card-skeleton .event-media { aspect-ratio: 16 / 9; min-height: 0; }

.gallery-skeleton { pointer-events: none; }
.gallery-skeleton .skeleton-shimmer { position: absolute; inset: 0; }

.full-gallery-skeleton { pointer-events: none; }
.full-gallery-skeleton:hover { transform: none; }
@keyframes eventShimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

@media (max-width: 768px) {
    .event-feature-link,
    .event-skeleton {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .event-feature .event-media,
    .event-skeleton .event-feature-media { height: auto; aspect-ratio: 16 / 9; min-height: 0; }
    .event-feature-body { padding: 20px; }
}

body.light-mode .event-media { background: #dbe3ef; }
body.light-mode .event-date { color: #8a5608; }
body.light-mode .event-kicker.is-upcoming {
    color: #7a4e00;
    background: rgba(250, 166, 28, 0.18);
    border-color: rgba(122, 78, 0, 0.28);
}
body.light-mode .event-kicker.is-recent {
    color: #055a99;
    background: rgba(0, 102, 204, 0.1);
    border-color: rgba(0, 90, 153, 0.28);
}
body.light-mode .skeleton-shimmer,
body.light-mode .skeleton-line {
    background: linear-gradient(90deg, rgba(15,23,42,0.06) 25%, rgba(15,23,42,0.12) 50%, rgba(15,23,42,0.06) 75%);
    background-size: 200% 100%;
}

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    border: 1px solid var(--glass-border);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px 16px 16px;
    color: #fff; font-size: 14px;
    transform: translateY(100%); transition: transform 0.3s;
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

.no-data { text-align: center; color: var(--text-muted); padding: 40px; grid-column: 1 / -1; background: rgba(255,255,255,0.02); border-radius: var(--radius-md); border: 1px dashed var(--glass-border); }

/* ============= FULL GALLERY PAGE ============= */
.full-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.full-gallery-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s;
}
.full-gallery-item:hover { transform: translateY(-5px); }

.full-gallery-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: rgba(0,0,0,0.2);
}
.full-gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.full-gallery-item:hover .full-gallery-img-wrap img { transform: scale(1.06); }

.download-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border-strong);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.download-btn:hover {
    background: var(--primary);
    color: #0a0e1a;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
    border-color: transparent;
}
.download-btn:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

.full-gallery-caption-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
}
.full-gallery-caption-bar .caption-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}
.full-gallery-caption-bar .download-btn-inline {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.full-gallery-caption-bar .download-btn-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
    background: var(--primary);
    color: #0a0e1a;
    border-color: transparent;
}
.full-gallery-caption-bar .download-btn-inline:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

@media (max-width: 480px) {
    .full-gallery-grid { grid-template-columns: 1fr; }
}

/* ============= FOOTER ============= */
.footer { padding: 40px 24px; border-top: 1px solid var(--glass-border); background: rgba(0,0,0,0.3); text-align: center; }
.footer h3 { font-family: 'Yaldevi', sans-serif; font-size: 20px; margin-bottom: 4px; }
.footer p { color: var(--text-secondary); font-size: 14px; }
.footer .footer-tagline { color: var(--accent); margin: 8px 0 16px; }
.footer .copyright { font-size: 12px; color: var(--text-muted); }

/* ============= RESPONSIVE ============= */
@media (max-width: 992px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-actions { justify-content: center; }
    .nav-menu {
        position: fixed; top: 0; right: 0; transform: translateX(100%); width: 80%; max-width: 300px; height: 100vh;
        flex-direction: column; justify-content: flex-start; align-items: stretch;
        background: rgba(10, 14, 26, 0.95);
        backdrop-filter: blur(20px); border-left: 1px solid var(--glass-border);
        transition: transform 0.3s ease; border-radius: 0; z-index: 1000;
        padding: 90px 20px 30px; gap: 12px; overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .nav-menu.open { transform: translateX(0); }
    .nav-menu .nav-link { text-align: center; padding: 12px 20px; }
    .menu-toggle { display: flex; z-index: 1001; }
    .auth-controls { margin-top: 20px; justify-content: center; }
    .theme-toggle { margin-top: 10px; margin-left: 0; }
}

@media (max-width: 480px) {
    .navbar-container { padding: 0 16px; }
    .logo-text h1 { font-size: 16px; }
    .logo-text p { font-size: 10px; }
    .nav-menu { width: 88%; max-width: none; padding-top: 80px; }
    .hero-glass-card { padding: 24px; }
    .social-cards { grid-template-columns: 1fr; }
    .events-section, .gallery-section { padding: 50px 16px; }
}

/* ============= LIGHT MODE ============= */
body.light-mode {
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-bg-hover: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-border-strong: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
    --glass-shadow-hover: 0 16px 48px rgba(15, 23, 42, 0.12);

    --primary: #0066cc; 
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --bg-body: #f8fafc;
    --bg-section: #f1f5f9;

    --blob-1: rgba(17, 0, 110, 0.12);
    --blob-2: rgba(250, 166, 28, 0.15);
    --blob-3: rgba(0, 212, 255, 0.1);
    --blob-4: rgba(139, 92, 246, 0.1);
    --blob-5: rgba(16, 185, 129, 0.1);
}

body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.7);
}

body.light-mode .nav-menu {
    background: #ffffff;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 8px 20px;
}

body.light-mode .logo-text h1, 
body.light-mode .btn-signin,
body.light-mode .btn-signout,
body.light-mode .close-modal {
    color: var(--text-primary);
}

body.light-mode .nav-link {
    color: #000080;
    font-weight: 700;
    background: transparent;
    box-shadow: none;
}

body.light-mode .nav-link:hover {
    background: rgba(0, 0, 128, 0.05);
}

body.light-mode .nav-link.active {
    color: #311b5e; /* Slightly darker/purple tint for active state */
    background: transparent;
    box-shadow: none;
}

body.light-mode .menu-toggle span {
    background: var(--text-primary);
}

body.light-mode .btn-secondary {
    color: var(--text-primary);
    border-color: var(--glass-border-strong);
}

body.light-mode .theme-toggle {
    background: transparent;
    border: 1px solid #001f3f;
    color: var(--accent);
}

body.light-mode .theme-toggle:hover {
    background: rgba(0, 31, 63, 0.05);
}

body.light-mode .form-group input, 
body.light-mode .form-group textarea {
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-primary);
    border-color: rgba(0,0,0,0.2);
}

body.light-mode .social-card.tiktok .brand-text { color: #000; }
body.light-mode .social-card.tiktok .tiktok-btn { background: #000; color: #fff; border-color: #000; }

body.light-mode .footer {
    background: rgba(255,255,255,0.6);
}

body.light-mode .hero-title {
    color: #001f3f; /* Navy Blue */
}

/* Animations */
.reveal-on-scroll { opacity: 0; transform: translateY(20px); transition: 0.6s ease-out; }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll,
    .event-feature-link,
    .event-media-poster,
    .event-cta,
    .skeleton-shimmer,
    .skeleton-line {
        transition: none;
        animation: none;
    }
    .reveal-on-scroll { opacity: 1; transform: none; }
    .event-feature-link:hover { transform: none; }
}

.photo-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
}

.photo-card {
    display: block;
    width: 350px;       /* Change this to make it bigger/smaller */
    max-width: 90%;
}

.photo-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

/* ============= ABOUT ============= */
.about-page { padding: 56px 24px 12px; scroll-margin-top: 96px; }
.about-follow { padding-top: 28px; }
.about-page .section-header { margin-bottom: 18px; }
.about-jump {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 32px;
}
.about-jump a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
.about-jump a:hover { border-color: var(--primary); color: var(--primary); }
.about-jump a:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--primary);
}

.org {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.org-root {
    position: relative;
    margin: 0;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    background: var(--accent);
    color: #111;
    font-family: 'Yaldevi', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.org-root::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 2px;
    height: 28px;
    background: rgba(255, 255, 255, 0.35);
}
.org-branches {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin-top: 52px;
    position: relative;
}
.org-branches::before {
    content: "";
    position: absolute;
    top: -24px;
    left: calc((100% - 40px) / 6);
    right: calc((100% - 40px) / 6);
    height: 2px;
    background: rgba(255, 255, 255, 0.35);
}
.org-branch {
    position: relative;
    text-align: left;
}
.org-branch::before {
    content: "";
    position: absolute;
    top: -28px;
    left: 50%;
    width: 2px;
    height: 28px;
    background: rgba(255, 255, 255, 0.35);
}
.org-branch h3 { margin-top: 0; }

.about-timeline {
    list-style: none;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.about-timeline li {
    position: relative;
    padding: 0 0 28px 28px;
    border-left: 2px solid rgba(0, 212, 255, 0.45);
}
.about-timeline li:last-child { padding-bottom: 0; }
.about-timeline li::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(250, 166, 28, 0.2);
}
.about-timeline h3 {
    font-family: 'Yaldevi', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 6px;
}
.about-timeline p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .org-root::after { height: 20px; }
    .org-branches {
        grid-template-columns: 1fr;
        margin-top: 36px;
    }
    .org-branches::before { display: none; }
    .org-branch::before { left: 24px; }
}
.about-lead {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.about-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s var(--ease-liquid), box-shadow 0.3s var(--ease-liquid);
}
.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glass-shadow-hover);
}
.about-mark {
    display: block;
    width: 36px;
    height: 3px;
    border-radius: var(--radius-pill);
    background: var(--primary);
    margin-bottom: 16px;
}
.about-card:nth-child(even) .about-mark { background: var(--accent); }
.about-card h3 {
    font-family: 'Yaldevi', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 8px;
}
.about-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.65;
}
.about-quote-band {
    max-width: 820px;
    margin: 48px auto 0;
    text-align: center;
    padding: 36px 28px;
    border-radius: var(--radius-xl);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}
.about-quote-band p {
    font-family: 'Yaldevi', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.35;
    color: var(--primary);
}
.about-quote-band span {
    display: block;
    margin-top: 14px;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 13px;
}
.about-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border-strong);
}
.btn-ghost:hover { background: var(--glass-bg-hover); }

body.light-mode .org-root::after,
body.light-mode .org-branches::before,
body.light-mode .org-branch::before {
    background: rgba(15, 23, 42, 0.28);
}
body.light-mode .about-timeline li { border-left-color: rgba(0, 102, 204, 0.4); }

@media (prefers-reduced-motion: reduce) {
    .about-card { transition: none; }
    .about-card:hover { transform: none; }
}
