/* ============================================
   GLOBAL STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    transition: all 0.5s ease;
}

/* ============================================
   LOADER
   ============================================ */

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-text {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 8px;
    background: linear-gradient(90deg, var(--accent), var(--secondary), var(--accent));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 2s infinite;
}

/* ============================================
   NAVIGATION
   ============================================ */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, transparent 100%);
    backdrop-filter: blur(10px);
}

.nav-logo {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--accent);
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text);
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-item {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    transition: color 0.3s;
}

.nav-item:hover {
    color: var(--accent);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-item:hover::after {
    width: 100%;
}

.controls {
    display: flex;
    gap: 1rem;
}

select {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--accent) 0%, transparent 70%);
    opacity: 0.1;
    animation: pulse 8s infinite;
}

.hero-title {
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    background: linear-gradient(45deg, var(--accent), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text);
    opacity: 0.7;
    max-width: 600px;
    text-align: center;
    animation: fadeInUp 1s ease 0.3s backwards;
    line-height: 1.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    min-height: 100vh;
    padding: 8rem 4rem;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.section-subtitle {
    font-size: 1.2rem;
    opacity: 0.6;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-wrapper::before {
    content: 'NALVMA';
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255,255,255,0.2);
}

.about-content {
    font-size: 1.1rem;
    line-height: 2;
    opacity: 0.9;
}

.about-content p {
    margin-bottom: 2rem;
}

.statement-box {
    background: linear-gradient(135deg, rgba(255,51,102,0.1), rgba(0,217,255,0.1));
    padding: 3rem;
    border-radius: 20px;
    border-left: 5px solid var(--accent);
    margin-top: 3rem;
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1600px;
    margin: 0 auto;
}

.art-card {
    position: relative;
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.art-card:hover {
    transform: scale(1.05) rotate(2deg);
}

.art-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.art-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.art-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255,255,255,0.15);
    letter-spacing: 3px;
    pointer-events: none;
    z-index: 2;
}

.art-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 3;
}

.art-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.art-details {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ============================================
   TIMELINE SECTION
   ============================================ */

.timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent);
}

.timeline-item {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.timeline-year {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 1rem;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-desc {
    opacity: 0.7;
    line-height: 1.6;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 2rem;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px var(--accent);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-card {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-label {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-bottom: 0.5rem;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.btn {
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--accent);
    color: white;
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--text);
}

.btn-secondary:hover {
    background: var(--text);
    color: var(--bg);
}

/* ============================================
   MODAL
   ============================================ */

.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;
}

.modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.modal-image-wrapper {
    position: relative;
}

.modal-image {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 10px;
}

.modal-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255,255,255,0.2);
    letter-spacing: 5px;
    pointer-events: none;
}

.modal-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.modal-close:hover {
    transform: rotate(90deg);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    text-align: center;
    padding: 3rem;
    opacity: 0.5;
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 968px) {
    nav {
        padding: 1rem 1.5rem;
        flex-wrap: nowrap;
        gap: 1rem;
        background: rgba(0,0,0,0.95);
    }

    .nav-logo {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .mobile-menu-btn {
        display: flex;
        order: 2;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: left 0.3s ease;
        border-right: 2px solid var(--accent);
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        font-size: 1.2rem;
        padding: 1rem;
    }

    .controls {
        order: 3;
        flex-direction: row;
        gap: 0.5rem;
    }

    .controls select {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    section {
        padding: 4rem 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }

    .timeline-dot {
        left: 20px;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.8rem 1rem;
    }

    .nav-logo {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .nav-menu {
        width: 80%;
    }

    .controls {
        gap: 0.3rem;
    }

    .controls select {
        flex: 1;
        padding: 0.4rem 0.5rem;
        font-size: 0.7rem;
        text-align: center;
        min-width: 60px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .about-image-wrapper::before {
        font-size: 2rem;
    }

    .statement-box {
        padding: 2rem;
        font-size: 1.1rem;
    }

    .gallery-grid {
        gap: 1.5rem;
    }
}