@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;0,800;0,900;1,700&display=swap');

:root {
    --bg-dark: #ffffff; /* Premium white background */
    --bg-card: rgba(255, 255, 255, 0.7); /* Clean light glassmorphic card base */
    --primary: #e11d48; /* Premium Rose/Pink readable on white */
    --primary-glow: rgba(225, 29, 72, 0.12);
    --secondary: #b45309; /* Warm Amber Gold readable on white */
    --secondary-glow: rgba(180, 83, 9, 0.12);
    --accent-cyan: #0891b2; /* Cyber Deep Cyan */
    --accent-cyan-glow: rgba(8, 145, 178, 0.12);
    --accent-purple: #6d28d9; /* Deep Cyber Purple */
    
    --text-main: #0f172a; /* Deep Slate text */
    --text-muted: #475569; /* Slate grey text */
    --border-color: rgba(15, 23, 42, 0.08); /* Clean light grey borders */
    --border-glow: rgba(225, 29, 72, 0.2);
    
    --font-sans: 'Montserrat', sans-serif;
    --font-serif: 'Montserrat', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

a {
    color: inherit;
    text-decoration: none !important;
    transition: var(--transition-smooth);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: clip;
    position: relative;
    /* Prevent gradient blobs from creating space below the footer */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Elegant Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* Floating Ambient Lights (Animated) */
.gradient-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(180px);
    opacity: 0.08; /* Lower opacity for soft watercolor effect in light mode */
    pointer-events: none;
    z-index: 0;
    animation: float 20s infinite ease-in-out;
}
.blob-1 {
    top: -100px;
    left: -200px;
    background: var(--primary);
    animation-duration: 25s;
}
.blob-2 {
    top: 40%;
    right: -200px;
    background: var(--accent-cyan);
    animation-delay: -5s;
    animation-duration: 30s;
}
.blob-3 {
    bottom: -100px;
    left: 20%;
    background: var(--accent-purple);
    animation-delay: -10s;
    animation-duration: 22s;
}

@keyframes float {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
    100% { transform: translate(0px, 0px) scale(1); }
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* Glassmorphism utility */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.08);
}

/* Header & Premium Navbar */
.site-header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2.5rem;
}
.logo-link {
    flex: 1;
    display: flex;
    align-items: center;
}
#desktop-nav-actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
.nav-tickets-mobile {
    display: none;
}

.logo-link img {
    height: 48px;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.05));
    transition: var(--transition-smooth);
}
.logo-link img:hover {
    transform: scale(1.04) rotate(-1deg);
    filter: drop-shadow(0 4px 12px var(--primary-glow));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 1.02rem;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
    transition: var(--transition-smooth);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: var(--transition-smooth);
}
.nav-link:hover {
    color: var(--text-main);
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}
.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 2.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.5px;
    text-align: center;
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn i, .btn svg {
    margin-right: 0.45rem;
}
.btn i:only-child, .btn svg:only-child {
    margin-right: 0;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 8px 24px -6px var(--primary-glow);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px -4px var(--primary-glow), 0 0 15px var(--primary-glow);
}

.btn-outline {
    background: rgba(15, 23, 42, 0.02);
    border: 1.5px solid var(--border-color);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}
.btn-outline:hover {
    background: transparent;
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 20px var(--accent-cyan-glow);
    transform: translateY(-3px);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}
.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.35);
}

/* Mobile Nav Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}
.menu-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Hero Section (Vibrant & Immersive) */
.hero-section {
    position: relative;
    padding: 5rem 2rem 5rem;
    text-align: center;
    background: radial-gradient(circle at center, rgba(225, 29, 72, 0.04) 0%, var(--bg-dark) 85%);
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15, 23, 42, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(circle, black, transparent 75%);
    -webkit-mask-image: radial-gradient(circle, black, transparent 75%);
    opacity: 0.15;
    pointer-events: none;
}

.hero-home-video {
    height: 600px;
}

@media (max-width: 768px) {
    .hero-home-video {
        height: 60vh !important;
        min-height: 400px !important;
    }
    .hero-home-title {
        font-size: 2.2rem !important;
    }
}
@media (max-width: 480px) {
    .hero-home-video {
        height: 60vh !important;
        min-height: 380px !important;
    }
    .hero-home-title {
        font-size: 2rem !important;
    }
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--text-main) 20%, #334155 45%, var(--secondary) 75%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    letter-spacing: -1.5px;
    filter: drop-shadow(0 2px 8px rgba(15, 23, 42, 0.05));
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--text-muted);
    max-width: 780px;
    margin: 0 auto 3.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.8rem;
    z-index: 10;
    position: relative;
}

/* Section Common Layouts */
.section {
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
}

.section-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    margin-bottom: 2.2rem;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--text-main) 40%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Event Cards Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 3rem;
}

.event-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 28px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.06);
}
.event-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--border-glow);
    box-shadow: 0 20px 40px -15px rgba(225, 29, 72, 0.12), 0 0 2px var(--border-glow);
}

.event-image-container {
    position: relative;
    padding-top: 56.25%; /* 16:9 ratio */
    background: linear-gradient(135deg, #1e1b29 0%, #312e45 100%);
    overflow: hidden;
}

.event-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.event-card:hover .event-image-container img {
    transform: scale(1.08);
}

.event-placeholder-graphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
    color: var(--text-main);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 3px;
}
.event-placeholder-graphic i {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px var(--primary-glow));
}

.event-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: var(--primary);
    box-shadow: 0 4px 12px var(--primary-glow);
    color: white;
    padding: 0.45rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
    letter-spacing: 0.5px;
}

.event-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-meta {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.event-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.3;
    color: var(--text-main);
}

.event-description {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-bottom: 1.8rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.event-details-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.8rem;
    font-size: 0.92rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 1.2rem;
}

.event-details-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.event-details-item i {
    font-size: 1rem;
}

/* Premium Gallery Cards */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    /* Prevent lone items from stretching full width */
    grid-auto-rows: 1fr;
}

.gallery-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    padding-top: 100%; /* square ratio */
    border: 1px solid var(--border-color);
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
    transition: var(--transition-smooth);
}
.gallery-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
    box-shadow: 0 15px 30px rgba(225, 29, 72, 0.15);
}

.gallery-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.3) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-card:hover .gallery-caption {
    transform: translateY(0);
}

/* Contact Layout Container */
.contact-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 50px -10px rgba(15, 23, 42, 0.08);
}

.contact-info-panel {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.03) 0%, rgba(109, 40, 217, 0.03) 100%);
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid var(--border-color);
}

.contact-title-small {
    font-size: 2rem;
    font-family: var(--font-serif);
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}
.contact-details li {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 1.05rem;
    color: var(--text-muted);
}
.contact-details i {
    font-size: 1.2rem;
}

.contact-social-icons {
    display: flex;
    gap: 1.2rem;
    margin-top: 3rem;
}

.social-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: var(--transition-smooth);
}
.social-circle:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    transform: translateY(-4px);
    color: white;
}

.contact-form-panel {
    padding: 4rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.01);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}
.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(15, 23, 42, 0.02);
    box-shadow: 0 0 15px rgba(225, 29, 72, 0.06);
}

textarea.form-input {
    resize: none;
    height: 140px;
}

/* Footer Section */
.site-footer {
    background: #080610;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 4rem 2rem 0;
    position: relative;
    z-index: 10;
    margin-top: 0;
}

.footer-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.5fr 1fr;
    gap: 3.5rem;
    padding-bottom: 3.5rem;
}

.footer-col-about img {
    height: 46px;
    margin-bottom: 1.2rem;
}

.footer-col-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.footer-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s, padding-left 0.2s;
}
.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1.8rem 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.3);
}

/* Alert Notification Bars */
.alert {
    padding: 1.1rem 1.6rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.98rem;
    backdrop-filter: blur(10px);
}
.alert-success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #34d399;
}
.alert-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #f87171;
}

/* Admin Center CSS Styles */
.admin-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, var(--bg-dark) 85%);
}
.admin-login-box {
    width: 100%;
    max-width: 460px;
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 28px;
    border: 1px solid var(--border-color);
    padding: 4rem 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
.admin-login-logo {
    text-align: center;
    margin-bottom: 2.5rem;
}
.admin-login-logo img {
    height: 52px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.05));
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 280px;
    background: #f8fafc;
    border-right: var(--border-color) 1px solid;
    padding: 2rem 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 900;
}

.admin-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.admin-nav-item a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.75rem 1.1rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}
.admin-nav-item.active a,
.admin-nav-item a:hover {
    background: rgba(244, 63, 94, 0.08);
    border-color: rgba(244, 63, 94, 0.2);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.05);
}

.admin-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-dark);
    min-width: 0; /* prevent flex blowout */
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    border-bottom: 1px solid var(--border-color);
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 200;
    flex-shrink: 0;
    transition: box-shadow 0.3s ease;
}
.admin-header.scrolled {
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.08);
}

/* Content area below the sticky header */
.admin-content-area {
    padding: 2.5rem 3rem;
    flex: 1;
}

.admin-page-title {
    font-size: 1.7rem;
    font-family: var(--font-serif);
    color: var(--text-main);
}

/* Stats Cards styling */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}
.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
}
.stat-value {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

/* Admin Dashboard CRUD Panels */
.admin-panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 4rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.admin-panel-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.admin-table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.admin-table th,
.admin-table td {
    padding: 1.2rem 1.4rem;
    border-bottom: 1px solid var(--border-color);
}
.admin-table th {
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
}
.admin-table tr:hover {
    background: rgba(15, 23, 42, 0.015);
}

.actions-cell {
    display: flex;
    gap: 0.6rem;
}

.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #34d399;
}
.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

/* Modals styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 3, 6, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
}
.modal.open {
    display: flex;
}
.modal-content {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    max-width: 650px;
    width: 100%;
    padding: 3rem;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}
.modal-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}/* Blogs Grid & Mobile Slider */
.blogs-grid-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   1300px  → max container width (full desktop)
   1024px  → tablet landscape
    768px  → tablet portrait / large mobile
    480px  → mobile
═══════════════════════════════════════════════════════════ */


/* Tablet landscape — 1024px */
/* Sign-up page two-column layout */
.signup-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Home page student groups two-column layout */
.student-groups-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .section-container {
        padding: 0 2rem;
    }
    .header-container {
        padding: 0 2rem;
    }
    .events-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    .footer-col-about {
        grid-column: span 2;
    }
    .hero-title {
        font-size: 2.8rem;
    }

    /* Sign-Up page: stack benefits + form */
    .signup-two-col {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    /* Work For Us: stack main layout */
    .work-main-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    /* Home: Student Groups side-by-side → single col */
    .student-groups-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    /* Hero section padding reduction */
    .hero-section {
        padding: 7rem 2rem 4rem;
    }

    /* Work for us benefits grid: 2 col on tablet */
    .work-benefits-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Work for us roles grid: 2 col on tablet */
    .work-roles-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Admin sidebar adjustment */
    .admin-sidebar {
        min-width: unset;
        width: 220px;
    }

    /* Contact page: stack at tablet */
    .contact-container {
        grid-template-columns: 1fr !important;
    }
    .contact-info-panel {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 2.5rem 2rem;
    }
    .contact-form-panel {
        padding: 2.5rem 2rem;
    }

    /* Hero title: reduce size */
    .hero-title {
        font-size: 2.4rem;
    }
}

/* Tablet + hamburger toggle — 1100px */
@media (max-width: 1100px) {
    /* Nav */
    .header-container {
        padding: 0.95rem 1.4rem !important;
    }
    .menu-toggle {
        display: flex;
    }
    .logo-link {
        flex: none;
    }
    #desktop-nav-actions {
        display: none !important;
    }
    .nav-tickets-mobile {
        display: block;
        width: 100%;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(7, 5, 9, 0.97);
        backdrop-filter: blur(20px);
        border-bottom: var(--border-color) 1px solid;
        padding: 1.2rem 1.5rem;
        gap: 0.5rem;
    }
    .nav-menu.open {
        display: flex;
    }
    .nav-menu .nav-link {
        color: rgba(255, 255, 255, 0.75) !important;
        font-size: 1.05rem;
        font-weight: 600;
        text-align: center;
        width: 100%;
        display: block;
        padding: 0.45rem 0;
        white-space: normal;
    }
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: var(--primary) !important;
    }
    /* Remove underline from active link in mobile menu */
    .nav-menu .nav-link::after,
    .nav-menu .nav-link.active::after {
        display: none !important;
    }
    /* Hero */
    .hero-section {
        padding: 8rem 1.5rem 5rem;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
        flex-wrap: wrap;
    }
    .hero-buttons .btn {
        width: auto;
        min-width: unset;
        font-size: 0.9rem;
        padding: 0.75rem 1.4rem;
    }
    /* Containers */
    .section-container {
        padding: 0 1.5rem;
    }
    .section {
        padding: 3rem 0;
    }
    .section-title {
        font-size: 2.2rem;
    }
    /* Events */
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    /* Mobile Blog Swipe Slider */
    .blogs-grid-slider {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 1.2rem !important;
        padding-bottom: 1.2rem !important;
        margin-left: -1.5rem !important;
        margin-right: -1.5rem !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        scrollbar-width: none;
    }
    .blogs-grid-slider::-webkit-scrollbar {
        display: none;
    }
    .blogs-grid-slider > article {
        flex: 0 0 82% !important;
        max-width: 320px !important;
        min-width: 270px !important;
        scroll-snap-align: start !important;
    }
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 0.8rem;
    }
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-col-about {
        grid-column: span 2;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding-bottom: 2rem;
    }
    /* Contact */
    .contact-container {
        grid-template-columns: 1fr;
    }
    .contact-info-panel {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 2.5rem 2rem;
    }
    .contact-form-panel {
        padding: 2.5rem 2rem;
    }
    /* Sign-Up two column → stack */
    .signup-two-col {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    /* Home student groups → stack */
    .student-groups-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    /* Work for us main grid → stack */
    .work-main-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    /* Admin */
    .admin-layout {
        flex-direction: column;
    }
    .admin-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: var(--border-color) 1px solid;
        padding: 1.5rem;
        position: static;
        height: auto;
    }
    .admin-header {
        padding: 1rem 1.5rem;
    }
    .admin-content-area {
        padding: 1.5rem;
    }
}

/* Mobile — 480px */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-section {
        padding: 5.5rem 1.2rem 3.5rem;
    }
    .section-container {
        padding: 0 1.2rem;
    }
    .section {
        padding: 2.2rem 0;
    }
    .section-title {
        font-size: 1.9rem;
    }
    .btn {
        font-size: 0.88rem;
        padding: 0.75rem 1.4rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-col-about {
        grid-column: span 1;
    }
    .contact-info-panel,
    .contact-form-panel {
        padding: 2rem 1.2rem;
    }
    .admin-header {
        padding: 1rem;
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    .admin-page-title {
        font-size: 1.3rem;
    }
}

/* Event Detail Rich Text Styles (CKEditor Output formatting) */
.event-rich-description p {
    margin-bottom: 1.25rem;
}
.event-rich-description p:last-child {
    margin-bottom: 0;
}
.event-rich-description h1,
.event-rich-description h2,
.event-rich-description h3,
.event-rich-description h4 {
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
    font-weight: 700;
}
.event-rich-description ul,
.event-rich-description ol {
    margin-bottom: 1.25rem;
    padding-left: 1.8rem;
    list-style-type: disc;
}
.event-rich-description ol {
    list-style-type: decimal;
}
.event-rich-description li {
    margin-bottom: 0.4rem;
}

/* Responsive images inside rich descriptions to prevent layout breakage */
.event-rich-description img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px;
    margin: 1.5rem 0;
    display: block;
}

/* WordPress Gallery Hover Effects */
.wp-gallery-card:hover .wp-gallery-overlay {
    opacity: 1 !important;
}
.wp-gallery-card:hover img {
    transform: scale(1.04);
}

/* Global Mobile h1 Font Size Overrides */
@media (max-width: 600px) {
    h1 {
        font-size: 2.1rem !important;
    }
}

/* Global Group Chats Headers & Icon Styling */
.gc-section-title-wrap {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1rem;
}
.gc-section-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
}
.gc-wa-icon {
    background: rgba(37, 211, 102, 0.12);
    border: 2px solid rgba(37, 211, 102, 0.3);
    color: #25d366;
}
.gc-lt-icon {
    background: rgba(168, 85, 247, 0.12);
    border: 2px solid rgba(168, 85, 247, 0.3);
    color: var(--accent-purple);
}

@media (max-width: 640px) {
    .gc-section-title-wrap {
        gap: 0.8rem;
        margin-bottom: 0.8rem;
    }
    .gc-section-icon {
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
        border-radius: 10px;
    }
}

/* Mobile Featured Events Horizontal Carousel Slider */
@media (max-width: 600px) {
    .events-grid {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 1rem !important;
        padding-bottom: 1.5rem !important;
        margin-left: -1rem !important;
        margin-right: -1rem !important;
        padding-left: 1.2rem !important;
        padding-right: 1.2rem !important;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }
    .events-grid::-webkit-scrollbar {
        display: none;
    }
    .event-card {
        flex: 0 0 85% !important;
        scroll-snap-align: start !important;
        margin-bottom: 0 !important;
    }
}

/* Mobile Video Gallery Horizontal Carousel Slider (Show 2 at a time) */
@media (max-width: 600px) {
    .video-gallery-grid {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 0.8rem !important;
        padding-bottom: 1.5rem !important;
        margin-left: -1rem !important;
        margin-right: -1rem !important;
        padding-left: 1.2rem !important;
        padding-right: 1.2rem !important;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }
    .video-gallery-grid::-webkit-scrollbar {
        display: none;
    }
    .video-gallery-grid .vg-card {
        flex: 0 0 46% !important;
        scroll-snap-align: start !important;
        margin-bottom: 0 !important;
    }
    .video-gallery-grid .vg-title {
        padding: 0.6rem 0.8rem !important;
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }
}
