/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Darker Wabi-Sabi Color Palette */
    --primary-grey: #5A5A5A;
    --dark-grey: #3A3A3A;
    --light-grey: #7A7A7A;
    --warm-grey: #6B6660;
    --organic-brown: #5A4B3D;
    --soft-white: #1A1A1A;
    --charcoal: #0F0F0F;
    --muted-green: #4A5A4A;
    --earth-tone: #6A5A45;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: #E0E0E0;
    background-color: var(--soft-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(248, 246, 243, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-smooth);
}

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

.nav-logo a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: #E0E0E0;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.nav-logo a:hover {
    color: var(--organic-brown);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--primary-grey);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link:hover {
    color: #E0E0E0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--organic-brown);
    transition: var(--transition-smooth);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #E0E0E0;
    margin: 3px 0;
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--section-padding);
    background: linear-gradient(135deg, #E8E0D6 0%, #D9D1C7 25%, #E2DAD0 50%, #DDD5CB 75%, #E5DDD3 100%);
    position: relative;
    overflow: hidden;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% {
        background: linear-gradient(135deg, #E8E0D6 0%, #D9D1C7 25%, #E2DAD0 50%, #DDD5CB 75%, #E5DDD3 100%);
    }
    25% {
        background: linear-gradient(135deg, #E2DAD0 0%, #E8E0D6 25%, #DDD5CB 50%, #E5DDD3 75%, #D9D1C7 100%);
    }
    50% {
        background: linear-gradient(135deg, #DDD5CB 0%, #E5DDD3 25%, #E8E0D6 50%, #D9D1C7 75%, #E2DAD0 100%);
    }
    75% {
        background: linear-gradient(135deg, #E5DDD3 0%, #DDD5CB 25%, #D9D1C7 50%, #E2DAD0 75%, #E8E0D6 100%);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.hero-image {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 1rem;
}


.hero-text {
    z-index: 2;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--dark-grey);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--primary-grey);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-description {
    margin-bottom: 2.5rem;
}

.hero-description p {
    font-size: 1.1rem;
    color: var(--warm-grey);
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: #E0E0E0;
    color: var(--soft-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition-smooth);
    border: 2px solid #E0E0E0;
}

.cta-button:hover {
    background: transparent;
    color: #E0E0E0;
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.watercolor-blob {
    width: 500px;
    height: 500px;
    background: linear-gradient(45deg, var(--muted-green), var(--organic-brown), var(--warm-grey));
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    opacity: 0.9;
    animation: blob 8s ease-in-out infinite;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(80px);
}

.blob-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    opacity: 0.8;
    mix-blend-mode: multiply;
}

.video-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
}

.carousel-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.carousel-video.active {
    opacity: 0.8;
    mix-blend-mode: multiply;
}

.blob-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    opacity: 0.8;
    mix-blend-mode: multiply;
    -webkit-playsinline: true;
    -moz-playsinline: true;
    -ms-playsinline: true;
    playsinline: true;
}

/* Portrait and Landscape Gallery - Clean Layout */
.portrait-gallery, .landscape-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 2rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

.portrait-gallery .gallery-item:nth-child(1),
.landscape-gallery .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.portrait-gallery .gallery-item:nth-child(2),
.landscape-gallery .gallery-item:nth-child(2) {
    grid-column: span 2;
    grid-row: span 2;
}

.portrait-gallery .gallery-item:nth-child(3),
.landscape-gallery .gallery-item:nth-child(3) {
    grid-column: span 2;
    grid-row: span 2;
}

.portrait-gallery .gallery-item:nth-child(4),
.landscape-gallery .gallery-item:nth-child(4) {
    grid-column: span 2;
    grid-row: span 2;
}

.portrait-gallery .gallery-item:nth-child(5),
.landscape-gallery .gallery-item:nth-child(5) {
    grid-column: span 2;
    grid-row: span 2;
}

.portrait-gallery .gallery-item:nth-child(6),
.landscape-gallery .gallery-item:nth-child(6) {
    grid-column: span 2;
    grid-row: span 2;
}

.portrait-gallery .gallery-item:nth-child(7),
.landscape-gallery .gallery-item:nth-child(7) {
    grid-column: span 2;
    grid-row: span 2;
}

.portrait-gallery .gallery-item:nth-child(8),
.landscape-gallery .gallery-item:nth-child(8) {
    grid-column: span 2;
    grid-row: span 2;
}

.portrait-gallery .gallery-item:nth-child(9),
.landscape-gallery .gallery-item:nth-child(9) {
    grid-column: span 2;
    grid-row: span 2;
}

.portrait-gallery .gallery-item:nth-child(10),
.landscape-gallery .gallery-item:nth-child(10) {
    grid-column: span 2;
    grid-row: span 2;
}

.portrait-gallery .gallery-item:nth-child(11),
.landscape-gallery .gallery-item:nth-child(11) {
    grid-column: span 2;
    grid-row: span 2;
}

.portrait-gallery .gallery-item:nth-child(12),
.landscape-gallery .gallery-item:nth-child(12) {
    grid-column: span 2;
    grid-row: span 2;
}

.portrait-gallery .gallery-item,
.landscape-gallery .gallery-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    cursor: pointer;
    background: transparent;
    /* Performance optimizations for smooth scrolling */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

.portrait-gallery .gallery-item:hover,
.landscape-gallery .gallery-item:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.portrait-gallery .gallery-image,
.landscape-gallery .gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    background: transparent;
    border-radius: 20px;
    /* Performance optimizations for smooth scrolling */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

.portrait-gallery .gallery-item:hover .gallery-image,
.landscape-gallery .gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.portrait-gallery .gallery-overlay,
.landscape-gallery .gallery-overlay {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
    backdrop-filter: blur(10px);
    border-radius: 20px;
}

.portrait-gallery .gallery-overlay h3,
.landscape-gallery .gallery-overlay h3 {
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.portrait-gallery .gallery-overlay p,
.landscape-gallery .gallery-overlay p {
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Animations Gallery - Vertical Layout */
.animations-gallery {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.animation-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.animation-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.animation-video {
    width: 100%;
    height: 500px;
    object-fit: contain;
    background: transparent;
    border-radius: 20px;
    /* Performance optimizations for smooth scrolling */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

.animation-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.animation-item:hover .animation-overlay {
    transform: translateY(0);
}

.animation-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.animation-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

@keyframes blob {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

/* Preview Sections */
.preview-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.preview-section {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.preview-section:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.preview-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.preview-img,
.preview-video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.preview-section:hover .preview-img,
.preview-section:hover .preview-video {
    transform: scale(1.05);
}

.preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

.preview-section:hover .preview-overlay {
    transform: translateY(0);
}

.preview-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.preview-overlay p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 1.5;
}

.preview-link {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.preview-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 500;
    color: #E0E0E0;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--primary-grey);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-description {
    text-align: center;
    color: var(--warm-grey);
    font-size: 1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
}

/* Work Section */
.work {
    background: var(--soft-white);
}

.work-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--light-grey);
    color: var(--primary-grey);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-primary);
    font-size: 0.95rem;
}

.category-btn:hover,
.category-btn.active {
    background: #E0E0E0;
    color: var(--soft-white);
    border-color: #E0E0E0;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: start;
}

/* Gallery Sections */
.gallery-section {
    transition: var(--transition-smooth);
}

.gallery-section.hidden {
    display: none;
}

.gallery-section.visible {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.purchase-info {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.purchase-info h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: #E0E0E0;
    margin: 0;
    font-weight: 500;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    background: var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

/* Gallery Images and Videos */
.gallery-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.gallery-video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    border-radius: 0 0 12px 12px;
    transform: translateY(100%);
    transition: var(--transition-smooth);
    pointer-events: none;
    z-index: 1;
}

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

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--warm-grey), var(--light-grey));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gallery-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.placeholder-content {
    text-align: center;
    color: var(--soft-white);
    z-index: 1;
    position: relative;
}

.placeholder-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.placeholder-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.placeholder-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #2A2A2A 0%, var(--soft-white) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-blob {
    width: 350px;
    height: 350px;
    background: linear-gradient(45deg, var(--muted-green), var(--organic-brown), var(--warm-grey));
    border-radius: 50%;
    opacity: 0.9;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-blob-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    opacity: 0.8;
    mix-blend-mode: multiply;
}

@keyframes aboutBlob {
    0%, 100% {
        border-radius: 50% 30% 40% 60% / 40% 60% 30% 50%;
        transform: rotate(0deg);
    }
    25% {
        border-radius: 40% 60% 30% 50% / 50% 30% 60% 40%;
        transform: rotate(5deg);
    }
    50% {
        border-radius: 60% 40% 50% 30% / 30% 50% 40% 60%;
        transform: rotate(-3deg);
    }
    75% {
        border-radius: 30% 50% 60% 40% / 60% 40% 50% 30%;
        transform: rotate(2deg);
    }
}

.about-description p {
    margin-bottom: 1.5rem;
    color: var(--warm-grey);
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-image {
    display: flex;
    justify-content: center;
}

.artist-placeholder {
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, var(--organic-brown), var(--earth-tone));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.artist-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="brush" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M0,10 Q5,5 10,10 T20,10" stroke="rgba(255,255,255,0.1)" stroke-width="0.5" fill="none"/></pattern></defs><rect width="100" height="100" fill="url(%23brush)"/></svg>');
    opacity: 0.4;
}

/* Contact Section */
.contact {
    background: var(--soft-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: #E0E0E0;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--primary-grey);
    font-size: 1.05rem;
}

.email-link {
    color: var(--primary-grey);
    text-decoration: none;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.email-link:hover {
    color: #E0E0E0;
    border-bottom: 1px solid #E0E0E0;
}

.phone-link {
    color: var(--primary-grey);
    text-decoration: none;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.phone-link:hover {
    color: #E0E0E0;
    border-bottom: 1px solid #E0E0E0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link {
    color: var(--primary-grey);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-weight: 500;
}

.social-link:hover {
    color: #E0E0E0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    padding: 15px;
    border: 2px solid var(--light-grey);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    background: var(--soft-white);
    transition: var(--transition-smooth);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #E0E0E0;
}

.submit-btn {
    padding: 15px 30px;
    background: #E0E0E0;
    color: var(--soft-white);
    border: none;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    align-self: flex-start;
}

.submit-btn:hover {
    background: var(--organic-brown);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: #E0E0E0;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--soft-white);
        width: 100%;
        text-align: center;
        transition: var(--transition-smooth);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 1rem;
    }
    
    .hero-image {
        padding-left: 0;
        justify-content: center;
    }
    
    .watercolor-blob {
        width: 350px;
        height: 350px;
        transform: translateX(0);
    }
    
    .blob-video {
        /* Ensure video plays on mobile */
        -webkit-playsinline: true;
        -moz-playsinline: true;
        -ms-playsinline: true;
        playsinline: true;
        /* Force hardware acceleration on mobile */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1rem;
    }
    
    .about-blob {
        width: 280px;
        height: 280px;
        margin: 2rem auto 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }
    
    .gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .work-categories {
        gap: 0.5rem;
        padding: 0 1rem;
        flex-wrap: wrap;
    }
    
    .category-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
        flex: 1;
        min-width: 120px;
    }
    
    .preview-sections {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
        padding: 1rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .watercolor-blob {
        width: 300px;
        height: 300px;
    }
    
    /* Extra small mobile screens */
    .portrait-gallery, .landscape-gallery {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .portrait-gallery .gallery-item, .landscape-gallery .gallery-item {
        min-height: 300px;
        max-height: 400px;
    }
    
    .portrait-gallery .gallery-image, .landscape-gallery .gallery-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .about-blob {
        width: 200px;
        height: 200px;
    }
    
    .gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-item {
        aspect-ratio: 3/2;
    }
    
    .portrait-gallery, .landscape-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .portrait-gallery .gallery-item,
    .landscape-gallery .gallery-item {
        border-radius: 15px;
    }
    
    .portrait-gallery .gallery-image,
    .landscape-gallery .gallery-image {
        border-radius: 15px;
    }
    
    .animations-gallery {
        padding: 1rem 0;
        max-width: 100%;
    }
    
    .animation-item {
        border-radius: 15px;
    }
    
    .animation-video {
        height: 300px;
        border-radius: 15px;
    }
    
    .work-categories {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .category-btn {
        width: 100%;
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Mobile gallery optimizations */
    .portrait-gallery, .landscape-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .portrait-gallery .gallery-item, .landscape-gallery .gallery-item {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 250px;
        max-height: 350px;
    }
    
    .portrait-gallery .gallery-image, .landscape-gallery .gallery-image {
        object-fit: contain;
        background: transparent;
        border-radius: 15px;
        /* Prevent black flashes during scroll */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .portrait-gallery .gallery-item, .landscape-gallery .gallery-item {
        background: transparent;
        /* Prevent black flashes during scroll */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    /* Animation gallery mobile */
    .animations-gallery {
        gap: 1rem;
    }
    
    .animation-video {
        height: 300px;
        object-fit: contain;
        background: transparent;
        border-radius: 15px;
        /* Prevent black flashes during scroll */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    /* Mobile lightbox optimizations */
    .lightbox {
        padding: 10px;
    }
    
    .lightbox-image {
        max-width: 95%;
        max-height: 85%;
    }
    
    .close-lightbox {
        top: 10px;
        right: 10px;
        font-size: 40px;
        width: 50px;
        height: 50px;
    }
    
    .lightbox-caption {
        bottom: 10px;
        font-size: 1rem;
        padding: 12px 20px;
        max-width: 95%;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .gallery-image,
    .animation-video {
        cursor: default;
    }
    
    .gallery-image:hover,
    .animation-video:hover {
        transform: none;
    }
    
    .close-lightbox:hover {
        background: rgba(0, 0, 0, 0.5);
        color: white;
    }
    
    .close-lightbox:active {
        background: rgba(0, 0, 0, 0.8);
        color: var(--organic-brown);
    }
}

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

/* Lightbox Styles - Mobile Optimized */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    touch-action: manipulation;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.close-lightbox:hover,
.close-lightbox:active {
    color: var(--organic-brown);
    background: rgba(0, 0, 0, 0.7);
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 25px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 500;
    max-width: 90%;
    word-wrap: break-word;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Add cursor pointer to gallery images */
.gallery-image,
.animation-video {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.gallery-image:hover,
.animation-video:hover {
    transform: scale(1.02);
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Gallery filter animations */
.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.gallery-item.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}
