/* ===================================
   CSS Reset & Base Styles
   =================================== */

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

:root {
    /* Brand Colors - Per brand-guidelines.md */
    /* Primary: Deep Navy Blue (logo icon, accents) */
    --primary-color: #2C3E50;
    --primary-light: #3C4E60;
    --primary-dark: #1C2E40;

    /* Background: Light Gray/Off-White */
    --bg-gray: #F5F5F5;
    --bg-gray-light: #FAFAFA;
    --bg-white: #ffffff;

    /* Accent: Soft Blue-Gray */
    --accent-color: #8FA3B8;
    --accent-light: #A8B9CC;
    --accent-dark: #7691A8;

    /* Text Colors */
    --text-dark: #4A4A4A;
    --text-darker: #2C3E50;
    --text-light: #ffffff;
    --text-muted: #7A7A7A;

    /* Dark Mode (for future use) */
    --dark-bg: #1A2332;
    --dark-text: #FAF9F6;

    /* Backgrounds & Gradients */
    --bg-light: var(--bg-gray);
    --bg-gradient: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%);
    --bg-gradient-hero: linear-gradient(135deg, #FFFFFF 0%, #F5F5F5 100%);
    --bg-gradient-navy: linear-gradient(135deg, #2C3E50 0%, #3C4E60 100%);

    /* Border & Shadow */
    --border-color: #E0E0E0;
    --shadow-color: rgba(44, 62, 80, 0.15);

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

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Navigation height */
    --nav-height: 70px;

    /* Safe area (for iOS notch) */
    --safe-area-inset-top: env(safe-area-inset-top, 0px);
    --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Use dynamic viewport height for better mobile support */
    height: 100%;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-gray);
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile */
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.home-page {
    overflow: hidden;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Touch device optimizations */
.touch-device * {
    -webkit-tap-highlight-color: rgba(143, 163, 184, 0.3);
    touch-action: manipulation;
}

.touch-device .btn-primary,
.touch-device .btn-secondary {
    -webkit-user-select: none;
    user-select: none;
}

/* Focus states for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

a:hover {
    opacity: 0.7;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
}

p {
    margin-bottom: var(--spacing-sm);
}

/* ===================================
   Container & Layout
   =================================== */

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

section {
    padding: var(--spacing-xl) 0;
}

/* ===================================
   Navigation
   =================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--text-dark);
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text-line {
    display: block;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-menu a {
    color: var(--text-dark);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: color var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    opacity: 1;
}

.nav-menu a.active {
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 2px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition-fast);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport for better mobile support */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
}

/* Full-screen background image */
.hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1) translateZ(0);
    }
    100% {
        transform: scale(1.05) translateZ(0);
    }
}

/* Reduce motion for performance */
@media (prefers-reduced-motion: reduce) {
    .hero-background img {
        animation: none;
    }
    .hero-content {
        animation: none;
    }
}

/* Subtle overlay for better text contrast */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 35, 50, 0.3) 0%,
        rgba(44, 62, 80, 0.2) 50%,
        rgba(143, 163, 184, 0.3) 100%
    );
    z-index: 2;
}

/* Wrapper for the floating content */
.hero-content-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    animation: floatIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Glassmorphism floating content box */
.hero-content {
    background: rgba(26, 35, 50, 0.75);
    backdrop-filter: blur(30px) saturate(120%);
    -webkit-backdrop-filter: blur(30px) saturate(120%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: clamp(2rem, 5vw, 4rem) clamp(2.5rem, 6vw, 5rem);
    max-width: 700px;
    text-align: center;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Glass shine effect */
.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.7s;
}

.hero-content:hover::before {
    left: 100%;
}

.hero-title {
    color: #FFFFFF;
    margin-bottom: var(--spacing-sm);
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.3);
    font-weight: 300;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    margin-bottom: var(--spacing-xs);
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-text {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.page-section {
    padding-top: calc(var(--nav-height) + var(--spacing-xl));
    min-height: 80vh;
    background: var(--bg-gradient);
}

/* ===================================
   Buttons
   =================================== */

.btn-primary {
    display: inline-block;
    padding: var(--spacing-sm) calc(var(--spacing-md) * 1.5);
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all var(--transition-medium);
    border: 2px solid rgba(255, 255, 255, 1);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3), 
        0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(143, 163, 184, 0.2) 0%, rgba(143, 163, 184, 0.1) 100%);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 1);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4), 
        0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 1;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-primary > * {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    display: inline-block;
    padding: var(--spacing-sm) calc(var(--spacing-md) * 1.5);
    background: transparent;
    color: #FFFFFF;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all var(--transition-medium);
    border: 2px solid rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(100%);
    transition: transform var(--transition-medium);
}

.btn-secondary:hover {
    opacity: 1;
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3), 
        0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover::before {
    transform: translateY(0);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

.btn-secondary > * {
    position: relative;
    z-index: 1;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-top: var(--spacing-sm);
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* ===================================
   About Section
   =================================== */

.about {
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-content {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.artist-card {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 2px;
    border: 1px solid var(--border-color);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    contain: layout style paint;
}

.artist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.artist-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
}

/* ===================================
   Portfolio / Gallery
   =================================== */

.portfolio {
    background: var(--bg-white);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--bg-light);
    contain: layout style paint;
    content-visibility: auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-sm);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--text-light);
    transform: translateY(100%);
    transition: transform var(--transition-medium);
}

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

.gallery-info h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-light);
}

.gallery-info p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* ===================================
   Exhibitions / Timeline
   =================================== */

.exhibitions {
    background: var(--bg-light);
}

.timeline {
    max-width: 700px;
    margin: var(--spacing-lg) auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    position: relative;
}

.timeline-year {
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
    padding-right: var(--spacing-sm);
}

.timeline-content {
    background: var(--bg-white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 2px;
    border: 1px solid var(--border-color);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* ===================================
   Contact Section
   =================================== */

.contact {
    background: var(--bg-white);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    max-width: 600px;
    margin: var(--spacing-lg) auto 0;
}

.contact-card {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 2px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.contact-card a {
    color: var(--text-dark);
    font-size: 1.1rem;
    word-break: break-all;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-xs);
}

.contact-details {
    max-width: 700px;
    margin: var(--spacing-lg) auto;
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: 2px;
    border: 1px solid var(--border-color);
}

.contact-details h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--border-color);
}

.service-list li:last-child {
    border-bottom: none;
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    margin-top: var(--spacing-lg);
    background: var(--bg-light);
    border-radius: 2px;
}

.cta-section h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.cta-section p {
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--bg-gradient-navy);
    color: var(--text-light);
    padding: var(--spacing-md) 0;
    padding-bottom: calc(var(--spacing-md) + var(--safe-area-inset-bottom));
    text-align: center;
}

.footer p {
    margin: var(--spacing-xs) 0;
}

.footer-tagline {
    opacity: 0.8;
    font-style: italic;
    font-size: 0.9rem;
}

/* Home page integrated footer */
.footer-home {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    padding: var(--spacing-sm) 0;
    padding-bottom: calc(var(--spacing-sm) + var(--safe-area-inset-bottom));
    font-size: 0.85rem;
    opacity: 0.8;
    z-index: 10;
    pointer-events: none;
}

.footer-home p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* ===================================
   Page Transition Overlay
   =================================== */

.page-transition {
    position: fixed;
    inset: 0;
    background: var(--bg-white);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition.active {
    opacity: 1;
    pointer-events: all;
}

/* ===================================
   Lightbox Modal
   =================================== */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 2px;
}

.lightbox-info {
    color: var(--text-light);
    text-align: center;
}

.lightbox-info h3 {
    color: var(--text-light);
    font-size: 1.5rem;
}

.lightbox-info p {
    opacity: 0.8;
    margin: 0;
}

.lightbox-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    font-size: 3rem;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: var(--spacing-md);
}

.lightbox-next {
    right: var(--spacing-md);
}

/* ===================================
   Animations
   =================================== */

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

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

/* ===================================
   Responsive Design
   =================================== */

/* Tablet landscape */
@media (max-width: 1024px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .hero {
        gap: var(--spacing-md);
        padding: calc(var(--nav-height) + var(--spacing-sm)) var(--spacing-md) var(--spacing-md);
    }
}

/* Tablet portrait and mobile */
@media (max-width: 768px) {
    :root {
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
        --nav-height: 60px;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        padding: calc(var(--nav-height) + var(--spacing-md)) 0 var(--spacing-lg);
    }

    body.home-page {
        overflow: auto;
    }

    .hero-content-wrapper {
        padding: var(--spacing-sm);
    }

    .hero-content {
        padding: clamp(1.5rem, 4vw, 2rem) clamp(1.5rem, 4vw, 2rem);
        border-radius: 20px;
        background: rgba(26, 35, 50, 0.85);
        backdrop-filter: blur(20px) saturate(120%);
        -webkit-backdrop-filter: blur(20px) saturate(120%);
        max-width: 90vw;
        animation: none; /* Disable float animation on mobile for performance */
    }

    .hero-background img {
        animation: none; /* Disable zoom animation on mobile for performance */
    }

    .hero-content::before {
        display: none; /* Disable shine effect on mobile for performance */
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-150%);
        transition: transform var(--transition-medium);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu li {
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: var(--spacing-xs) 0;
        font-size: 1.1rem;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

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

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

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

    .timeline::before {
        left: 50px;
    }

    .timeline-item {
        grid-template-columns: 80px 1fr;
        gap: var(--spacing-sm);
    }

    section {
        padding: var(--spacing-lg) 0;
    }

    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

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

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

    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Print Styles
   =================================== */

@media print {
    .nav,
    .btn-primary,
    .lightbox {
        display: none;
    }
}
