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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles - NUCLEAR OPTION FIX */
.header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background-color: rgba(0, 0, 0, 0.9) !important;
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: none !important;
}

/* NUCLEAR OPTION - OVERRIDE EVERYTHING */
.header,
.header.scrolled,
.header:hover,
.header:focus,
.header:active,
.header:visited,
.header::before,
.header::after,
body .header,
html .header,
header.header,
nav.main-nav,
.header-top,
* .header,
*:not(.gallery-item) .header,
div .header,
section .header,
body > .header,
header,
header.header,
body header,
html header,
body .header,
html .header,
body > header,
html > body > header,
.header[style],
header[style],
.header[class],
header[class] {
    background: rgba(0, 0, 0, 0.9) !important;
    background-color: rgba(0, 0, 0, 0.9) !important;
    background-image: none !important;
}

/* Force on ALL scroll states */
.header.scrolled,
header.scrolled,
body .header.scrolled,
html .header.scrolled,
.scrolled.header,
.scrolled header {
    background: rgba(0, 0, 0, 0.95) !important;
    background-color: rgba(0, 0, 0, 0.95) !important;
    background-image: none !important;
}

/* Ensure header container elements stay transparent */
.header .container,
.header .header-top,
.header .main-nav,
header .container,
header .header-top,
header .main-nav {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* Override ANY inline styles or framework styles */
.header[style*="background"],
header[style*="background"],
.header[style*="white"],
header[style*="white"],
.header[style*="#fff"],
header[style*="#fff"],
.header[style*="rgb(255"],
header[style*="rgb(255"] {
    background: rgba(0, 0, 0, 0.9) !important;
    background-color: rgba(0, 0, 0, 0.9) !important;
    background-image: none !important;
}

/* Force dark on any possible CSS class combinations */
.header.white,
.header.light,
.header.bg-white,
.header.background-white,
header.white,
header.light,
header.bg-white,
header.background-white {
    background: rgba(0, 0, 0, 0.9) !important;
    background-color: rgba(0, 0, 0, 0.9) !important;
    background-image: none !important;
}

.header-top {
    padding: 15px 0;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent !important;
    background-color: transparent !important;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #03a9f4;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #03a9f4;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1002;
    padding: 10px;
    background: transparent;
    border: none;
    position: relative;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: block;
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background: #03a9f4;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background: #03a9f4;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 30px;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.9);
    font-family: 'Roboto', serif;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 300;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
    line-height: 1.6;
    letter-spacing: 1px;
}

.hero-year {
    font-size: 1.5rem;
    margin-bottom: 50px;
    opacity: 1;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 14px;
}

.btn-primary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-primary:hover {
    background: white;
    color: #333;
}

.btn-secondary {
    background: #03a9f4;
    color: white;
}

.btn-secondary:hover {
    background: #0288d1;
    transform: translateY(-2px);
}

.btn-metaverse {
    background: white;
    color: #03a9f4;
    font-weight: 600;
}

.btn-metaverse:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

/* Metaverse Section */
.metaverse-section {
    background: linear-gradient(135deg, #03a9f4, #9c27b0);
    padding: 60px 0;
    color: white;
}

.metaverse-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.metaverse-text h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 300;
}

.metaverse-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: 300;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Gallery Preview Section */
.gallery-preview {
    padding: 100px 0;
    background: white;
}

.gallery-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
    font-weight: 300;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Gallery Item Enhancements - Optimized */
.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    will-change: transform;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item:focus {
    outline: 3px solid #03a9f4;
    outline-offset: 2px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.gallery-item img.loaded {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Loading states - Optimized */
.gallery-item.loading {
    background: #f0f0f0;
}

.gallery-item img[loading="lazy"] {
    min-height: 200px;
}

@media (prefers-color-scheme: dark) {
    .gallery-item.loading {
        background: #222;
    }
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
    .gallery-item:hover {
        transform: translateY(-4px) scale(1.01);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }
}

/* Improved lightbox */
.lightbox {
    backdrop-filter: blur(10px);
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

.lightbox-content {
    animation: lightboxSlideIn 0.3s ease;
}

@keyframes lightboxSlideIn {
    from {
        transform: scale(0.8) translateY(20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.gallery-more {
    text-align: center;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content p {
    margin-bottom: 10px;
}

.footer-content a {
    color: #03a9f4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #0288d1;
    text-decoration: underline;
}

/* Lightbox - Enhanced Full Screen Gallery */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 100px;
}

.lightbox-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lightboxZoomIn 0.3s ease;
    transition: opacity 0.3s ease;
}

@keyframes lightboxZoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Lightbox Controls */
.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 28px;
    cursor: pointer;
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 2001;
    padding: 0 20px;
}

.lightbox-nav button {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 32px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.lightbox-nav button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.lightbox-nav button:active {
    transform: scale(0.95);
}

/* Lightbox Counter */
.lightbox-counter {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 2001;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Lightbox Auto-play Controls */
.lightbox-controls {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 2001;
}

.lightbox-control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.lightbox-control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.lightbox-control-btn.active {
    background: rgba(3, 169, 244, 0.3);
    border-color: rgba(3, 169, 244, 0.6);
}

/* Loading Spinner */
.lightbox-loading {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid #03a9f4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .lightbox-content {
        padding: 80px 20px 120px;
    }
    
    .lightbox-nav {
        padding: 0 10px;
    }
    
    .lightbox-nav button {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .lightbox-close {
        width: 45px;
        height: 45px;
        font-size: 24px;
        top: 15px;
        right: 15px;
    }
    
    .lightbox-controls {
        bottom: 20px;
        flex-direction: column;
        gap: 10px;
    }
    
    .lightbox-control-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Dark Mode - NUCLEAR HEADER FIX */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #000;
        color: #fff;
    }
    
    .header,
    header,
    .header.scrolled,
    header.scrolled {
        background: rgba(0, 0, 0, 0.98) !important;
        background-color: rgba(0, 0, 0, 0.98) !important;
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
    
    .logo h1,
    .nav-menu a {
        color: #fff;
    }
    
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
    }
    
    .about-section {
        background: #111;
    }
    
    .about-text h2 {
        color: #fff;
    }
    
    .about-text p {
        color: #ccc;
    }
    
    .gallery-preview,
    .gallery-full {
        background: #000;
    }
    
    .gallery-preview h2 {
        color: #fff;
    }
    
    .content-section {
        background: #000;
    }
    
    .main-content h2 {
        color: #fff;
    }
    
    .main-content h3 {
        color: #03a9f4;
    }
    
    .main-content p,
    .main-content li {
        color: #ccc;
    }
    
    .main-content strong {
        color: #fff;
    }
    
    .main-content em {
        color: #aaa;
    }
    
    .videos-section {
        background: #000;
    }
    
    .video-item {
        background: #111;
    }
    
    .video-item h3 {
        color: #fff;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        position: relative;
        z-index: 1002;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 1001;
        transform-origin: top;
    }
    
    .nav-menu.active {
        display: flex !important;
        animation: slideDownFade 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
    
    @keyframes slideDownFade {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-menu li {
        width: 100%;
        opacity: 0;
        animation: fadeInUp 0.4s ease forwards;
    }
    
    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) { animation-delay: 0.35s; }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-menu a {
        color: #fff;
        padding: 18px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 16px;
        transition: all 0.3s ease;
        border-radius: 8px;
        margin-bottom: 5px;
    }
    
    .nav-menu a:hover {
        background: rgba(3, 169, 244, 0.1);
        padding-left: 25px;
        border-left: 3px solid #03a9f4;
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    /* Hero adjustments for mobile */
    .hero {
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        padding: 0 20px;
        margin-top: 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .hero-year {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .metaverse-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Lightbox mobile improvements */
    .lightbox-content {
        padding: 100px 15px 140px;
    }
    
    .lightbox-image-container {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .lightbox img {
        max-width: 100vw !important;
        max-height: calc(100vh - 240px) !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }
    
    .lightbox-nav {
        padding: 0 10px;
    }
    
    .lightbox-nav button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .lightbox-close {
        width: 45px;
        height: 45px;
        top: 15px;
        right: 15px;
        font-size: 24px;
    }
    
    .lightbox-counter {
        top: 15px;
        left: 15px;
        font-size: 14px;
    }
    
    .lightbox-controls {
        bottom: 20px;
        flex-direction: row;
        gap: 10px;
        padding: 0 15px;
    }
    
    .lightbox-control-btn {
        padding: 10px 15px;
        font-size: 12px;
        flex: 1;
    }
    
    .lightbox-control-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-year {
        font-size: 0.95rem;
    }
    
    .about-text h2,
    .gallery-preview h2 {
        font-size: 1.8rem;
    }
    
    .metaverse-text h3 {
        font-size: 1.3rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    /* Ultra small screens - ensure full image visibility */
    .lightbox img {
        max-width: 95vw !important;
        max-height: calc(100vh - 260px) !important;
    }
    
    .lightbox-controls {
        flex-direction: column;
        gap: 8px;
    }
    
    .lightbox-control-btn {
        width: 100%;
    }
}
/* Page Header Styles */
.page-header {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    overflow: hidden;
}

.page-header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(3, 169, 244, 0.6), rgba(156, 39, 176, 0.6));
    z-index: -1;
}

.page-header-content {
    text-align: center;
    color: white;
    z-index: 1;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.1rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Full Gallery Styles */
.gallery-full {
    padding: 80px 0;
    background: white;
}

.gallery-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Dark mode for page header and gallery */
@media (prefers-color-scheme: dark) {
    .gallery-full {
        background: #000;
    }
}

/* Responsive adjustments for page header */
@media (max-width: 768px) {
    .page-header {
        height: 300px;
        margin-top: 70px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .gallery-grid-full {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .page-header {
        height: 250px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .gallery-grid-full {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}
/* Videos Section Styles */
.videos-section {
    padding: 80px 0;
    background: white;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.video-item {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-item h3 {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Dark mode for videos */
@media (prefers-color-scheme: dark) {
    .videos-section {
        background: #000;
    }
    
    .video-item {
        background: #111;
    }
    
    .video-item h3 {
        color: #fff;
    }
}

/* Responsive adjustments for videos */
@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .video-item h3 {
        font-size: 1.1rem;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .videos-grid {
        gap: 20px;
    }
}
/* Content Section Styles */
.content-section {
    padding: 80px 0;
    background: white;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.main-content {
    line-height: 1.8;
}

.main-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: 300;
}

.main-content h3 {
    font-size: 1.5rem;
    margin: 40px 0 20px 0;
    color: #03a9f4;
    font-weight: 600;
}

.main-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
    text-align: justify;
}

.main-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.main-content li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #555;
}

.main-content strong {
    color: #333;
    font-weight: 600;
}

.main-content em {
    font-style: italic;
    color: #666;
}

/* Dark mode for content */
@media (prefers-color-scheme: dark) {
    .content-section {
        background: #000;
    }
    
    .main-content h2 {
        color: #fff;
    }
    
    .main-content h3 {
        color: #03a9f4;
    }
    
    .main-content p,
    .main-content li {
        color: #ccc;
    }
    
    .main-content strong {
        color: #fff;
    }
    
    .main-content em {
        color: #aaa;
    }
}

/* Responsive adjustments for content */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 0 20px;
    }
    
    .main-content h2 {
        font-size: 2rem;
    }
    
    .main-content h3 {
        font-size: 1.3rem;
    }
    
    .main-content p,
    .main-content li {
        font-size: 1rem;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .main-content h2 {
        font-size: 1.8rem;
    }
    
    .main-content h3 {
        font-size: 1.2rem;
        margin: 30px 0 15px 0;
    }
}
/* Additional Mobile Optimizations */
@media (max-width: 768px) {
    .nav-menu.active {
        animation: slideDown 0.3s ease-out;
    }
    
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .metaverse-section {
        padding: 40px 0;
    }
    
    .about-section,
    .gallery-preview,
    .gallery-full,
    .videos-section,
    .content-section {
        padding: 60px 0;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print Styles */
@media print {
    .header,
    .hero,
    .metaverse-section,
    .footer,
    .lightbox {
        display: none !important;
    }
    
    .page-header {
        margin-top: 0;
        height: auto;
        padding: 20px 0;
    }
    
    .page-header-background,
    .page-header-overlay {
        display: none;
    }
    
    .page-header-content {
        color: #000;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
}

/* Posts and Modal Styles */
.add-post-section {
    margin-bottom: 40px;
    text-align: center;
}

.posts-list {
    max-width: 800px;
    margin: 0 auto;
}

.post-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.post-item:hover {
    transform: translateY(-2px);
}

.post-header {
    margin-bottom: 20px;
}

.post-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.post-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #666;
    flex-wrap: wrap;
}

.post-content {
    margin-bottom: 20px;
    line-height: 1.8;
}

.post-content p {
    color: #555;
    font-size: 1rem;
}

.post-actions {
    text-align: right;
}

.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-style: italic;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.8) translateY(20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}

.modal-close {
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #03a9f4;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-danger {
    background: #dc3545;
    color: white;
    border: 2px solid #dc3545;
}

.btn-danger:hover {
    background: #c82333;
    border-color: #c82333;
}

/* Dark mode for posts and modal */
@media (prefers-color-scheme: dark) {
    .post-item {
        background: #222;
        color: #fff;
    }
    
    .post-title {
        color: #fff;
    }
    
    .post-meta {
        color: #ccc;
    }
    
    .post-content p {
        color: #ddd;
    }
    
    .modal-content {
        background: #333;
        color: #fff;
    }
    
    .modal-header {
        border-bottom-color: #555;
    }
    
    .modal-header h2 {
        color: #fff;
    }
    
    .form-group label {
        color: #fff;
    }
    
    .form-group input,
    .form-group textarea {
        background: #444;
        border-color: #555;
        color: #fff;
    }
    
    .form-group input:focus,
    .form-group textarea:focus {
        border-color: #03a9f4;
    }
}

/* Mobile responsiveness for posts */
@media (max-width: 768px) {
    .post-item {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .post-title {
        font-size: 1.3rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header,
    .modal-body {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

/* Focus styles for better accessibility */
a:focus,
button:focus {
    outline: 2px solid #03a9f4;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95));
    }
    
    .page-header-overlay {
        background: rgba(0, 0, 0, 0.9);
    }
    
    .btn {
        border-width: 3px;
    }
    
    .header {
        background: rgba(0, 0, 0, 0.98) !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-slide {
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}