:root {
    --bg-color: #080808;
    --text-color: #e5e5e5;
    --text-muted: #888888;
    --accent-color: #ffffff;
    --font-main: 'Inter', sans-serif;
    --header-height: 80px;
    --gap: 20px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Global Noise Filter */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.05;
    /* Subtle noise */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #080808;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-logo {
    width: 80px;
    height: auto;
    opacity: 0.8;
}

.loading-bar-container {
    width: 120px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loading-bar {
    width: 0%;
    height: 100%;
    background-color: #0084c9;
    animation: loadProgress 1.5s ease-in-out forwards;
}

@keyframes loadProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(8, 8, 8, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-content {
    width: 100%;
    max-width: 1600px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.branding {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    /* Adjust based on logo aspect ratio */
    width: auto;
    object-fit: contain;
}

.header-tagline {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 20px;
}

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

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
    color: var(--accent-color);
}

.header-social {
    display: flex;
    gap: 15px;
    margin-left: 30px;
    /* Separate from nav */
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 30px;
}

.header-social a {
    color: #0084c9;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.header-social a:hover {
    color: #fff;
}

/* Main Layout */
main {
    padding-top: var(--header-height);
    min-height: 100vh;
}

/* Gallery Grid */
.gallery-section {
    padding: 120px 40px 40px;
    /* Increased top padding */
    max-width: 1800px;
    margin: 0 auto;
}

.gallery-grid {
    column-count: 3;
    column-gap: var(--gap);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-color: #111;
    margin-bottom: var(--gap);
    break-inside: avoid;
    border-radius: 4px;
    display: inline-block;
    /* Fix for column alignment */
    width: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0.9;
}

.gallery-item:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}

.overlay h3 {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
}

/* Footer */
.site-footer {
    padding: 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 40px;
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-media a {
    color: #0084c9;
    /* Blue accent */
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-media a:hover {
    color: #fff;
}

/* About Section */
.about-section {
    padding: 100px 40px;
    background-color: #0a0a0a;
    /* Slightly lighter than main bg */
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    /* Changed from center to stretch */
    gap: 60px;
}

.about-text {
    flex: 1;
    background-color: #111;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center text vertically */
}

/* ... (skipping .about-text h2/p/skills) ... */

.about-photo {
    flex: 0 0 300px;
    position: relative;
    /* Height removed to let flex stretch handle it */
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.8;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skills span {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-photo {
    flex: 0 0 300px;
    /* Reduced from 400px */
    position: relative;
}

.artist-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    filter: grayscale(20%);
    /* Subtle filter */
    transition: filter 0.3s ease;
}

.artist-img:hover {
    filter: grayscale(0%);
}

/* Contact Section */
.contact-section {
    padding: 100px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-color), #0f0f0f);
}

.contact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: -0.02em;
}

.contact-content p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 160px;
}

.btn-email {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.btn-email:hover {
    background-color: #fff;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: transparent;
    color: var(--text-color);
    border-color: var(--text-color);
}

.btn-whatsapp:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0084c9;
    transition: all 0.3s ease;
    padding: 10px;
    /* Add some padding for touch target */
}

.btn-icon:hover {
    color: #fff;
    transform: translateY(-2px);
}

.contact-phone {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    opacity: 0.8;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    margin: auto;
    display: block;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: 300;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}

.close-lightbox:hover {
    color: #fff;
}

.lightbox-nav {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.lightbox-nav.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-nav.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.lightbox-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

#lightbox-caption {
    margin: 20px auto 0;
    text-align: center;
    color: #ccc;
    font-weight: 400;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        padding: 0 20px;
        flex-direction: column;
        gap: 15px;
        height: auto;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .site-header {
        height: auto;
    }

    nav ul {
        gap: 20px;
        font-size: 0.9rem;
    }

    .header-social {
        display: none;
        /* Hide header social on mobile to save space */
    }

    .gallery-section {
        padding: 100px 20px 40px;
        /* Reduced side padding */
    }

    .gallery-grid {
        column-count: 1;
    }

    .about-content {
        flex-direction: column;
        gap: 30px;
    }

    .about-photo {
        width: 100%;
        flex: auto;
        height: auto;
        aspect-ratio: 1/1;
        /* Square photo on mobile */
    }

    .about-text {
        padding: 20px;
    }

    .contact-section {
        padding: 60px 20px;
    }

    .contact-content h2 {
        font-size: 2rem;
    }

    .logo {
        font-size: 1rem;
    }

    .header-tagline {
        display: none;
    }

    .lightbox-content {
        max-width: 95%;
    }

    .lightbox-nav {
        padding: 10px;
        font-size: 16px;
    }
}