/* Dark Minimalist Art Gallery Theme - Lily Noel Art */

/* CSS Variables for Light Green Theme - Lily Noel Art */
:root {
    --primary: #7fb87a;
    --primary-dark: #6ba868;
    --primary-light: #9fc99a;
    --accent: #8bc48a;
    --accent-2: #a7d2a0;
    --accent-3: #b8d9b3;
    --text-primary: #2d4a2a;
    --text-secondary: #4a6b47;
    --text-light: #6b8a68;
    --bg-primary: #f0f8ef;
    --bg-secondary: #e8f5e6;
    --bg-tertiary: #dff0dc;
    --bg-card: #ffffff;
    --border: #c4e6be;
    --border-light: #dff0dc;
    --gradient-1: linear-gradient(135deg, #dff0dc 0%, #c4e6be 100%);
    --gradient-2: linear-gradient(135deg, #b8d9b3 0%, #a7d2a0 100%);
    --gradient-3: linear-gradient(135deg, #9fc99a 0%, #8bc48a 100%);
    --shadow-sm: 0 1px 2px 0 rgba(125, 184, 122, 0.1);
    --shadow: 0 4px 6px -1px rgba(125, 184, 122, 0.15), 0 2px 4px -1px rgba(125, 184, 122, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(125, 184, 122, 0.2), 0 4px 6px -2px rgba(125, 184, 122, 0.15);
    --shadow-lg: 0 20px 25px -5px rgba(125, 184, 122, 0.25), 0 10px 10px -5px rgba(125, 184, 122, 0.2);
    --shadow-xl: 0 25px 50px -12px rgba(125, 184, 122, 0.3);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(167, 210, 160, 0.1) 0%, transparent 50%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(167, 210, 160, 0.05) 2px,
            rgba(167, 210, 160, 0.05) 4px
        );
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

/* Wavy background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,50 Q25,30 50,50 T100,50' stroke='rgba(167,210,160,0.15)' fill='none' stroke-width='1'/%3E%3Cpath d='M0,60 Q25,40 50,60 T100,60' stroke='rgba(167,210,160,0.15)' fill='none' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

a:hover {
    color: var(--primary-light);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-link {
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.logo-link:hover {
    transform: scale(1.02);
}

.logo {
    height: 72px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-menu a:hover {
    color: var(--primary);
    background-color: var(--bg-card);
}

.nav-menu a.active {
    color: var(--primary);
    background-color: var(--bg-card);
    border: 1px solid var(--border);
}

.nav-menu a.active::after {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.mobile-menu-toggle:hover {
    background-color: var(--bg-card);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* Hero Section */
.hero {
    background: var(--gradient-1);
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-card);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-block;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--bg-card);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-block;
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--bg-card);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Page Header */
.page-header {
    background: var(--gradient-1);
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.page-header h1 {
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-top: 0.75rem;
    font-weight: 400;
}

/* Intro Section */
.intro-section {
    padding: 4rem 2rem;
    text-align: center;
    background-color: var(--bg-card);
    margin: 3rem auto;
    max-width: 800px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.intro-section h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.intro-section p {
    color: var(--text-secondary);
}

/* Featured Paintings */
.featured-paintings {
    padding: 4rem 2rem;
    background-color: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.featured-paintings h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.featured-item {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.featured-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.featured-item {
    position: relative;
}

.featured-item .image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 280px;
}

.featured-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

/* Watermark overlay for featured items */
.featured-item .watermark {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.03) 10px,
        rgba(255, 255, 255, 0.03) 20px
    );
    z-index: 1;
}

.featured-item .watermark::before {
    content: 'LILY NOEL ART';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 0.2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    z-index: 2;
}

.featured-item .watermark::after {
    content: '© 2024';
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.featured-item h3 {
    margin: 1.25rem 1rem 0.5rem;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.featured-item .price {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 2rem;
    background-color: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.gallery-section h1 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.gallery-item {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    cursor: pointer;
    position: relative;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.gallery-item::before {
    display: none;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.gallery-item {
    position: relative;
}

.gallery-item .image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 320px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Watermark overlay */
.gallery-item .watermark {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.03) 10px,
        rgba(255, 255, 255, 0.03) 20px
    );
    z-index: 1;
}

.gallery-item .watermark::before {
    content: 'LILY NOEL ART';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 0.2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    z-index: 2;
}

.gallery-item .watermark::after {
    content: '© 2024';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.gallery-item h3 {
    margin: 1.25rem 1rem 0.5rem;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.gallery-item .price {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    padding: 0 1rem;
}

/* About Page */
.about-content {
    padding: 4rem 2rem;
    background-color: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    text-align: center;
}

.artist-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--gradient-3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-style: italic;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    font-weight: 500;
}

.about-text h2 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-text h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-text p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Contact Page */
.contact-section {
    padding: 4rem 2rem;
    background-color: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-details p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.contact-details a {
    color: var(--primary);
    font-weight: 500;
}

.contact-note {
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: normal;
}

/* Contact Form */
.contact-form-container h2 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.contact-form {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--bg-card);
    transition: all 0.2s ease;
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(127, 184, 122, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.btn-submit {
    background: var(--gradient-3);
    color: var(--bg-card);
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    box-shadow: var(--shadow);
}

.btn-submit:hover {
    background: var(--gradient-2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--bg-card);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: none;
    font-weight: 500;
}

.form-message.success {
    background-color: rgba(16, 185, 129, 0.2);
    color: #86efac;
    border: 1px solid rgba(134, 239, 172, 0.3);
    display: block;
}

.form-message.error {
    background-color: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(248, 113, 113, 0.3);
    display: block;
}

/* Painting Detail Page */
.painting-detail-section {
    padding: 4rem 2rem;
    background-color: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s ease;
    gap: 0.5rem;
}

.back-link:hover {
    color: var(--primary);
}

.painting-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.painting-image-container {
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--bg-card);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    position: relative;
}

.painting-large-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Watermark for detail page */
.painting-image-container .watermark {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 15px,
        rgba(255, 255, 255, 0.04) 15px,
        rgba(255, 255, 255, 0.04) 30px
    );
    z-index: 1;
}

.painting-image-container .watermark::before {
    content: 'LILY NOEL ART';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.3em;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    z-index: 2;
}

.painting-image-container .watermark::after {
    content: '© 2024 LILY NOEL ART';
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 1.125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.25);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.painting-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.painting-price {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border);
}

.painting-details {
    margin-bottom: 2rem;
}

.painting-details p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.painting-details .description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.painting-details strong {
    color: var(--text-primary);
    font-weight: 600;
}

.btn-inquire {
    display: inline-block;
    background: var(--gradient-3);
    color: var(--bg-card);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.2s ease;
    text-align: center;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow);
}

.btn-inquire:hover {
    background: var(--gradient-2);
    color: var(--bg-card);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.loading {
    text-align: center;
    padding: 4rem;
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Footer */
footer {
    background-color: var(--bg-card);
    color: var(--text-primary);
    padding: 3rem 2rem;
    margin-top: auto;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

footer p {
    color: var(--text-secondary);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.2s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1.5rem;
    }

    .painting-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-container {
        padding: 0 20px;
        height: 64px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 64px;
        flex-direction: column;
        background-color: var(--bg-card);
        width: 100%;
        text-align: left;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 1.5rem 0;
        gap: 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 24px;
        width: 100%;
        border-radius: 0;
    }

    .nav-menu a.active::after {
        display: none;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.875rem;
    }

    .hero {
        padding: 4rem 1.5rem;
        min-height: 60vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .page-header {
        padding: 3rem 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .painting-info h1 {
        font-size: 2rem;
    }

    .painting-price {
        font-size: 1.75rem;
    }

    footer .container {
        flex-direction: column;
        text-align: center;
    }

    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 3rem 1rem;
        min-height: 50vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .page-header {
        padding: 2.5rem 1rem;
    }

    .gallery-section,
    .about-content,
    .contact-section,
    .painting-detail-section,
    .featured-paintings {
        padding: 3rem 1rem;
    }

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

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .painting-detail-grid {
        gap: 2rem;
    }
}
