/* ========================================
   VARIABLES - VIOLET THEME
======================================== */
:root {
    /* Primary Violet Colors */
    --violet-primary: #8b5cf6;
    --violet-light: #a78bfa;
    --violet-dark: #7c3aed;
    --violet-darker: #6d28d9;
    --violet-lightest: #f5f3ff;
    --violet-accent: #c4b5fd;

    /* Teal Accents (from original) */
    --teal: #14b8a6;
    --teal-dark: #0f766e;
    --teal-light: #f0fdfa;

    /* Neutrals */
    --foreground: #1f2937;
    --muted-foreground: #6b7280;
    --background: #ffffff;
    --card-bg: #ffffff;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(139, 92, 246, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(139, 92, 246, 0.1), 0 2px 4px -1px rgba(139, 92, 246, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(139, 92, 246, 0.1), 0 4px 6px -2px rgba(139, 92, 246, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(139, 92, 246, 0.1), 0 10px 10px -5px rgba(139, 92, 246, 0.04);

    /* Transitions */
    --transition: all 0.3s ease;
}

/* ========================================
   RESET & BASE
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   UTILITY CLASSES
======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/img/events/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Fallback gradient if image doesn't load */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-badge i {
    color: var(--violet-accent);
    font-size: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.title-accent {
    color: var(--violet-accent);
    display: inline-block;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: var(--violet-primary);
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    background: var(--violet-lightest);
}

.btn-hero i {
    transition: transform 0.3s ease;
}

.btn-hero:hover i {
    transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }
}

/* ========================================
   EVENTS SECTION
======================================== */
.events-section {
    padding: 6rem 1.5rem;
    background: var(--background);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    color: var(--violet-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--muted-foreground);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

@media (min-width: 768px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.event-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 2px solid transparent;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(139, 92, 246, 0.05) 0%,
            transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.event-card:hover::before {
    opacity: 1;
}

.event-card:hover {
    border-color: var(--violet-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.event-icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--violet-lightest);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.event-card:hover .event-icon-wrapper {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--violet-light) 0%, var(--violet-primary) 100%);
}

.event-icon-wrapper i {
    font-size: 1.75rem;
    color: var(--violet-primary);
    transition: var(--transition);
}

.event-card:hover .event-icon-wrapper i {
    color: white;
}

.event-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.event-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--muted-foreground);
    position: relative;
    z-index: 1;
}

/* ========================================
   VALUE PROPOSITION SECTION
======================================== */
.value-section {
    padding: 6rem 1.5rem;
    background: var(--violet-lightest);
    position: relative;
}

/* Optional: Add subtle pattern background */
.value-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(167, 139, 250, 0.06) 0%, transparent 50%);
    z-index: 0;
}

.value-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .value-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.value-content .section-badge {
    display: block;
    text-align: left;
}

.value-content .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.value-description {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
}

.benefit-check {
    width: 1.75rem;
    height: 1.75rem;
    background: var(--violet-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.benefit-item:hover .benefit-check {
    background: var(--violet-dark);
    transform: scale(1.1);
}

.benefit-check i {
    color: white;
    font-size: 0.75rem;
}

.benefit-item span {
    color: var(--foreground);
    font-size: 1rem;
    line-height: 1.5;
}

.value-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-xl);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 35px -5px rgba(139, 92, 246, 0.15), 0 15px 15px -5px rgba(139, 92, 246, 0.06);
}

.quote-icon {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, var(--violet-light) 0%, var(--violet-primary) 100%);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: var(--transition);
}

.value-card:hover .quote-icon {
    transform: scale(1.05) rotate(5deg);
}

.quote-icon i {
    font-size: 2.5rem;
    color: white;
}

.value-quote {
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.75;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.quote-author {
    font-size: 1rem;
    color: var(--muted-foreground);
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    padding: 6rem 1.5rem;
    background: var(--background);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--muted-foreground);
    margin-bottom: 2.5rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--violet-primary);
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s ease;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    background: var(--violet-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.btn-cta i {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-cta:hover i {
    transform: translateX(4px);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .hero-section {
        padding: 4rem 1rem;
        min-height: 500px;
    }

    .events-section,
    .value-section,
    .cta-section {
        padding: 4rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .event-card {
        padding: 2rem;
    }

    .value-card {
        padding: 2rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

/* ========================================
   DARK MODE
======================================== */
[data-theme="dark"] {
    --violet-primary: #a78bfa;
    --violet-light: #c4b5fd;
    --violet-dark: #8b5cf6;
    --violet-lightest: #1e1b4b;
    --foreground: #f3f4f6;
    --muted-foreground: #d1d5db;
    --background: #0f0a1a;
    --card-bg: #1a1625;
}

[data-theme="dark"] body {
    background: var(--background);
    color: var(--foreground);
}

[data-theme="dark"] .hero-section::before {
    background: linear-gradient(135deg, #1e1b4b 0%, #0f0a1a 100%);
}



[data-theme="dark"] .hero-badge {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .event-card,
[data-theme="dark"] .value-card {
    background: var(--card-bg);
    border-color: rgba(167, 139, 250, 0.2);
}

[data-theme="dark"] .event-card:hover {
    border-color: var(--violet-primary);
}

[data-theme="dark"] .value-section {
    background: var(--violet-lightest);
}

[data-theme="dark"] .btn-hero {
    background: white;
    color: var(--violet-darker);
}

[data-theme="dark"] .btn-hero:hover {
    background: var(--violet-lightest);
    color: white;
}

[data-theme="dark"] .event-icon-wrapper {
    background: rgba(167, 139, 250, 0.2);
}

[data-theme="dark"] .event-card::before {
    background: linear-gradient(135deg,
            rgba(167, 139, 250, 0.1) 0%,
            transparent 100%);
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.event-card,
.value-card {
    animation: fadeInUp 0.6s ease-out;
}

.event-card:nth-child(1) {
    animation-delay: 0.1s;
}

.event-card:nth-child(2) {
    animation-delay: 0.2s;
}

.event-card:nth-child(3) {
    animation-delay: 0.3s;
}

.event-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Floating animation for icons */
.quote-icon {
    animation: float 3s ease-in-out infinite;
}

/* ========================================
   ACCESSIBILITY
======================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus styles for keyboard navigation */
.btn-hero:focus,
.btn-cta:focus {
    outline: 3px solid var(--violet-accent);
    outline-offset: 2px;
}

/* ========================================
   PRINT STYLES
======================================== */
@media print {

    .hero-section,
    .value-section {
        background: white !important;
    }

    .hero-overlay,
    .hero-bg-image {
        display: none;
    }

    .btn-hero,
    .btn-cta {
        border: 2px solid var(--violet-primary);
    }
}

/* ========================================
   VIDEOS SECTION
======================================== */
.videos-section {
    padding: 6rem 1.5rem;
    background: var(--background);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .videos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }
}

.video-card {
    background: var(--card-bg);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--violet-light);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    overflow: hidden;
    background: #000;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

.video-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2;
}

.video-card:hover .video-overlay {
    background: linear-gradient(to bottom,
            rgba(139, 92, 246, 0.3) 0%,
            rgba(109, 40, 217, 0.5) 100%);
}

.video-play-btn {
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.video-play-btn:hover {
    background: white;
    transform: scale(1.15);
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.4);
}

.video-play-btn i {
    font-size: 1.5rem;
    color: var(--violet-primary);
    margin-left: 0.2rem;
    transition: var(--transition);
}

.video-play-btn:hover i {
    color: var(--violet-dark);
}

.video-info {
    padding: 1.75rem;
}

.video-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.video-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.video-duration {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--violet-primary);
    font-weight: 500;
}

.video-duration i {
    font-size: 0.85rem;
}

.no-videos {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--muted-foreground);
}

.no-videos i {
    font-size: 3rem;
    color: var(--violet-primary);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.no-videos p {
    font-size: 1.125rem;
}

/* Video modal (if implementing YouTube/Vimeo embed) */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 1rem;
    overflow: hidden;
}

.video-modal-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: white;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-modal-close:hover {
    background: var(--violet-primary);
    color: white;
    transform: rotate(90deg);
}

.video-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-card,
.value-card {
    animation: fadeInUp 0.6s ease-out;
}

.event-card:nth-child(1) {
    animation-delay: 0.1s;
}

.event-card:nth-child(2) {
    animation-delay: 0.2s;
}

.event-card:nth-child(3) {
    animation-delay: 0.3s;
}

.event-card:nth-child(4) {
    animation-delay: 0.4s;
}

.video-card {
    animation: fadeInUp 0.6s ease-out;
}

.video-card:nth-child(1) {
    animation-delay: 0.1s;
}

.video-card:nth-child(2) {
    animation-delay: 0.2s;
}

.video-card:nth-child(3) {
    animation-delay: 0.3s;
}


/* ========================================
   GALLERY SECTION - CORRECTED
======================================== */
.gallery-section {
    padding: 6rem 1.5rem;
    overflow: hidden;
}

.gallery-scroll-container {
    position: relative;
    margin-top: 3rem;
}

.gallery-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.gallery-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.gallery-scroll-wrapper:active {
    cursor: grabbing;
}

.gallery-grid {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
}

.gallery-item {
    flex: 0 0 auto;
    width: 350px;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .gallery-item {
        width: 280px;
    }
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 1.25rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.gallery-item:hover .gallery-image-wrapper {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    text-align: center;
    color: white;
    padding: 1rem;
}

/* Scroll Buttons - CORRECTED */
.gallery-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    /* IMPORTANT: z-index élevé */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    color: #8b5cf6;
    pointer-events: auto;
    /* IMPORTANT: assurer que les clics fonctionnent */
}

.gallery-scroll-btn:hover {
    background: #8b5cf6;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.gallery-scroll-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-scroll-btn i {
    font-size: 1.25rem;
}

.gallery-scroll-left {
    left: 1rem;
}

.gallery-scroll-right {
    right: 1rem;
}

@media (max-width: 768px) {
    .gallery-scroll-btn {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.875rem;
    }

    .gallery-scroll-left {
        left: 0.5rem;
    }

    .gallery-scroll-right {
        right: 0.5rem;
    }
}

/* Gallery Indicators */
.gallery-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    z-index: 10;
}

.gallery-indicator {
    width: 0.5rem;
    height: 0.5rem;
    background: #8b5cf6;
    opacity: 0.3;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-indicator:hover,
.gallery-indicator.active {
    opacity: 1;
    transform: scale(1.3);
}

.no-gallery {
    width: 100%;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--muted-foreground);
}

.no-gallery i {
    font-size: 3rem;
    color: #8b5cf6;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.no-gallery p {
    font-size: 1.125rem;
}

/* Gallery Modal (Lightbox) */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.gallery-modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
}

.gallery-modal-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: white;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-modal-close:hover {
    background: #8b5cf6;
    color: white;
    transform: rotate(90deg);
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #8b5cf6;
}

.gallery-modal-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-modal-prev {
    left: 1rem;
}

.gallery-modal-next {
    right: 1rem;
}

/* Dark Mode for Gallery */
[data-theme="dark"] .gallery-image-wrapper {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .gallery-scroll-btn {
    background: #1f1f1f;
    color: #8b5cf6;
}

[data-theme="dark"] .gallery-scroll-btn:hover {
    background: #8b5cf6;
    color: white;
}

[data-theme="dark"] .video-card {
    background: var(--card-bg);
    border-color: rgba(167, 139, 250, 0.2);
}

[data-theme="dark"] .video-card:hover {
    border-color: var(--violet-primary);
}

[data-theme="dark"] .video-wrapper {
    background: rgba(30, 27, 75, 0.5);
}

[data-theme="dark"] .videos-section {
    background: var(--background);
}