/* =================================================================
   修复黑夜模式 - HTML背景
   ================================================================= */
html {
    background-color: #f4f4f4;
    min-height: 100%;
}

@media (prefers-color-scheme: dark) {
    html {
        background-color: #1a1a1a;
    }
}

/* =================================================================
   GLOBAL STYLES & RESET
   ================================================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Light mode colors */
    --bg-primary: #f4f4f4;
    --bg-secondary: #fff;
    --text-primary: #333;
    --text-secondary: #555;
    --text-muted: #666;
    --text-light: #ddd;
    --border-color: #ccc;
    --shadow-light: rgba(0,0,0,0.1);
    --shadow-medium: rgba(0,0,0,0.2);
    --accent-dark: #333;
    --accent-light: #fff;
    
    /* Hero slider background */
    --hero-bg: #f4f4f4;
    
    /* Transition for smooth theme switching */
    --transition: all 0.3s ease;
}

/* Dark mode colors */
[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --text-muted: #888;
    --text-light: #666;
    --border-color: #444;
    --shadow-light: rgba(0,0,0,0.3);
    --shadow-medium: rgba(0,0,0,0.5);
    --accent-dark: #e0e0e0;
    --accent-light: #2d2d2d;
    --hero-bg: #1a1a1a;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition);
}

/* =================================================================
   HEADER & NAVIGATION
   ================================================================= */
header {
    background: var(--bg-secondary);
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* =================================================================
   LOGO - OPTION A: CLEAN AND SIMPLE
   ================================================================= */

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.logo:hover {
    color: var(--text-secondary);
}

/* Mobile responsiveness - Much smaller sizes */
@media (max-width: 768px) {
    .logo {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
    }
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--text-primary);
}

/* Dark mode toggle button */
.theme-toggle {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-left: 1rem;
}

.theme-toggle:hover {
    background: var(--bg-primary);
    transform: scale(1.1);
}

/* Dropdown menu styles */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-secondary);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px var(--shadow-medium);
    z-index: 1;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    list-style: none;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.dropdown-content a {
    color: var(--text-primary);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background-color: var(--bg-primary);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* =================================================================
   HERO SLIDER
   ================================================================= */
.hero-slider {
    position: relative;
    width: 100%;
    height: 60vh;
    max-height: 900px;
    min-height: 300px;
    overflow: hidden;
}

.hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--hero-bg);
    transition: background-color 1.5s ease;
}

.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.slide {
    flex: 0 0 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--hero-bg);
}

.slide-1 { background-image: url('../images/hero-slide1.jpg'); }
.slide-2 { background-image: url('../images/hero-slide2.jpg'); }
.slide-3 { background-image: url('../images/hero-slide3.jpg'); }

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 2rem;
}

.slider-controls button {
    background: rgba(255,255,255,0.4);
    border: none;
    font-size: 2rem;
    color: var(--text-primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.slider-controls button:hover {
    background: rgba(255,255,255,0.8);
    color: var(--accent-dark);
}

/* Dark mode slider controls */
[data-theme="dark"] .slider-controls button {
    background: rgba(0,0,0,0.4);
    color: var(--text-primary);
}

[data-theme="dark"] .slider-controls button:hover {
    background: rgba(0,0,0,0.8);
}

/* =================================================================
   MAIN CONTENT SECTIONS
   ================================================================= */
.featured-artworks, .gallery-page, .about-page, .contact-page {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--text-primary);
    transition: var(--transition);
}

/* =================================================================
   ARTWORK GRID & GALLERY
   ================================================================= */
.artwork-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: min-content;
    gap: 20px;
    align-items: start;
}

/* Desktop Masonry for Gallery Page (All artworks and series) */
@media (min-width: 769px) {
    .gallery-page .artwork-grid {
        display: block !important;
        column-count: 3 !important;
        column-gap: 20px;
        column-fill: balance;
        /* Override any grid properties */
        grid-template-columns: unset;
        gap: unset;
    }
    
    .gallery-page .artwork-item {
        break-inside: avoid;
        page-break-inside: avoid;
        -webkit-column-break-inside: avoid;
        display: inline-block;
        width: 100%;
        margin-bottom: 20px;
        vertical-align: top;
    }
}

.artwork-item {
    background-color: var(--bg-secondary);
    box-shadow: 0 4px 12px var(--shadow-light);
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background-color 0.3s ease;
}

.artwork-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px var(--shadow-medium);
}

.artwork-item a {
    text-decoration: none;
    color: var(--text-primary);
    display: block;
    transition: var(--transition);
}

.artwork-grid .artwork-item img {
    width: 100%;
    height: auto;
    display: block;
}

.artwork-item h3 {
    padding: 0.5rem 0.5rem;
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-primary);
    transition: var(--transition);
}

.artwork-item p {
    padding: 0.2rem 0.2rem 0.2rem 0.6rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
    transition: var(--transition);
}

/* Series statement styling */
.series-statement {
    text-align: left;
    max-width: 1500px;
    margin: 0 auto 2rem auto;
    font-style: italic;
    color: var(--text-secondary);
    transition: var(--transition);
}

/* =================================================================
   INDIVIDUAL ARTWORK PAGE
   ================================================================= */
main.featured-artworks .artwork-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

main.featured-artworks .artwork-item img {
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    margin: 0 auto 1.5rem auto;
}

.artwork-page .artwork-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.artwork-page .artwork-item img {
    box-shadow: 0 4px 12px var(--shadow-light);
    border-radius: 8px;
}

.artwork-details {
    padding-top: 2rem;
}

.artwork-details h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
    color: var(--text-primary);
}

.artwork-details p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text-primary);
    transition: var(--transition);
}

/* Series link styling */
.artwork-series {
    font-style: italic;
    color: var(--text-secondary);
    display: flex;
    justify-content: center;
    gap: 0.5em;
    font-style: italic;
}

.artwork-series a,
#artwork-series-link {
    color: var(--text-primary);
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    font-style: italic;
    transition: var(--transition);
}

.artwork-series a:hover,
#artwork-series-link:hover {
    text-decoration: underline;
}

/* =================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ================================================================= */
button, .cta-button {
    background: var(--accent-dark);
    color: var(--accent-light);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

button:hover, .cta-button:hover {
    background: var(--text-secondary);
    transform: translateY(-2px);
}

#makeOfferBtn {
    margin-top: 1rem;
}

/* =================================================================
   ABOUT PAGE
   ================================================================= */
.artist-bio {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.bio-image {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
}

.bio-image img {
    width: 60%;
    border-radius: 0%;
    box-shadow: 0 4px 12px var(--shadow-light);
}

.bio-text {
    flex: 1 1 50%;
}

.bio-text h2 {
    text-align: left;
    color: var(--text-primary);
}

.bio-text p {
    color: var(--text-primary);
    transition: var(--transition);
    padding-bottom: 0.6rem;
}

/* =================================================================
   CONTACT PAGE
   ================================================================= */
.contact-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 180px);
    background: var(--bg-primary);
}

.contact-container {
    display: flex;
    background: var(--bg-secondary);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-light);
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    transition: var(--transition);
}

.contact-card, .contact-form-card {
    flex: 1;
    padding: 2.5rem;
}

.contact-card {
    background: var(--accent-dark);
    color: var(--accent-light);
}

.contact-card h2 { 
    font-size: 2rem; 
    margin-bottom: 1rem; 
    color: var(--accent-light);
}

.contact-card p { 
    color: var(--accent-light); 
    margin-bottom: 1rem; 
    transition: var(--transition);
}

.contact-details a { 
    color: var(--accent-light); 
    text-decoration: none; 
}

.contact-details a:hover { 
    text-decoration: underline; 
}

.social-links { 
    margin-top: 1rem; 
}

.social-links img {
    width: 28px;
    margin-right: 10px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.social-links img:hover { 
    opacity: 1; 
}

.contact-form-card h3 { 
    margin-bottom: 1rem; 
    color: var(--text-primary);
}

.contact-form-card form label {
    display: block;
    margin: 0.5rem 0 0.2rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
}

.contact-form-card input, .contact-form-card textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    padding: 0.7rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    font-size: 1rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: var(--transition);
}

.contact-form-card input:focus, .contact-form-card textarea:focus {
    border-color: var(--accent-dark);
    outline: none;
    box-shadow: 0 0 0 2px var(--shadow-light);
}

/* =================================================================
   MODAL STYLES
   ================================================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--shadow-medium);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 15px var(--shadow-medium);
    transition: var(--transition);
}

.close-btn {
    color: var(--text-muted);
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-btn:hover,
.close-btn:focus {
    color: var(--text-primary);
}

.modal-content h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.input-group {
    display: flex;
    gap: 10px;
    align-items: start;
    margin-bottom: 1rem;
}

.input-group select,
.input-group input[type="number"] {
    height: 40px;
    padding: 0 0.7rem;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    font-size: 1rem;
    line-height: 1;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: var(--transition);
}

.input-group select {
    flex: 0 0 30%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" fill="currentColor" class="bi bi-caret-down-fill" viewBox="0 0 16 16"><path d="M7.247 11.14l-4.796-5.485C2.105 5.368 2.502 5 3.03 5h9.94c.528 0 .925.368.474.655l-4.796 5.484a.925.925 0 0 1-.474.251.925.925 0 0 1-.474-.25z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 10px;
    padding-right: 25px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.input-group input[type="number"] {
    flex-grow: 1;
    -moz-appearance: textfield;
    -webkit-appearance: none;
    appearance: none;
}

.input-group input[type="number"]::-webkit-inner-spin-button,
.input-group input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.modal-content label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.modal-content input, .modal-content textarea {
    width: 100%;
    padding: 0.7rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: var(--transition);
}

.modal-content input:focus, .modal-content textarea:focus {
    border-color: var(--accent-dark);
    outline: none;
    box-shadow: 0 0 0 2px var(--shadow-light);
}

/* =================================================================
   FOOTER
   ================================================================= */
footer {
    background: var(--bg-primary);
    color: var(--text-primary);
    text-align: center;
    padding: 1.2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    transition: var(--transition);
}

/* =================================================================
   MOBILE RESPONSIVE STYLES
   ================================================================= */
/* =================================================================
   MOBILE-ONLY UPDATES - Add to the end of your style.css
   Desktop remains completely unchanged
   ================================================================= */

/* Mobile Gallery & Series Pages - Masonry Layout */
/* =================================================================
   MOBILE-ONLY UPDATES - Add to the end of your style.css
   Desktop remains completely unchanged
   ================================================================= */

/* Mobile Gallery & Series Pages - Masonry Layout */
@media (max-width: 768px) {
    /* Apply masonry to both gallery and series pages */
    .gallery-page .artwork-grid,
    .featured-artworks .artwork-grid {
        /* Convert to masonry layout */
        display: block;
        column-count: 2;
        column-gap: 8px;
        
        /* Reset grid properties */
        grid-template-columns: unset;
        gap: unset;
    }
    
    /* Masonry items */
    .gallery-page .artwork-item,
    .featured-artworks .artwork-item {
        /* Prevent breaking across columns */
        break-inside: avoid;
        page-break-inside: avoid;
        
        /* Layout adjustments */
        display: inline-block;
        width: 100%;
        margin-bottom: 8px;
        
        /* Visual styling */
        background-color: var(--bg-secondary);
        border-radius: 4px;
        overflow: hidden;
        box-shadow: 0 2px 6px var(--shadow-light);
    }
    
    /* Images in masonry */
    .gallery-page .artwork-item img,
    .featured-artworks .artwork-item img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    /* Text in masonry items */
    .gallery-page .artwork-item h3,
    .featured-artworks .artwork-item h3 {
        font-size: 0.9rem;
        padding: 6px 8px 3px;
        margin: 0;
    }
    
    .gallery-page .artwork-item p,
    .featured-artworks .artwork-item p {
        font-size: 0.75rem;
        padding: 0 8px 6px;
        margin: 0;
    }
}

/* Mobile Artwork Detail Page - Complete Redesign */
@media (max-width: 768px) {
    /* Main container */
    .artwork-page .artwork-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
    }
    
    /* Image container with proper spacing */
    .artwork-page .artwork-item {
        width: 100%;
        margin-bottom: 0;
        padding: 15px;
        background: var(--bg-primary);
    }
    
    .artwork-page .artwork-item img {
        width: 100%;
        height: auto;
        max-height: 60vh;
        object-fit: contain;
        border-radius: 8px;
        box-shadow: 0 2px 8px var(--shadow-light);
        background: var(--bg-secondary);
    }
    
    /* Artwork details container */
    .artwork-details {
        padding: 20px;
        background: var(--bg-secondary);
        margin: 0;
    }
    
    /* Title styling */
    .artwork-details h2 {
        font-size: 1.5rem;
        margin: 0 0 15px 0;
        text-align: left;
        color: var(--text-primary);
    }
    
    /* Hide original desktop paragraph styles */
    .artwork-details > p:nth-of-type(1),
    .artwork-details > p:nth-of-type(2),
    .artwork-details > p:nth-of-type(3) {
        display: none !important;
    }
    
    /* Meta information as tags (created by JavaScript) */
    .artwork-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .artwork-meta .meta-item {
        display: inline-flex;
        align-items: center;
        padding: 6px 14px;
        background: var(--bg-primary);
        border-radius: 20px;
        font-size: 0.85rem;
        color: var(--text-secondary);
        border: 1px solid var(--border-color);
    }
    
    .artwork-meta .meta-item strong {
        margin-right: 5px;
        color: var(--text-primary);
        font-weight: 600;
    }
    
    /* Series tag with special styling */
    .artwork-meta .series-link {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        text-decoration: none;
        font-weight: 500;
        border: none;
        padding: 7px 15px;
    }
    
    .artwork-meta .series-link:active {
        transform: scale(0.95);
    }
    
    /* Description section */
    .artwork-details > p:last-of-type {
        display: block !important;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--border-color);
        font-size: 0.95rem;
        line-height: 1.7;
        color: var(--text-secondary);
    }
    
    /* Make Offer button styling */
    .artwork-details #makeOfferBtn {
        width: 100%;
        margin-top: 25px;
        padding: 14px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 8px;
    }
}

/* Ultra-small screens */
@media (max-width: 480px) {
    /* Keep 2 columns but smaller gaps */
    .gallery-page .artwork-grid,
    .featured-artworks .artwork-grid {
        column-count: 2;
        column-gap: 5px;
    }
    
    .gallery-page .artwork-item,
    .featured-artworks .artwork-item {
        margin-bottom: 5px;
    }
    
    /* Smaller text on very small screens */
    .artwork-meta .meta-item {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
}

/* Landscape orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .gallery-page .artwork-grid,
    .featured-artworks .artwork-grid {
        column-count: 3;
        column-gap: 8px;
    }
}

/* =================================================================
   MOBILE RESPONSIVE - ABOUT PAGE
   ================================================================= */
@media (max-width: 768px) {
    .about-page {
        padding: 0 1rem;
        margin: 1rem auto;
    }
    
    .artist-bio {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .bio-image {
        flex: none;
        width: 100%;
        order: 1;
    }
    
    .bio-image img {
        width: 80%;
        max-width: 250px;
        height: auto;
    }
    
    .bio-text {
        flex: none;
        width: 100%;
        order: 2;
    }
    
    .bio-text h2 {
        text-align: center;
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .bio-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        text-align: left;
        padding-bottom: 0.8rem;
        margin-bottom: 0;
    }
    
    /* First paragraph (subtitle) styling */
    .bio-text p:first-of-type {
        font-weight: 500;
        color: var(--text-secondary);
        text-align: center;
        margin-bottom: 1rem;
    }
}

/* =================================================================
   MOBILE RESPONSIVE - CONTACT PAGE
   ================================================================= */
@media (max-width: 768px) {
    .contact-page {
        min-height: auto;
        align-items: flex-start;
        padding: 1rem;
    }
    
    .contact-container {
        flex-direction: column;
        max-width: 100%;
        margin: 0;
        box-shadow: 0 2px 10px var(--shadow-light);
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .contact-card h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .contact-card p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    /* Email styling for mobile */
    .contact-card p:nth-of-type(2) {
        margin-bottom: 1.5rem;
    }
    
    .contact-card a {
        word-break: break-all;
    }
    
    .social-links {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 1rem;
    }
    
    .social-links img {
        width: 32px;
        margin-right: 0;
    }
    
    .contact-form-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-form-card h3 {
        font-size: 1.4rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .contact-form-card form label {
        font-size: 0.95rem;
        margin: 1rem 0 0.3rem;
    }
    
    .contact-form-card input, 
    .contact-form-card textarea {
        font-size: 1rem;
        padding: 0.8rem;
        border-radius: 6px;
        margin-bottom: 1rem;
    }
    
    .contact-form-card textarea {
        min-height: 120px;
        resize: vertical;
    }
    
    .contact-form-card .cta-button {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        margin-top: 0.5rem;
    }
}

/* =================================================================
   MOBILE RESPONSIVE - ULTRA SMALL SCREENS
   ================================================================= */
@media (max-width: 480px) {
    /* About Page - Extra small screens */
    .about-page {
        padding: 0 0.8rem;
    }
    
    .bio-text h2 {
        font-size: 1.5rem;
    }
    
    .bio-text p {
        font-size: 0.9rem;
    }
    
    /* Contact Page - Extra small screens */
    .contact-card, .contact-form-card {
        padding: 1.5rem 1rem;
    }
    
    .contact-card h2 {
        font-size: 1.4rem;
    }
    
    .contact-form-card h3 {
        font-size: 1.2rem;
    }
    
    .contact-card p, 
    .contact-form-card form label {
        font-size: 0.9rem;
    }
}

/* =================================================================
   ABOUT PAGE - COLLAPSIBLE TEXT (OPTION 2)
   ================================================================= */

/* Desktop - Keep all text visible */
.bio-text p {
    color: var(--text-primary);
    transition: var(--transition);
    padding-bottom: 0.8rem;
    margin-bottom: 0;
    line-height: 1.7;
    font-size: 1rem;
}

/* Styling for the toggle button */
.read-more-btn {
    display: none; /* Hidden on desktop */
    background: var(--accent-dark);
    color: var(--accent-light);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    margin: 1.5rem auto;
    transition: var(--transition);
    box-shadow: 0 2px 8px var(--shadow-light);
}

.read-more-btn:hover {
    background: var(--text-secondary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

/* Mobile specific styles */
@media (max-width: 768px) {
    .about-page {
        padding: 0 1rem;
        margin: 1rem auto;
    }
    
    .artist-bio {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .bio-image {
        flex: none;
        width: 100%;
        order: 1;
    }
    
    .bio-image img {
        width: 80%;
        max-width: 250px;
        height: auto;
    }
    
    .bio-text {
        flex: none;
        width: 100%;
        order: 2;
    }
    
    .bio-text h2 {
        text-align: center;
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .bio-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        text-align: left;
        padding-bottom: 1rem;
        margin-bottom: 0;
    }
    
    /* First paragraph (subtitle) styling */
    .bio-text p:first-of-type {
        font-weight: 500;
        color: var(--text-secondary);
        text-align: center;
        margin-bottom: 1.5rem;
        font-size: 1rem;
    }
    
    /* Show the toggle button on mobile */
    .read-more-btn {
        display: block;
    }
    
    /* Initially hide paragraphs 3 and 4 on mobile */
    .bio-text p:nth-of-type(3),
    .bio-text p:nth-of-type(4) {
        display: none;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    /* Show hidden paragraphs when expanded */
    .bio-text.expanded p:nth-of-type(3),
    .bio-text.expanded p:nth-of-type(4) {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Animate the appearance */
    .bio-text.expanded p:nth-of-type(3) {
        animation: fadeInUp 0.4s ease 0.1s both;
    }
    
    .bio-text.expanded p:nth-of-type(4) {
        animation: fadeInUp 0.4s ease 0.2s both;
    }
    
    /* Style the final paragraph (always visible but with emphasis) */
    .bio-text p:last-of-type {
        font-style: italic;
        color: var(--text-secondary);
        text-align: center;
        margin-top: 1.5rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
        font-size: 1rem;
    }
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ultra small screens adjustments */
@media (max-width: 480px) {
    .about-page {
        padding: 0 0.8rem;
    }
    
    .bio-text h2 {
        font-size: 1.5rem;
    }
    
    .bio-text p {
        font-size: 0.9rem;
    }
    
    .read-more-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
}