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

body {
    width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background: #0a0a0a;
    cursor: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    padding: 60px;
    padding-bottom: 150vh;
}

.gallery-container {
    margin-top: 80px;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 100;
}

.header {
    position: relative;
    z-index: 1000;
    pointer-events: none;
}

.main-nav {
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    pointer-events: auto;
}

.nav-link {
    color: rgba(0, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: lowercase;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

.nav-link:hover {
    color: #00ffff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #00ffff;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
}

.nav-link:hover::after {
    width: 100%;
}

.title {
    font-size: 4.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #00ffff;
    margin: 0;
    padding: 0;
    text-shadow: 
        0 0 20px rgba(0, 255, 255, 0.8),
        0 0 40px rgba(0, 255, 255, 0.6),
        0 0 60px rgba(0, 255, 255, 0.4);
    animation: titleGlow 3s ease-in-out infinite;
    line-height: 1.1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: rgba(0, 255, 255, 0.7);
    margin: 0.5rem 0 0 0;
    padding: 0;
    text-transform: lowercase;
    text-shadow: 
        0 0 15px rgba(0, 255, 255, 0.6),
        0 0 30px rgba(0, 255, 255, 0.4);
    animation: subtitleGlow 4s ease-in-out infinite;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 
            0 0 20px rgba(0, 255, 255, 0.8),
            0 0 40px rgba(0, 255, 255, 0.6),
            0 0 60px rgba(0, 255, 255, 0.4);
        opacity: 1;
    }
    50% {
        text-shadow: 
            0 0 30px rgba(0, 255, 255, 1),
            0 0 60px rgba(0, 255, 255, 0.8),
            0 0 90px rgba(0, 255, 255, 0.6);
        opacity: 0.95;
    }
}

@keyframes subtitleGlow {
    0%, 100% {
        text-shadow: 
            0 0 15px rgba(0, 255, 255, 0.6),
            0 0 30px rgba(0, 255, 255, 0.4);
        opacity: 0.7;
    }
    50% {
        text-shadow: 
            0 0 25px rgba(0, 255, 255, 0.8),
            0 0 50px rgba(0, 255, 255, 0.6);
        opacity: 0.9;
    }
}

.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid #00ffff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, transform 0.15s ease;
    box-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff, inset 0 0 10px rgba(0, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
}

.cursor.hover {
    width: 40px;
    height: 40px;
    border-color: #ff00ff;
    box-shadow: 0 0 30px #ff00ff, 0 0 60px #ff00ff, inset 0 0 15px rgba(255, 0, 255, 0.3);
}

.cursor-trail {
    width: 8px;
    height: 8px;
    border: 1px solid rgba(0, 255, 255, 0.6);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9998;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.cursor-glow {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9997;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.3) 0%, rgba(255, 0, 255, 0.1) 50%, transparent 70%);
    filter: blur(30px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes glowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

/* Particle effects */
.cursor::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 255, 0.3);
    animation: rotate 3s linear infinite;
}

.cursor::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 255, 0.2);
    animation: rotate 2s linear infinite reverse;
}

@keyframes ripple {
    0% {
        width: 20px;
        height: 20px;
        opacity: 1;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    border: 1px solid rgba(0, 255, 255, 0.1);
    background: #0a0a0a;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.4),
        0 0 60px rgba(0, 255, 255, 0.2),
        0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 255, 255, 0.5);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
    position: relative;
    display: block;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 255, 255, 0.05) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.4s ease, border-color 0.4s ease;
    pointer-events: none;
    z-index: 1;
    box-shadow: inset 0 0 20px rgba(0, 255, 255, 0.3);
}

.gallery-item:hover::before {
    opacity: 1;
    border-color: rgba(0, 255, 255, 0.6);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.lightbox-image {
    pointer-events: auto;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 
        0 0 50px rgba(0, 255, 255, 0.3),
        0 0 100px rgba(0, 255, 255, 0.2);
    animation: lightboxFadeIn 0.4s ease;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        padding: 30px 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .title {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .gallery-container {
        margin-top: 40px;
    }
}

/* About Section */
.about-section {
    margin-top: 120px;
    padding: 60px 0;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 100;
}

.about-content {
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #00ffff;
    margin-bottom: 2rem;
    text-shadow: 
        0 0 20px rgba(0, 255, 255, 0.8),
        0 0 40px rgba(0, 255, 255, 0.6);
}

.about-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.artschool-nepal {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.subsection-title {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #00ffff;
    margin-bottom: 1.5rem;
    text-shadow: 
        0 0 15px rgba(0, 255, 255, 0.6),
        0 0 30px rgba(0, 255, 255, 0.4);
}

.about-text .external-link {
    color: rgba(0, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.about-text .external-link:hover {
    color: #00ffff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
    border-bottom-color: rgba(0, 255, 255, 0.6);
}

.about-text .external-link::after {
    content: ' ↗';
    font-size: 0.9em;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.about-text .external-link:hover::after {
    opacity: 1;
}

.contact-details {
    margin-top: 3rem;
    padding-top: 3rem;
    padding-bottom: 100vh;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.contact-info-inline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1.5rem;
}

.contact-item-inline {
    display: block;
}

.contact-item-inline h4 {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: #00ffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
    text-transform: uppercase;
}

.about-text .contact-link {
    color: rgba(0, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    opacity: 1;
    visibility: visible;
}

.about-text .contact-link:hover {
    color: #00ffff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
    transform: translateX(5px);
}

.about-text .contact-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Contact Section */
.contact-section {
    margin-top: 80px;
    padding: 60px 0 120px;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 100;
    pointer-events: auto;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.contact-content {
    padding: 0 20px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.contact-item {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: #00ffff;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
    text-transform: uppercase;
    display: block !important;
    visibility: visible !important;
}

/* Contact links - very specific selectors to ensure visibility */
.contact-section .contact-item a.contact-link,
.contact-section a.contact-link,
.contact-item .contact-link,
a.contact-link {
    color: rgba(0, 255, 255, 0.9) !important;
    text-decoration: none !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease;
    display: inline-block !important;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5) !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 101 !important;
    font-weight: 400 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.contact-section .contact-item a.contact-link:hover,
.contact-section a.contact-link:hover,
.contact-item .contact-link:hover,
a.contact-link:hover {
    color: #00ffff !important;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8) !important;
    transform: translateX(5px);
}

.contact-section .contact-item a.contact-link::after,
.contact-section a.contact-link::after,
.contact-item .contact-link::after,
a.contact-link::after {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
}

.contact-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 1rem;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Section spacing - ensures sections appear below header when scrolled to */
section[id],
div[id] {
    scroll-margin-top: 120px;
}

/* Footer */
.site-footer {
    width: 100%;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    z-index: 100;
    margin-top: 80px;
}

.site-footer p {
    color: rgba(0, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    margin: 0;
}

@media (max-width: 768px) {
    .main-nav {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-section,
    .contact-section {
        margin-top: 60px;
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .main-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

