/* ==========================================
   CSS VARIABLES - DESIGN SYSTEM
   ========================================== */

:root {
    /* Primary Colors */
    --color-black: #0A0A0A;
    --color-white: #FAFAF8;
    --color-red: #850000;
    --color-silver: #A8A8A8;

    /* Background Variations */
    --color-bg-primary: #0A0A0A;
    --color-bg-secondary: #121212;
    --color-bg-tertiary: #1A1A1A;

    /* Text Colors */
    --color-text-primary: #FAFAF8;
    --color-text-secondary: #A8A8A8;
    --color-text-accent: #850000;

    /* Borders */
    --color-border: #333333;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'DM Serif Display', serif;

    /* Font Sizes */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.5rem;       /* 24px */
    --text-2xl: 2rem;        /* 32px */
    --text-3xl: 3rem;        /* 48px */

    /* Line Heights */
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 5rem;
    --spacing-4xl: 6rem;
    --spacing-5xl: 8rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: var(--leading-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-text-accent);
}

/* ==========================================
   LAYOUT UTILITIES
   ========================================== */

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

/* ==========================================
   UNIVERSAL HEADER NAV STYLES
   These apply to all pages for consistency
   ========================================== */

.desktop-nav {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.desktop-nav a,
.header-nav a {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-secondary);
    transition: color var(--transition-base);
}

.desktop-nav a:hover,
.desktop-nav a.active,
.header-nav a:hover,
.header-nav a.active {
    color: var(--color-red);
}

/* Universal Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid rgba(133, 0, 0, 0.3);
    border-radius: 4px;
    padding: var(--spacing-sm);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    margin-top: var(--spacing-sm);
    z-index: 100;
}

.dropdown-menu a {
    display: block;
    padding: var(--spacing-sm);
    border-radius: 4px;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dropdown-menu a:hover {
    background: rgba(133, 0, 0, 0.1);
    color: var(--color-red);
}

/* Universal Mobile Nav Cart Styles */
.mobile-nav-cart {
    background: rgba(133, 0, 0, 0.15);
    border-top: 2px solid var(--color-red);
    margin-top: var(--spacing-md);
}

/* ==========================================
   UNIVERSAL MOBILE MENU STYLES
   These apply to all pages for consistency
   ========================================== */

/* Mobile menu toggle container */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    gap: var(--spacing-sm);
}

/* Hamburger button */
.hamburger {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--spacing-xs);
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-white);
    transition: all var(--transition-base);
}

/* Hamburger X animation when active */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile nav overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: var(--color-bg-secondary);
    z-index: 999;
    overflow-y: auto;
}

.mobile-nav-overlay.active {
    display: block;
}

/* Mobile nav links */
.mobile-nav {
    display: flex;
    flex-direction: column;
}

.mobile-nav a {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-primary);
    font-weight: 600;
}

.mobile-nav a.active {
    color: var(--color-red);
    background: rgba(133, 0, 0, 0.1);
}

/* Show mobile menu toggle on tablet and below */
@media (max-width: 1023px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .desktop-nav {
        display: none;
    }
}

/* ==========================================
   SITE HEADER - LOGO LEFT, NAV RIGHT
   ========================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(133, 0, 0, 0.2);
    padding: var(--spacing-sm) 0;
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Homepage: Header hidden initially, revealed on scroll */
body[data-page="home"] .site-header {
    opacity: 0;
    pointer-events: none;
}

body[data-page="home"] .site-header.header-visible {
    opacity: 1;
    pointer-events: auto;
}

/* Header container: horizontal layout */
.site-header .header-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

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

.site-header .header-logo img {
    width: 240px;
    height: auto;
}

/* Desktop Navigation - Right side */
.site-header .header-nav {
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-lg);
    align-items: center;
}

@media (max-width: 1023px) {
    .site-header .header-nav {
        display: none;
    }
}

.site-header .header-nav a {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-secondary);
    transition: color var(--transition-base);
}

.site-header .header-nav a:hover,
.site-header .header-nav a.active {
    color: var(--color-red);
}

/* Mobile Menu Toggle - Absolute positioned on desktop, normal flow on mobile */
@media (min-width: 1024px) {
    .site-header .mobile-menu-toggle {
        display: none;
    }
}

@media (max-width: 1023px) {
    .site-header .header-logo img {
        width: 200px;
    }
}

@media (max-width: 767px) {
    .site-header .header-logo img {
        width: 180px;
    }
}

/* Cart Link Styling */
.cart-link {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-secondary);
    transition: color var(--transition-base);
}

.cart-link:hover {
    color: var(--color-red);
}

.cart-link .cart-count,
.mobile-nav-cart .mobile-cart-count {
    font-weight: 700;
}

/* Mobile cart link next to hamburger */
.mobile-menu-toggle .cart-link {
    margin-right: var(--spacing-sm);
}

@media (max-width: 1023px) {
    .cart-link.desktop-cart {
        display: none;
    }
}


/* ==========================================
   HERO SECTION - TEXT LEFT, PORTRAIT RIGHT
   ========================================== */

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    padding-top: 100px; /* Account for centered header */
}

/* Right Side: Text Content */
.hero-text {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-3xl) var(--spacing-2xl);
    background: var(--color-bg-primary);
    order: 2;
}

.hero-dates {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-sm);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.hero-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--color-red);
    margin-top: var(--spacing-md);
}

.hero-paragraph {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.btn-hero {
    display: inline-block;
    margin-top: var(--spacing-lg);
    padding: var(--spacing-sm) var(--spacing-xl);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-white);
    background: transparent;
    border: 2px solid var(--color-red);
    transition: all var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1s;
    width: fit-content;
}

.btn-hero:hover {
    background: var(--color-red);
    color: var(--color-white);
}

/* Full width text when no portrait section */
.hero-text-full {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    order: 1;
    padding: var(--spacing-3xl) var(--spacing-xl);
    text-align: center;
}

.hero-text-full .hero-title {
    text-align: center;
}

.hero-text-full .hero-title::after {
    margin-left: auto;
    margin-right: auto;
}

.hero-text-full .hero-paragraph {
    text-align: left;
}

.hero-text-full .btn-hero {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   HERO PAINTING SECTION - PARALLAX
   ========================================== */

.hero-painting-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--color-bg-primary);
}

.hero-painting-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-painting-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Extra height for parallax movement */
    object-fit: cover;
    object-position: center;
    will-change: transform;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-painting-img.loaded {
    opacity: 1;
}

.hero-painting-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.3);
    z-index: 2;
}

.hero-painting-logo {
    width: 500px;
    max-width: 80%;
    height: auto;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
}

/* See Collection Button */
.btn-collection {
    display: inline-block;
    margin-top: var(--spacing-xl);
    padding: var(--spacing-sm) var(--spacing-xl);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-red);
    border: 2px solid var(--color-red);
    transition: all var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

.btn-collection:hover {
    background: transparent;
    color: var(--color-white);
}

/* Tablet */
@media (max-width: 1023px) {
    .hero-painting-section {
        height: 70vh;
    }

    .hero-painting-logo {
        width: 400px;
    }

    .hero-text-full {
        padding: var(--spacing-xl) var(--spacing-md);
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hero-painting-section {
        height: 60vh;
    }

    .hero-painting-logo {
        width: 300px;
    }

    .hero-text-full {
        padding: var(--spacing-lg) var(--spacing-md);
    }
}

/* Left Side: Portrait with Signature above */
.hero-portrait-section {
    width: 40%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    background: var(--color-bg-primary);
    order: 1;
}

/* Signature above the portrait */
.hero-signature {
    width: 400px;
    max-width: 90%;
    height: auto;
    filter: invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
    margin-bottom: var(--spacing-lg);
}

.hero-portrait {
    width: 100%;
    max-width: 350px;
    height: auto;
    margin-bottom: var(--spacing-xl);
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
    display: block;
}

/* Hide overlay - no longer needed */
.hero-overlay {
    display: none;
}

/* Hide branding wrapper - signature is now standalone */
.hero-branding {
    display: none;
}

/* Hide logo - removed from design */
.hero-logo {
    display: none;
}

/* Tablet: Stacked layout */
@media (max-width: 1023px) {
    .hero {
        flex-direction: column;
        min-height: auto;
    }

    .hero-text {
        width: 100%;
        padding: var(--spacing-xl) var(--spacing-md);
        order: 2;
    }

    .hero-portrait-section {
        width: 100%;
        padding: var(--spacing-lg);
        order: 1;
    }

    .hero-portrait {
        max-width: 280px;
    }

    .hero-signature {
        width: 320px;
    }
}

/* Mobile: Adjust proportions */
@media (max-width: 767px) {
    .hero-portrait-section {
        padding: var(--spacing-md);
    }

    .hero-portrait {
        max-width: 220px;
    }

    .hero-signature {
        width: 280px;
    }

    .hero-text {
        padding: var(--spacing-lg) var(--spacing-md);
        display: flex;
        flex-direction: column;
    }

    /* Hide "Contemporary Artist" title on mobile */
    .hero-title {
        display: none;
    }

    /* Dates right below portrait */
    .hero-dates {
        order: 0;
        margin-top: 0;
        margin-bottom: var(--spacing-md);
    }

    .hero-paragraph {
        order: 1;
    }

    .btn-hero {
        order: 5;
    }

    .btn-hero {
        order: 9;
    }

    .hero-intro {
        font-size: var(--text-lg);
    }

    /* Old styles no longer needed */
    .hero-signature.mobile-override {
        width: 160px;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    font-size: var(--text-sm);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.5s;
}

.scroll-arrow {
    width: 1px;
    height: 40px;
    background: var(--color-white);
    position: relative;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: 1px solid var(--color-white);
    border-bottom: 1px solid var(--color-white);
}

/* ==========================================
   SHORT BIO SECTION
   ========================================== */

.bio-short {
    background: var(--color-bg-primary);
    padding: var(--spacing-2xl) 0;
}

.bio-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.bio-dates {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-sm);
}

.bio-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 400;
    color: var(--color-white);
    position: relative;
    display: inline-block;
}

.bio-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--color-red);
    margin: var(--spacing-sm) auto 0;
}

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

.bio-paragraph {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.bio-paragraph:nth-child(1) { animation-delay: 0.2s; }
.bio-paragraph:nth-child(2) { animation-delay: 0.4s; }
.bio-paragraph:nth-child(3) { animation-delay: 0.6s; }

.btn-bio {
    display: inline-block;
    margin-top: var(--spacing-lg);
    padding: var(--spacing-sm) var(--spacing-xl);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-white);
    background: transparent;
    border: 2px solid var(--color-red);
    transition: all var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

.btn-bio:hover {
    background: var(--color-red);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(133, 0, 0, 0.15);
}

/* ==========================================
   FEATURED PAINTING SECTION
   ========================================== */

.featured-painting {
    position: relative;
    width: 100%;
    padding: var(--spacing-3xl) 0;
    background: var(--color-black);
}

.featured-painting-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Featured painting image */
.featured-painting-bg {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.featured-painting-img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

@keyframes paintingAnimation {
    0% {
        transform: scale(1) translate(0, 0);
    }
    25% {
        transform: scale(1.096) translate(-3%, 2%);
    }
    50% {
        transform: scale(1.051) translate(2%, -2%);
    }
    75% {
        transform: scale(1.077) translate(-2%, 3%);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}

/* Text mask effect - painting shows through letters */
.featured-title {
    position: relative;
    z-index: 2;
    font-family: var(--font-heading);
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 calc(var(--spacing-xl) * 4) 0;
    padding: 0;

    /* Text mask effect - background set inline in HTML for easy changing */
    background-size: cover;
    background-position: center;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;

    /* Animation for background */
    animation: textMaskAnimation 60s ease-in-out infinite;
}

@keyframes textMaskAnimation {
    0% {
        background-position: 50% 50%;
        background-size: 100%;
    }
    50% {
        background-position: 40% 60%;
        background-size: 110%;
    }
    100% {
        background-position: 50% 50%;
        background-size: 100%;
    }
}

/* Painting details below image */
.featured-details {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
    max-width: 600px;
    margin-top: var(--spacing-xl);
}

.featured-artwork-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    color: var(--color-white);
    margin: 0 0 var(--spacing-sm) 0;
}

.featured-artwork-info {
    font-size: var(--text-base);
    color: var(--color-silver);
    margin: 0 0 var(--spacing-lg) 0;
}

.btn-featured {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: transparent;
    border: 2px solid var(--color-red);
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-base);
}

.btn-featured:hover {
    background: var(--color-red);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(133, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .featured-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
        padding: var(--spacing-md);
    }

    .featured-details {
        margin: var(--spacing-md);
        padding: var(--spacing-md);
    }

    .featured-artwork-title {
        font-size: var(--text-xl);
    }
}

/* ==========================================
   GALLERY NAVIGATION SECTION
   ========================================== */

.gallery-nav {
    background: var(--color-bg-secondary);
    padding: var(--spacing-2xl) 0;
    position: relative;
}

.gallery-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-red);
}

.gallery-nav-title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 400;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
}

.gallery-card {
    background: var(--color-bg-tertiary);
    border: 2px solid var(--color-border);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.gallery-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(133, 0, 0, 0.08), transparent);
    transition: left 0.5s ease;
}

.gallery-card:hover::before {
    left: 100%;
}

.gallery-card:hover {
    border-color: var(--color-red);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(133, 0, 0, 0.12);
}

.gallery-card h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
}

.gallery-card p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
}

.gallery-arrow {
    font-size: var(--text-2xl);
    color: var(--color-red);
    transition: transform var(--transition-base);
    display: inline-block;
}

.gallery-card:hover .gallery-arrow {
    transform: translateX(8px);
}

/* Gallery Card Background Paintings */
.gallery-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    overflow: hidden;
    z-index: 0;
}

.gallery-card-painting {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.3;
    transition: opacity var(--transition-base), transform 0.5s ease;
    will-change: transform;
}

.gallery-card:hover .gallery-card-painting,
.gallery-card:active .gallery-card-painting,
.gallery-card:focus .gallery-card-painting {
    opacity: 0.9;
}

/* Mobile touch - brighter on active/focus */
@media (max-width: 768px) {
    .gallery-card-painting {
        opacity: 0.35;
    }

    .gallery-card:active .gallery-card-painting {
        opacity: 0.9;
    }
}

/* Ensure inner content stays above painting */
.gallery-card-inner {
    position: relative;
    z-index: 2;
    background: rgba(26, 26, 26, 0.7);
    padding: var(--spacing-md);
    backdrop-filter: blur(2px);
}

/* ==========================================
   WELCOME SECTION
   ========================================== */

.welcome-section {
    background: var(--color-bg-secondary);
    padding: var(--spacing-2xl) 0;
}

.welcome-paragraph {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.welcome-paragraph:last-child {
    margin-bottom: 0;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background: var(--color-black);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.footer-section p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xs);
}

.footer-section a {
    color: var(--color-text-secondary);
}

.footer-section a:hover {
    color: var(--color-red);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

/* ==========================================
   ANIMATIONS
   ========================================== */

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

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

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* ==========================================
   RESPONSIVE - TABLET
   ========================================== */

@media (max-width: 1023px) {
    :root {
        --text-3xl: 2.5rem;
        --text-2xl: 1.75rem;
        --text-xl: 1.25rem;
    }

    .hero-logo {
        width: 300px;
    }

    .hero-signature {
        width: 240px;
    }

    .bio-content {
        max-width: 700px;
    }

    .gallery-grid {
        gap: var(--spacing-md);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

/* ==========================================
   RESPONSIVE - MOBILE
   ========================================== */

@media (max-width: 767px) {
    :root {
        --text-3xl: 2rem;
        --text-2xl: 1.5rem;
        --text-xl: 1.125rem;
        --text-lg: 1rem;
        --spacing-2xl: 3rem;
        --spacing-xl: 2rem;
    }

    .hero {
        min-height: auto;
        padding-top: 0;
    }

    .hero-logo {
        width: 250px;
    }

    .hero-signature {
        width: 200px;
    }

    .bio-short {
        padding: var(--spacing-xl) 0;
    }

    .bio-content {
        text-align: left;
    }

    .bio-paragraph {
        font-size: var(--text-base);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .gallery-card {
        padding: var(--spacing-lg);
    }

    .scroll-indicator {
        bottom: 20px;
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */

@media print {
    .hero,
    .scroll-indicator,
    .gallery-nav,
    .footer {
        display: none;
    }

    .bio-short {
        padding: 0;
    }
}