  /* CSS Variables for consistent theming */
  :root {
    --bg-primary: #1a1f2e;
    --text-primary: #F4F4F4;
    --text-secondary: #D1D1D1;
    --bg-section: #2A324B;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    --accent-1: #FF6B6B;
    --accent-2: #4ECDC4;
    --accent-3: #FFD166;
    --accent-4: #A05EB5;
}

/* Reset and Base Styles */
/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 5px;
    /* background: var(--bg-section); */
    padding: 6px 8px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); */
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    transition: all 0.3s ease;
}

.language-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    cursor: pointer;
    font-family: var(--font-body);
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.language-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .language-selector {
        top: 15px;
        right: 15px;
        padding: 5px 6px;
    }
    
    .language-btn {
        padding: 5px 12px;
        font-size: 13px;
        min-width: 45px;
    }
}

/* Base Styles */
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    word-spacing: normal;
    letter-spacing: 0.01em;
}

/* Typography */
h1, h2 {
    font-family: var(--font-heading);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-3), var(--accent-4));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 8s ease infinite;
    margin-bottom: 1rem;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--accent-gold);
    text-align: center;
    margin-bottom: 3rem;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Container */
.container {
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Spacing */
section {
    padding: 80px 0;
}

/* Fixed Animation Background */
#animation-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    z-index: -1;
    margin: 0;
    /* background: transparent; */
    background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);

}

.hero-content {
    margin-top: -150px;
    position: relative;
    z-index: 2;
}

.tagline {
    font-size: 1.4rem;
    color: var(--text-secondary);
    font-weight: 300;
    margin-top: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    position: relative;
    display: inline-block;
}

.tagline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-4));
    animation: expand 2s ease-out forwards;
    animation-delay: 1s;
}

@keyframes expand {
    to { width: 100%; }
}

.scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--accent-gold);
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Manifesto Section */
#manifesto {
    background-color: var(--bg-section);
    text-align: center;
    position: relative;
    z-index: 2;
}

.manifesto-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.3rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

/* Artist Portrait Section */
#artist-portrait {
    padding: 80px 0;
    background-color: var(--bg-section);
}

.artist-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.artist-content {
    flex: 1;
    padding-right: 40px;
}

.artist-content h2 {
    color: white;
    margin-bottom: 30px;
    /* font-size: 2.5rem; */
    /* font-weight: 600; */
}

.artist-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.artist-image-container {
    flex: 1;
    position: relative;
    padding-left: 0;
}

.artist-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artist-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Responsive styles */
@media (max-width: 992px) {
    .artist-container {
        flex-direction: column-reverse;
        padding: 0 20px;
    }
    
    .artist-content {
        padding-right: 0;
        margin-top: 40px;
    }
    
    .artist-image {
        max-width: 100%;
    }
    .artist-content {
        padding-bottom: 8rem;
    }
}

/* Gallery Section */
#gallery {
    background-color: var(--bg-primary);
    position: relative;
    z-index: 2;
}

/* Gallery Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 2rem;
    width: 100%;
}

.gallery-grid-2 {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

@media (max-width: 768px) {
    .gallery-grid,
    .gallery-grid-2 {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .gallery-grid,
    .gallery-grid-2 {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1/1; /* Makes all items square */
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--bg-section);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(180, 138, 100, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
    object-position: center;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

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

.overlay-text {
    color: white;
    font-weight: 500;
}

/* Artist Portrait Section */
#artist-portrait {
    background: #010101;
    padding: 0;
    text-align: center;
    overflow: hidden;
    position: relative;
    z-index: -1;
}

.artist-image {
    max-width: 100%;
    width: 600px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* About and Biography Sections */
#about, #biography {
    background-color: var(--bg-section);
    text-align: center;
    padding: 4rem 0;
}

#biography {
    background-color: var(--bg-primary);
    position: relative;
    z-index: 2;
}

#biography .content-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    letter-spacing: 0.5px;
    word-spacing: 1px;
    font-size: 1.1rem;
    text-align: left;
    padding: 0 2rem;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

#biography p {
    margin-bottom: 1.5rem;
    text-align: left;
    hyphens: none;
    word-spacing: normal;
    white-space: normal;
}

.content-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

/* Contact Section */
#contact {
    background-color: var(--bg-primary);
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--bg-section);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

/* About Section */
#about {
    padding: 8rem 0;
    outline: none;
    border-color: var(--accent-gold);
    position: relative;
    z-index: 2;
}

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

.submit-btn {
    background-color: var(--accent-gold);
    color: var(--bg-primary);
    border: none;
    padding: 14px 30px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 1rem;
}
.submit-btn:hover {
    background-color: #A07B5E;
    transform: translateY(-2px);
}
/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 2rem;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.social-link:hover {
    background: rgba(255, 107, 107, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 107, 107, 0.3);
}

.social-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
    transform: scale(1.2);
}

.social-username {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.social-link:hover .social-username {
    color: var(--text-primary);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 20px;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: block;
    margin-top: 5%;
}

.lightbox img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.lightbox-info {
    background-color: var(--bg-section);
    color: var(--text-primary);
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
}

.lightbox-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--text-primary);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-lightbox:hover {
    color: var(--accent-gold);
}

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* Word animation for manifesto */
.word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: wordFadeIn 0.8s ease forwards;
}

@keyframes wordFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    section {
        padding: 60px 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .manifesto-text {
        font-size: 1.1rem;
    }

    /* Artist Portrait Mobile Styles */
    #artist-portrait {
        padding: 40px 0;
    }
    
    .artist-image {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
}

/* Footer Styles */
.site-footer {
    position: relative;
    width: 100%;
    color: var(--text-secondary);
    text-align: center;
    padding: 20px 0;
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    z-index: 2;
    box-sizing: border-box;
}

.footer-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.site-footer p {
    margin: 0;
    padding: 0;
    text-align: center;
    line-height: 1.5;
    width: 100%;
}