
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;500&display=swap');
/* Photography Website Styles */
/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}
.font-display {
    font-family: 'Playfair Display', serif;
}
/* Gallery Controls */
.gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.view-toggle {
    display: flex;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 0.25rem;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}
/* Touch-friendly improvements */
.view-btn {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px; /* Minimum touch target size */
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.view-btn:hover, .view-btn:focus {
    background: #ffffff;
    border-color: #e5e5e5;
    color: #1a1a1a;
    outline: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.view-btn.active {
    background: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
/* Gallery View */
.gallery-view {
    max-width: 1200px;
    margin: 0 auto;
}
.gallery-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.gallery-image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}
/* Gallery View - Following object-fit best practices */
.gallery-main-img {
    width: 100%;
    height: 400px;
    -o-object-fit: contain;
       object-fit: contain;
    -o-object-position: center;
       object-position: center;
    background: #ffffff;
    display: block;
    /* Ensure no browser defaults interfere */
    max-width: none;
    max-height: none;
}
.gallery-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
    z-index: 10;
}
/* Touch-friendly gallery navigation */
.gallery-nav-btn {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px; /* Touch target */
    min-width: 44px;
    touch-action: manipulation;
    pointer-events: auto;
}
.gallery-nav-btn:hover, .gallery-nav-btn:focus {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
    outline: none;
}
.gallery-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.gallery-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
}
.gallery-info p {
    margin: 0;
    color: #666;
}
.gallery-fullscreen-btn {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s ease;
    min-height: 44px; /* Touch target */
    touch-action: manipulation;
}
.gallery-fullscreen-btn:hover, .gallery-fullscreen-btn:focus {
    background: #333;
    outline: none;
}
.gallery-details-link {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    min-height: 44px; /* Touch target */
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    touch-action: manipulation;
    gap: 0.5rem;
}
.gallery-details-link:hover, .gallery-details-link:focus {
    color: #666;
    outline: none;
}
.gallery-details-link::after {
    content: '→';
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}
.gallery-details-link:hover::after {
    transform: translateX(2px);
}
/* Improved gallery thumbnails for touch */
.gallery-thumb {
    width: 80px;
    height: 60px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s ease;
    min-height: 44px; /* Touch target */
    min-width: 44px;
    touch-action: manipulation;
    background: #ffffff;
}
.gallery-thumb:hover, .gallery-thumb:focus {
    border-color: #ddd;
    transform: scale(1.05);
    outline: none;
}
.gallery-thumb.active {
    border-color: #1a1a1a;
    transform: scale(1.1);
}
.thumb-img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
    -o-object-position: center;
       object-position: center;
    transition: transform 0.2s ease;
    background: #ffffff;
    display: block;
}
/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.container-lg {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}
/* Header Styles */
header {
    border-bottom: 1px solid #e5e5e5;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 50;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}
.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.logo {
    text-decoration: none;
    color: #1a1a1a;
    transition: color 0.2s ease;
}
.logo:hover {
    color: #666;
}
.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.2;
}
.logo p {
    font-size: 0.875rem;
    color: #666;
    margin: 0.25rem 0 0 0;
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    text-decoration: none;
    color: #666;
    font-weight: 400;
    transition: color 0.2s ease;
    font-size: 0.9rem;
    padding: 0.5rem 0;
}
.nav-links a:hover {
    color: #1a1a1a;
}
/* Main Content */
main {
    min-height: 80vh;
    padding: 3rem 0;
}
/* Typography */
.prose h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.prose h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 500;
    color: #1a1a1a;
    margin: 2rem 0 1rem 0;
    line-height: 1.3;
}
.prose h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #1a1a1a;
    margin: 1.5rem 0 0.75rem 0;
}
.prose p {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1rem;
    line-height: 1.7;
}
/* Make the first paragraph after h1 more prominent (acts as subtitle) */
.prose h1 + p {
    color: #1a1a1a;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.prose strong {
    font-weight: 600;
    color: #1a1a1a;
}
.prose ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}
.prose ul li {
    margin-bottom: 0.5rem;
}
.prose a {
    color: #1a1a1a;
    text-decoration: underline;
    transition: color 0.2s ease;
}
.prose a:hover {
    color: #666;
}
/* Grid Layout */
.grid-container {
    display: contents;
}
.initial-artworks,
.remaining-artworks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}
.remaining-artworks {
    margin-top: 0;
}
.artwork-grid {
    display: block;
}
#grid-view {
    display: block;
}
#gallery-view {
    display: none;
}
.artwork-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
}
.artwork-card a {
    display: block;
    line-height: 0; /* Prevent any text spacing issues */
}
.artwork-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
/* Simple Grid Images - Following object-fit best practices */
.artwork-image {
    width: 100%;
    height: 280px;
    -o-object-fit: contain;
       object-fit: contain;
    -o-object-position: center;
       object-position: center;
    display: block;
    background: #ffffff;
    /* Ensure no browser defaults interfere */
    max-width: none;
    max-height: none;
}
/* Responsive image adjustments removed for simplicity */
.artwork-card .content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.artwork-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
    font-weight: 500;
}
.artwork-card h3 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}
.artwork-card h3 a:hover {
    color: #666;
}
.artwork-meta {
    color: #666;
    font-size: 0.875rem;
    margin: 0 0 1rem 0;
    flex: 1;
}
.view-details {
    color: #666;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-top: auto;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    margin-bottom: -1.5rem;
    text-align: center;
    padding: 1rem 1.5rem;
    border-top: 1px solid #f0f0f0;
    background: #ffffff;
    border-radius: 0 0 8px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: calc(100% + 3rem);
}
.view-details:hover {
    color: #1a1a1a;
    background: #f8f9fa;
    border-top-color: #e5e5e5;
}
.view-details::after {
    content: '→';
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}
.view-details:hover::after {
    transform: translateX(2px);
}
/* View All Button */
.view-more-container {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin: 3rem 0;
    position: relative;
}
.view-more-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #e5e5e5 20%, #e5e5e5 80%, transparent);
    z-index: 1;
}
.view-all-button {
    background: #ffffff;
    color: #666;
    border: 1px solid #e5e5e5;
    border-radius: 50px;
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    letter-spacing: 0.025em;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.view-all-button::after {
    content: '→';
    margin-left: 0.5rem;
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}
.view-all-button:hover {
    background: #f8f8f8;
    border-color: #d1d1d1;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.view-all-button:hover::after {
    transform: translateX(2px);
}
.view-all-button:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
/* Individual Artwork Page */
.artwork-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}
/* Purchase Section Styling */
.purchase-section {
    margin: 3rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
}
.purchase-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 1.5rem 0;
}
.purchase-options {
    margin-bottom: 1.5rem;
}
.purchase-option {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}
.purchase-option h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 1rem 0;
}
.purchase-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 1.5rem 0;
}
.size-list {
    margin-bottom: 1rem;
}
.size-list p {
    margin: 0.25rem 0;
    color: #666;
    font-size: 0.9rem;
}
.buy-button {
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-block;
    transition: all 0.2s ease;
    margin-top: 1.5rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.buy-button:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.purchase-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
}
.purchase-details p {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}
.purchase-details em {
    font-style: italic;
    color: #888;
}
/* Sold Out Styling */
.sold-out {
    margin: 3rem 0;
    padding: 2rem;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
}
.stock-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}
.stock-badge.out-of-stock {
    background: #fee;
    color: #c53030;
    border: 1px solid #feb2b2;
}
.artwork-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.image-container {
    border-radius: 8px;
    text-align: center;
    position: relative;
    background: #efefef;
    line-height: 0; /* Prevent spacing issues */
    padding: 2rem;
    border: 1px solid #e5e5e5;
}
/* Individual Artwork Page - Preserve aspect ratio */
.gallery-image {
    width: 100%;
    height: auto;
    max-height: 70vh;
    -o-object-fit: contain;
       object-fit: contain;
    -o-object-position: center;
       object-position: center;
    transition: transform 0.2s ease;
    display: block;
    margin: 0 auto;
    background: #ffffff;
}
.gallery-image:hover {
    transform: scale(1.02);
}
.fullscreen-hint {
    font-size: 0.75rem;
    color: #999;
    margin-top: 2rem;
    font-style: italic;
}
.artwork-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.artwork-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.series-name {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 0.5rem;
}
.location-info {
    font-size: 0.875rem;
    color: #999;
}
/* Fullscreen Modal */
.fullscreen-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    cursor: zoom-out;
}
.fullscreen-content {
    margin: auto;
    display: block;
    max-width: 95%;
    max-height: 95%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -o-object-fit: contain;
       object-fit: contain;
}
.fullscreen-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.2s ease;
}
.fullscreen-close:hover {
    color: #ccc;
}
.fullscreen-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #f1f1f1;
    text-align: center;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
    border-radius: 8px;
}
/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 45vh;
    min-height: 300px;
    margin-bottom: 2rem;
    overflow: hidden;
}
.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
}
.hero-img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
/* About Page Styles */
.about-hero {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e5e5;
}
.about-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}
.about-subtitle {
    font-size: 1.5rem;
    color: #666;
    font-weight: 300;
    margin: 0;
}
.about-content {
    max-width: 800px;
    margin: 0 auto;
}
.about-section {
    margin-bottom: 3rem;
}
.about-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1.5rem;
}
.about-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}
.about-section p {
    color: #444;
    line-height: 1.7;
}
.about-content-wrapper {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    margin: 2rem 0;
    padding-bottom: 2rem;
}
.about-text {
    flex: 1;
}
.about-section p {
    line-height: 1.6;
    color: #555;
    margin-bottom: 1rem;
}
.photographer-portrait {
    flex: 0 0 300px;
    text-align: center;
}
.portrait-image {
    width: 100%;
    height: auto;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
    transition: transform 0.3s ease;
}
.portrait-image:hover {
    transform: scale(1.02);
}
/* Philosophy Section */
.philosophy-section {
    background: #fafafa;
    padding: 4rem 0;
}
.philosophy-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}
.philosophy-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 2rem;
    position: relative;
}
.philosophy-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: #666;
    margin: 1rem auto 0;
}
.philosophy-text {
    text-align: left;
    line-height: 1.8;
}
.philosophy-text p {
    font-size: 1.125rem;
    color: #444;
    margin-bottom: 1.5rem;
    max-width: none;
}
.philosophy-text p:last-child {
    margin-bottom: 0;
}
/* About Footer - Bottom of page */
.about-footer {
    background: #f8f8f8;
    border-top: 1px solid #e5e5e5;
    margin-top: 4rem;
    padding: 3rem 0;
}
.about-footer .footer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}
.about-footer p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}
/* Footer */
footer {
    background: #f8f8f8;
    border-top: 1px solid #e5e5e5;
    margin-top: 4rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}
.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1rem;
}
.footer-section p {
    color: #666;
    margin-bottom: 0.5rem;
}
.footer-bottom {
    border-top: 1px solid #e5e5e5;
    padding: 2rem 0;
    text-align: center;
}
.footer-bottom p {
    color: #999;
    font-size: 0.875rem;
}
/* Responsive Design */
@media (max-width: 768px) {
    .container, .container-lg {
        padding: 0 1rem;
    }
    
    header {
        position: static;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background-color: #ffffff;
    }
    
    .header-nav {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 0.75rem 1rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-subtitle {
        font-size: 1.25rem;
    }
    
    .about-content-wrapper {
        flex-direction: column;
        gap: 1rem;
        margin: 1rem 0;
        padding-bottom: 1rem;
        align-items: center;
    }
    
    .about-intro {
        font-size: 1rem;
    }
    
    .about-section p {
        font-size: 0.95rem;
    }
    
    .photographer-portrait {
        flex: none;
        order: -1; /* Move photo above text on mobile */
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .portrait-image {
        width: min(80vw, 350px);
        height: auto;
        margin: 0 auto;
        display: block;
    }
    
    .philosophy-section {
        padding: 3rem 0;
        margin-top: 3rem;
    }
    
    .philosophy-content {
        padding: 0 1rem;
    }
    
    .philosophy-section h2 {
        font-size: 1.875rem;
        margin-bottom: 1.5rem;
    }
    
    .philosophy-text p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .about-footer {
        margin-top: 3rem;
        padding: 2rem 0;
    }
    
    .about-footer .footer-content {
        padding: 0 1rem;
    }
    
    .about-footer p {
        font-size: 0.9rem;
    }
    
    .hero-section {
        height: 35vh;
        min-height: 250px;
        margin-bottom: 1.5rem;
        border: none;
        border-radius: 0;
    }
    
    .hero-overlay {
        display: none;
    }
    
    .hero-image {
        border-radius: 0;
        overflow: hidden;
    }
    
    .hero-img {
        border-radius: 0;
    }
    
    .gallery-controls {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .view-toggle {
        justify-content: center;
    }
    
    .gallery-main {
        grid-template-columns: 1fr;
    }
    
    .gallery-main-img {
        height: 300px;
    }
    
    .artwork-image {
        height: 320px;
    }
    
    .initial-artworks,
    .remaining-artworks {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .view-all-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        min-width: 160px;
    }
    
    .view-more-container {
        margin: 2rem 0;
    }
    
    .view-more-container::before {
        background: linear-gradient(to right, transparent, #e5e5e5 30%, #e5e5e5 70%, transparent);
    }
    
    @media (max-width: 600px) {
        .initial-artworks,
        .remaining-artworks {
            grid-template-columns: 1fr;
            gap: 1.5rem;
            margin: 1.5rem 0;
        }
        
        .artwork-image {
            height: 300px;
        }
    }
    
    @media (max-width: 480px) {
        .artwork-image {
            height: 280px;
        }
        
        .gallery-main-img {
            height: 250px;
        }
        
        .view-all-button {
            padding: 0.75rem 1.25rem;
            font-size: 0.8rem;
            min-width: 140px;
        }
        
        .view-more-container {
            margin: 1.5rem 0;
        }
        
        .view-more-container::before {
            background: linear-gradient(to right, transparent, #e5e5e5 40%, #e5e5e5 60%, transparent);
        }
        
        .artwork-card .content {
            padding: 1rem;
        }
        
        .view-details {
            padding: 1.25rem 1.5rem;
            font-size: 0.95rem;
        }
        
        .philosophy-section {
            padding: 2rem 0;
            margin-top: 2rem;
        }
        
        .philosophy-section h2 {
            font-size: 1.5rem;
        }
        
        .philosophy-text p {
            font-size: 0.9rem;
        }
        
        .about-footer {
            margin-top: 2rem;
            padding: 1.5rem 0;
        }
        
        .about-footer p {
            font-size: 0.85rem;
        }
        
        .view-details {
            padding: 1.5rem 1.5rem;
            font-size: 1rem;
        }
    }
    
    .artwork-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .image-container {
        padding: 1.5rem;
        background: #f8f9fa;
        border: 1px solid #e5e5e5;
    }
    
    .gallery-image {
        max-height: none;
    }
    
    .prose h1 {
        font-size: 2rem;
    }
    
    .prose h2 {
        font-size: 1.5rem;
    }
    
    /* Mobile subtitle styling */
    .prose h1 + p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .prose p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    main {
        padding: 2rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .fullscreen-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    
    .fullscreen-caption {
        bottom: 10px;
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}
/* Performance optimizations */
.artwork-image, .gallery-main-img, .thumb-img {
    backface-visibility: hidden;
}
/* Improve touch scrolling on mobile */
.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1rem 0;
    -webkit-overflow-scrolling: touch;
}
/* Add loading states for better perceived performance */
.artwork-image, .gallery-main-img {
    transition: opacity 0.3s ease;
}
.artwork-image:not([src]), .gallery-main-img:not([src]) {
    opacity: 0.5;
}
/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
/* Large screens - optimize for more content */
@media (min-width: 1200px) {
    .initial-artworks,
    .remaining-artworks {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2.5rem;
    }
}