/* Base Styles & Variables */
:root {
    --background-dark: #000000;
    --background-lighter: #1a1a1a;
    --text-color: #EAEAEA;
    --neon-yellow: #EBF400;
    --neon-pink: #F72798;
    --neon-orange: #F57D1F;
    --neon-teal: #1DCD9F;
    --header-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-weight: 300;
    color: var(--text-color);
    background-color: #000000; /* Solid black background */
    min-height: 100vh;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-content {
    padding-top: 100px;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--header-font);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--neon-yellow), var(--neon-pink), var(--neon-teal));
    box-shadow: 0 0 8px var(--neon-pink);
}

/* Neon Effects */
.neon-link {
    position: relative;
    transition: all 0.3s ease;
}

.neon-link:hover, .neon-link.active {
    text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 15px currentColor;
}

.neon-yellow {
    color: var(--neon-yellow);
}

.neon-pink {
    color: var(--neon-pink);
}

.neon-orange {
    color: var(--neon-orange);
}

.neon-teal {
    color: var(--neon-teal);
}

.neon-button {
    background-color: transparent;
    border: 2px solid var(--neon-yellow);
    color: var(--neon-yellow);
    padding: 10px 25px;
    font-family: var(--header-font);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 3px;
    box-shadow: 0 0 5px var(--neon-yellow);
}

.neon-button:hover {
    background-color: var(--neon-yellow);
    color: var(--background-dark);
    box-shadow: 0 0 10px var(--neon-yellow), 0 0 20px var(--neon-yellow);
}

.neon-button.neon-pink {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    box-shadow: 0 0 5px var(--neon-pink);
}

.neon-button.neon-pink:hover {
    background-color: var(--neon-pink);
    color: var(--background-dark);
    box-shadow: 0 0 10px var(--neon-pink), 0 0 20px var(--neon-pink);
}

.neon-button.neon-orange {
    border-color: var(--neon-orange);
    color: var(--neon-orange);
    box-shadow: 0 0 5px var(--neon-orange);
}

.neon-button.neon-orange:hover {
    background-color: var(--neon-orange);
    color: var(--background-dark);
    box-shadow: 0 0 10px var(--neon-orange), 0 0 20px var(--neon-orange);
}

.neon-button.neon-teal {
    border-color: var(--neon-teal);
    color: var(--neon-teal);
    box-shadow: 0 0 5px var(--neon-teal);
}

.neon-button.neon-teal:hover {
    background-color: var(--neon-teal);
    color: var(--background-dark);
    box-shadow: 0 0 10px var(--neon-teal), 0 0 20px var(--neon-teal);
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-speed) ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.header-left {
    flex: 1;
}

.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

/* Mobile menu toggle - Hidden by default on desktop */
.mobile-menu-toggle {
    display: none; /* Hidden on larger screens */
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    outline: none;
}

.artist-name {
    font-size: 1.8rem;
    margin: 0;
}

.main-nav {
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav ul li a {
    font-family: var(--header-font);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

/* Logo Container - Special Styling for the Animated Logo */
.logo-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--neon-orange);
    box-shadow: 0 0 8px var(--neon-orange);
    transition: all 0.3s ease;
    z-index: 1010;
}

.logo-container:hover {
    box-shadow: 0 0 15px var(--neon-orange), 0 0 25px var(--neon-orange);
    transform: scale(1.05);
}

.animated-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Section */
.hero-section {
    height: 100vh; /* Full viewport height */
    width: 100%; /* Full width */
    position: relative; /* Crucial for positioning overlay and content */
    display: flex; /* To center content */
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden; /* Prevent potential pseudo-element overflow */

    /* Apply the background image using webp format instead of PNG */
    background-image: url('Assets/Artworks/Illustrations/The Night Watch.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-section::before {
    content: ''; /* Required for pseudo-elements */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient: transparent top/middle, fading to solid black at the bottom */
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 60%,  /* Transparent for the top 60% */
        rgba(0, 0, 0, 0.8) 85%, /* Start fading to black */
        rgba(0, 0, 0, 1) 100%  /* Solid black at the very bottom */
    );
    z-index: 1; /* Position behind the hero content */
}

.hero-content {
    position: relative; /* Position relative to stack above the overlay */
    z-index: 2; /* Ensure content is above the ::before overlay */
    padding: 20px; /* Add some padding */
    color: #EAEAEA; /* Ensure text is light */
    max-width: 700px;
    margin: 0 auto;
}

.hero-tagline {
    font-size: 2.5em; /* Example */
    margin-bottom: 30px;
    font-weight: bold;
    color: var(--text-color);
}

.cta-button {
    display: inline-block;
    padding: 12px 25px;
    border: 2px solid #EBF400; /* Neon Yellow border */
    color: #EBF400;
    background-color: rgba(0, 0, 0, 0.3); /* Slight dark bg */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 8px rgba(235, 244, 0, 0.6); /* Neon glow */
    font-size: 1.1em;
    text-transform: uppercase;
    margin-top: 1rem;
}

.cta-button:hover {
    background-color: rgba(235, 244, 0, 0.2); /* More yellow bg on hover */
    color: #fff;
    box-shadow: 0 0 15px rgba(235, 244, 0, 0.9); /* Brighter glow */
}

/* Section helpers */
.section-intro {
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.05rem;
    opacity: 0.75;
    line-height: 1.6;
}

/* Featured Projects */
.featured-section {
    padding: 100px 0 60px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.featured-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
}

.featured-card:hover {
    transform: translateY(-8px);
    border-color: rgba(235, 244, 0, 0.35);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.45);
}

.featured-card.skeleton {
    position: relative;
    min-height: 340px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.featured-card.skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150px;
    width: 120px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(0); }
    100% { transform: translateX(480px); }
}

.featured-media {
    position: relative;
    padding-top: 62%;
    overflow: hidden;
}

.featured-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-media img {
    transform: scale(1.05);
}

.featured-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.featured-category {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.65;
    color: var(--neon-pink);
}

.featured-body h3 {
    font-size: 1.35rem;
    margin: 0;
}

.featured-summary {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.6;
    flex: 1;
}

.featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    opacity: 0.7;
}

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

.featured-tags span {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    letter-spacing: 0.4px;
}

.featured-actions {
    margin-top: 10px;
}

.featured-actions .cta-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--header-font);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--neon-yellow);
}

.featured-actions .cta-inline i {
    transition: transform 0.3s ease;
}

.featured-actions .cta-inline:hover i {
    transform: translateX(4px);
}

/* About Section */
.about-section {
    padding: 80px 0;
    position: relative;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.about-text {
    flex: 2;
}

.about-image {
    flex: 1;
}

.headshot-image {
    max-width: 100%;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.artist-quote {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 2rem;
    padding-left: 20px;
    border-left: 3px solid var(--neon-pink);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        align-items: center;
    }
    
    .about-image {
        margin-bottom: 30px;
        max-width: 350px;
    }
}

.bio-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-bottom: 40px;
}

.bio-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.bio-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.bio-card p {
    margin: 0;
    opacity: 0.85;
}

.stats-grid {
    list-style: none;
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.stats-grid li {
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-number {
    font-family: var(--header-font);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--neon-yellow);
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.75;
    line-height: 1.4;
}

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

.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0));
}

.timeline-item {
    position: relative;
    padding-left: 36px;
    margin-bottom: 28px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--neon-pink);
    box-shadow: 0 0 10px rgba(247, 39, 152, 0.6);
}

.timeline-year {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--neon-teal);
    margin-bottom: 8px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.timeline-content h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.timeline-content h4 span {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.75;
}

.timeline-content p {
    margin-bottom: 12px;
    opacity: 0.8;
    line-height: 1.5;
}

.chip-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.chip-list li {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    letter-spacing: 0.4px;
}

.skills-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.skills-wrapper h3 {
    margin-bottom: 16px;
}

.skill-groups {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.skill-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.skill-level {
    font-size: 0.75rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    opacity: 0.7;
}

.skill-meter {
    position: relative;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.skill-meter span {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--neon-yellow), var(--neon-pink));
    width: 0;
    transition: width 0.6s ease;
}

.skill-group[data-level="expert"] .skill-meter span {
    width: 100%;
}

.skill-group[data-level="advanced"] .skill-meter span {
    width: 85%;
}

.skill-group[data-level="proficient"] .skill-meter span {
    width: 70%;
}

.tool-tag-cloud {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tool-tag {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(29, 205, 159, 0.1);
    border: 1px solid rgba(29, 205, 159, 0.3);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

/* Contact Section */
#contact {
    padding: 100px 0;
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.form-group input, .form-group textarea {
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    color: var(--text-color);
    font-family: var(--body-font);
    resize: none;
    transition: all var(--transition-speed) ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.15);
}

.submit-button {
    align-self: flex-start;
    margin-top: 10px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-section {
    padding: 80px 0;
}

.connect-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    transition: all var(--transition-speed) ease;
}

.social-link i {
    width: 25px;
    text-align: center;
}

.social-link.behance:hover {
    color: var(--neon-yellow);
    text-shadow: 0 0 5px var(--neon-yellow), 0 0 10px var(--neon-yellow);
}

.social-link.artstation:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 5px var(--neon-pink), 0 0 10px var(--neon-pink);
}

.social-link.linkedin:hover {
    color: var(--neon-teal);
    text-shadow: 0 0 5px var(--neon-teal), 0 0 10px var(--neon-teal);
}

.email-link {
    color: var(--text-color);
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.email-link:hover {
    opacity: 1;
}

.resume-button {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    border: 2px solid var(--neon-yellow);
    color: var(--neon-yellow);
    border-radius: 4px;
    background-color: transparent;
    box-shadow: 0 0 8px var(--neon-yellow);
    transition: all var(--transition-speed) ease;
    font-weight: 500;
}

.resume-button:hover {
    background-color: var(--neon-yellow);
    color: var(--background-dark);
    box-shadow: 0 0 15px var(--neon-yellow), 0 0 25px var(--neon-yellow);
}

.form-status {
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--text-color);
    background-color: rgba(0, 0, 0, 0.4);
    border-left: 3px solid var(--neon-teal);
    padding: 10px 14px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 255, 214, 0.25);
}

.form-status.error {
    border-left-color: #ff4f6d;
    box-shadow: 0 0 12px rgba(255, 79, 109, 0.25);
}

/* Gallery Section */
#gallery {
    padding: 120px 0 80px; /* Adjust padding as needed */
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px; /* Spacing between buttons */
    margin-bottom: 40px; /* Space below filters */
}

.gallery-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
    padding: 22px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.gallery-controls .search-group {
    grid-column: span 2;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.control-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.7;
}

.control-group input,
.control-group select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    color: var(--text-color);
    font-family: var(--body-font);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.control-group input:focus,
.control-group select:focus {
    outline: none;
    border-color: rgba(235, 244, 0, 0.6);
    box-shadow: 0 0 0 2px rgba(235, 244, 0, 0.2);
}

.control-group select option {
    background: #0d0d0d;
    color: var(--text-color);
}

.filter-btn {
    margin: 0; /* Reset default margin */
    padding: 10px 20px; /* Button padding */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
    cursor: pointer;
    font-size: 0.9rem;
    font-family: var(--header-font);
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent background */
    color: var(--text-color);
    border-radius: 5px; /* Rounded corners */
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn.active {
    background-color: var(--neon-pink); /* Active button color */
    color: var(--background-dark); /* Text color for active button */
    border-color: var(--neon-pink);
    box-shadow: 0 0 10px var(--neon-pink); /* Neon glow for active */
}

.filter-btn:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.2); /* Hover effect for non-active buttons */
    border-color: rgba(255, 255, 255, 0.4);
}

/* --- Old Gallery Styles (Commented Out) --- */
/*
.gallery-grid {
    display: block;
    width: 100%;
}

.folder-group {
    margin-bottom: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.folder-group:first-child {
    border-top: none;
    padding-top: 0;
}

.folder-title {
    font-size: 1.8em;
    margin-bottom: 25px;
    color: #cccccc;
    text-align: left;
    font-family: var(--header-font);
    font-weight: 500;
}

.folder-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    grid-auto-rows: auto;
    min-height: auto;
    overflow: visible;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

.gallery-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 75%; // 4:3 Aspect Ratio
    overflow: hidden;
}

.gallery-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

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

.gallery-info {
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.7);
}

.gallery-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.gallery-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}
*/
/* --- End Old Gallery Styles --- */


/* --- New CSS Grid Gallery Styles --- */
.photo-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive columns */
    grid-auto-rows: 200px; /* Base height for rows */
    grid-gap: 5px; /* Gap between items */
    grid-auto-flow: dense; /* Fill gaps */
    padding: 5px; /* Match gap */
    margin-top: 20px; /* Space below filters */
}

.photo-grid-container .empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
    font-size: 1rem;
    opacity: 0.8;
}

.photo-grid-container .empty-state strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.grid-item {
    position: relative; /* For icon positioning */
    overflow: hidden; /* Clip image zoom */
    cursor: pointer;
    background-color: var(--background-lighter); /* Placeholder bg */
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the grid area */
    display: block; /* Remove extra space */
    transition: opacity 0.3s ease; /* Only transition opacity if needed, or remove */
    opacity: 1; /* Keep image fully visible */
}

/* Add overlay pseudo-element */
.grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
    pointer-events: none; /* Don't block clicks */
    z-index: 1; /* Below title and icons */
}

/* Add title pseudo-element */
.grid-item::after {
    content: attr(data-title);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-color);
    font-family: var(--header-font);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    padding: 10px;
    max-width: 90%;
    opacity: 0;
    transition: opacity var(--transition-speed) ease 0.1s; /* Slight delay */
    pointer-events: none; /* Don't block clicks */
    z-index: 2; /* Above overlay */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Improve readability */
}

/* Show overlay and title on hover */
.grid-item:hover::before,
.grid-item:hover::after {
    opacity: 1;
}

/* Spanning Classes */
.grid-item.vertical {
    grid-row: span 2;
}

.grid-item.horizontal {
    grid-column: span 2;
}

.grid-item.big {
    grid-row: span 2;
    grid-column: span 2;
}

/* Responsive adjustments for spanning */
@media (max-width: 768px) {
    .photo-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Smaller min size */
        grid-auto-rows: 150px; /* Smaller base height */
    }
    .grid-item.horizontal,
    .grid-item.big {
        grid-column: span 1; /* Reset horizontal span */
    }
    /* Keep vertical span on medium screens, adjust if needed */
}

@media (max-width: 500px) {
     .photo-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Even smaller min size */
        grid-auto-rows: 150px;
        grid-gap: 3px;
        padding: 3px;
    }
     .grid-item.vertical,
     .grid-item.horizontal,
     .grid-item.big {
          grid-row: span 1; /* Reset all spans */
          grid-column: span 1;
     }
 }

/* Play Icon for Videos (Keep existing) */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3; /* Below zoom icon, above title/overlay */
    pointer-events: none; /* Don't interfere with clicks */
}

.play-icon:before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid white;
    margin-left: 5px;
}

/* Ensure zoom icon is clickable even if play icon is present */
.grid-item[data-video-src] .zoom-icon {
    z-index: 6; /* Make sure zoom is on top */
}

/* Hide data element used for video source */
.video-src {
    display: none;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow-y: auto;
    backdrop-filter: blur(5px);
}

/* Add this rule to ensure the show class works properly */
.lightbox-modal.show {
    display: block !important;
}

.modal-content {
    position: relative; /* Needed for absolute positioning of zoom toggle */
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
    background-color: rgba(26, 26, 26, 0.9);
    padding: 30px;
    border-radius: 5px;
}

.modal-body {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 32px;
    align-items: flex-start;
}

.modal-media-column {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.close-modal {
    position: absolute;
    top: 1rem; /* Use relative units */
    right: 1rem; /* Use relative units */
    width: 35px; /* Set fixed size */
    height: 35px; /* Set fixed size */
    font-size: 1.5rem; /* Adjust icon size */
    line-height: 1; /* Center the 'x' vertically */
    cursor: pointer;
    color: var(--neon-pink); /* Use neon color for 'x' */
    background-color: rgba(0, 0, 0, 0.5); /* Add background for contrast */
    border: none; /* Remove default border if any */
    border-radius: 50%; /* Make it circular */
    display: flex; /* Use flexbox for centering */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    transition: all var(--transition-speed) ease;
    z-index: 2010; /* Ensure it's above other modal content */
    opacity: 1; /* Ensure it's fully visible */
}

.close-modal:hover {
    background-color: rgba(0, 0, 0, 0.8); /* Darken background on hover */
    color: var(--neon-yellow); /* Change icon color on hover */
    transform: scale(1.1); /* Slightly smaller scale effect */
    opacity: 1; /* Keep opacity full on hover */
}

.modal-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.nav-prev, .nav-next {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--text-color);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed) ease;
    opacity: 0.7;
    pointer-events: auto;
}

.nav-prev:hover, .nav-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 1;
}

.media-container {
    width: 100%;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.media-container img, .media-container video {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.modal-info {
    padding: 22px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.8;
}

.modal-client,
.modal-role {
    font-size: 0.9rem;
    opacity: 0.75;
}

.modal-tools,
.modal-highlights,
.modal-process,
.modal-links,
.modal-tags {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-description {
    line-height: 1.7;
    opacity: 0.85;
}

.modal-tools-list,
.modal-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-tools-list li,
.modal-tags-list li {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    letter-spacing: 0.4px;
}

.modal-highlights ul,
.modal-process ol {
    margin: 0;
    padding-left: 20px;
    opacity: 0.85;
    line-height: 1.6;
}

.modal-highlights h4,
.modal-process h4,
.modal-tools h4,
.modal-links h4,
.modal-tags h4 {
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.75;
}

.modal-links a {
    color: var(--neon-yellow);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.modal-links a:hover {
    text-shadow: 0 0 8px rgba(235, 244, 0, 0.6);
}

.modal-related {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.03);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-related h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 14px;
}

.modal-related .empty-related {
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.75;
}

.related-card {
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.45);
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.related-card:hover {
    transform: translateY(-4px);
    border-color: rgba(247, 39, 152, 0.4);
}

.related-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.related-card span {
    display: block;
    padding: 10px;
    font-size: 0.8rem;
    text-align: center;
    opacity: 0.8;
}

/* Footer */
footer {
    padding: 30px 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content, .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .artist-photo {
        position: relative;
        top: 0;
        max-width: 350px;
        margin: 0 auto 30px;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-media-column {
        gap: 20px;
    }

    .logo-container {
        width: 70px;
        height: 70px;
        right: 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .contact-content {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header-container {
        position: relative;
        padding: 10px 20px;
    }
    
    /* Mobile menu toggle - Show on mobile */
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1010;
        margin-right: 80px; /* Increased from 50px to 80px for better spacing from logo */
    }
    
    /* Hide standard navigation on mobile */
    .main-nav {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: rgba(0, 0, 0, 0.95);
        padding: 0;
        margin: 0;
    }
    
    /* Show navigation when active class is applied via JS */
    .main-nav.active {
        max-height: 300px;
        padding: 15px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    }
    
    /* Adjust navigation items for mobile */
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 10px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .artist-statement {
        font-size: 1.3rem;
    }

    .gallery-filters {
        flex-wrap: wrap;
        gap: 8px;
    }

    .filter-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .gallery-controls {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        padding: 18px;
        gap: 16px;
    }

    .gallery-controls .search-group {
        grid-column: span 1;
    }

    .logo-container {
        width: 60px;
        height: 60px;
        top: auto;
        right: 15px;
        z-index: 1005;
    }
    
    .about-content {
        flex-direction: column-reverse;
    }

    .about-image {
        margin: 0 auto 30px;
        max-width: 200px;
    }

    .hero-tagline {
        font-size: 1.8em;
    }

    .journey-grid {
        gap: 24px;
    }

    .modal-info {
        padding: 18px;
    }

    .modal-related {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }

    .header-container {
        padding: 10px 15px;
    }

    .artist-name {
        font-size: 1.5rem;
    }

    .hero-tagline {
        font-size: 1.5rem;
    }

    /* Position mobile toggle further left on very small screens */
    .mobile-menu-toggle {
        margin-right: 70px; /* Increased from 40px to 70px for better spacing on small screens */
    }

    .logo-container {
        width: 50px;
        height: 50px;
        right: 10px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-controls {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 20px 10px; /* Adjust padding */
        margin: 20px auto; /* Adjust margin */
    }

    .close-modal {
        top: 0.5rem; /* Adjust position for small screens */
        right: 0.5rem; /* Adjust position for small screens */
        width: 30px; /* Smaller size */
        height: 30px; /* Smaller size */
        font-size: 1.2rem; /* Smaller icon */
    }

    /* Improved form styling for mobile */
    .contact-content {
        padding: 0;
    }
    
    .contact-form {
        width: 100%;
    }
    
    .form-group input, 
    .form-group textarea {
        padding: 12px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }
    
    .submit-button {
        width: 100%;
        padding: 14px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .bio-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid li {
        padding: 14px 16px;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .journey-grid {
        grid-template-columns: 1fr;
    }

    .skill-groups {
        gap: 16px;
    }

    .tool-tag {
        font-size: 0.75rem;
        padding: 6px 10px;
    }

    .modal-body {
        gap: 16px;
    }

    .modal-info,
    .modal-related {
        padding: 14px;
    }
}

/* Animation Classes */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Add skeleton pulse animation */
@keyframes pulse {
    0% { background-color: rgba(255, 255, 255, 0.1); }
    50% { background-color: rgba(255, 255, 255, 0.15); }
    100% { background-color: rgba(255, 255, 255, 0.1); }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Skeleton Loader Styles */
.skeleton-button {
    width: 100px; /* Approximate width of a filter button */
    height: 38px; /* Approximate height of a filter button */
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    animation: pulse 1.5s infinite ease-in-out;
    /* Ensure they participate in the flex layout */
    flex-shrink: 0;
}

.skeleton-item {
    background-color: rgba(255, 255, 255, 0.1);
    animation: pulse 1.5s infinite ease-in-out;
    border-radius: 3px; /* Optional: slight rounding */
    /* It will automatically fit into the grid like .grid-item */
}

/* Apply spanning for skeleton items to match HTML */
.skeleton-item.vertical {
    grid-row: span 2;
}

.skeleton-item.horizontal {
    grid-column: span 2;
}

.skeleton-item.big {
    grid-row: span 2;
    grid-column: span 2;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.show {
    display: block !important;
}

/* Magnifier Glass Styles */
.img-magnifier-container {
  position: relative;
  /* Add display: inline-block; if needed */
}

.img-magnifier-glass {
  position: absolute;
  border: 1px solid #EAEAEA; /* Changed from 3px */
  border-radius: 50%;
  cursor: none;
  /* Larger size */
  width: 180px; /* Increased from 120px */
  height: 180px; /* Increased from 120px */
  /* Ensure it's above the image but below modal controls */
  z-index: 1050; /* Adjust if necessary based on modal z-index */
  display: none; /* Hidden by default until activated */
}

/* --- START: Zoom Controls Container --- */
.zoom-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    background-color: rgba(0, 0, 0, 0.45);
    padding: 8px 14px;
    border-radius: 12px;
    align-self: flex-end;
    margin-bottom: 12px;
}
/* --- END: Zoom Controls Container --- */

/* Zoom toggle button */
.zoom-toggle {
  /* position: absolute; */ /* REMOVED - Now positioned by flex container */
  /* top: 15px; */ /* REMOVED */
  /* left: 20px; */ /* REMOVED */
  position: static; /* Reset positioning */
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  /* z-index: 1051; */ /* REMOVED - Container handles z-index */
}

.zoom-toggle:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.zoom-toggle.active {
  background-color: var(--neon-pink);
  color: var(--background-dark);
  box-shadow: 0 0 5px var(--neon-pink);
}

/* --- START: Zoom Slider Styles --- */
#zoom-slider {
    cursor: pointer;
    width: 120px; /* Adjust width as needed */
    height: 5px; /* Make slider track thinner */
    opacity: 0.7;
    transition: opacity 0.2s ease-in-out;
    /* Basic appearance */
    -webkit-appearance: none;
    appearance: none;
    background: #555;
    border-radius: 5px;
    outline: none;
}

#zoom-slider:hover {
    opacity: 1;
}

/* Style slider thumb (cross-browser) */
#zoom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--neon-pink); /* Use a theme color */
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 5px var(--neon-pink);
}

#zoom-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--neon-pink);
    border-radius: 50%;
    cursor: pointer;
    border: none; /* Reset default */
     box-shadow: 0 0 5px var(--neon-pink);
}

/* Style slider track (optional, basic) */
 #zoom-slider::-webkit-slider-runnable-track {
     height: 5px;
     background: #555;
     border-radius: 5px;
 }
 #zoom-slider::-moz-range-track {
     height: 5px;
     background: #555;
     border-radius: 5px;
 }

/* Style when disabled */
#zoom-slider:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
 #zoom-slider:disabled::-webkit-slider-thumb {
     background: #777;
     box-shadow: none;
 }
 #zoom-slider:disabled::-moz-range-thumb {
     background: #777;
     box-shadow: none;
 }
/* --- END: Zoom Slider Styles --- */

/* Responsive adjustments for zoom controls */
@media (max-width: 480px) {
    .zoom-controls {
        gap: 8px; /* Reduce gap */
        padding: 4px 8px;
    }
    #zoom-slider {
        width: 80px; /* Make slider smaller */
    }
    .zoom-toggle {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
}

/* Accessibility: Focus Visible Styles */
*:focus-visible {
    outline: 2px solid var(--neon-teal); /* Use teal for focus */
    outline-offset: 3px; /* Slightly more offset */
    box-shadow: 0 0 8px var(--neon-teal); /* Add neon glow */
    /* We avoid removing the default outline entirely, preferring to override */
}

/* Remove default focus outline ONLY if absolutely necessary and replaced by focus-visible */
/* *:focus { outline: none; } */ /* Generally avoid this */

/* Specific adjustments if needed (often the universal selector is enough) */
/* Example: Ensure form inputs don't have double outlines */
/* The universal *:focus-visible style is generally sufficient for form inputs. */

/* Special handling for slider thumb focus */
#zoom-slider:focus-visible::-webkit-slider-thumb {
     box-shadow: 0 0 0 4px rgba(29, 205, 159, 0.6); /* Slightly larger teal glow around thumb */
}
 #zoom-slider:focus-visible::-moz-range-thumb {
     box-shadow: 0 0 0 4px rgba(29, 205, 159, 0.6);
 }

/* Ensure grid items get focus style if they are made focusable (e.g., via tabindex) */
/* The universal *:focus-visible style will apply. Add specific styles below if needed. */
