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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: #2c2c2c;
    background: #fafafa;
}

/* Force gold header background - highest priority */
body header,
html body header,
.header,
header.main-header,
header[style*="background"],
nav[style*="background"] {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%) !important;
    background-color: #d4af37 !important;
    color: #1a1a1a !important;
}

/* Header & Navigation - Force Gold Background */
header, header.main-header, .header {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%) !important;
    background-color: #d4af37 !important;
    color: #1a1a1a !important;
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    background: inherit;
}

.logo h1 {
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: #1a1a1a !important;
    text-transform: uppercase;
    font-family: 'Arial', sans-serif;
}

/* Logo enhancements */
.logo img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

.logo {
    cursor: pointer;
}

/* Responsive logo adjustments */
@media (max-width: 768px) {
    .logo img {
        height: 45px !important;
    }
    
    .logo h1 {
        font-size: 1.6rem;
    }
    
    .logo div span {
        font-size: 0.5rem !important;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a:hover {
    color: #2d2d2d;
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: #d4af37;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Language Links - Simple Text Style */
.language-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-link {
    color: #1a1a1a !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.lang-link:hover {
    color: #2d2d2d !important;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.lang-link.active {
    color: #1a1a1a !important;
    background: rgba(255, 255, 255, 0.3);
    font-weight: 700;
    text-decoration: underline;
}

.lang-separator {
    color: #1a1a1a;
    font-weight: 300;
    opacity: 0.6;
    margin: 0 0.25rem;
}

/* Desktop adjustments for better spacing */
@media (min-width: 769px) {
    .language-links {
        margin-left: 1rem;
    }
}

/* Language Selector Dropdown */
.language-selector {
    position: relative;
    margin-left: 1rem;
}

#language-select {
    background: linear-gradient(135deg, #d4af37 0%, #f2d84b 100%);
    color: #1a1a1a;
    border: 2px solid #d4af37;
    border-radius: 25px;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 0.9rem;
    padding-right: 2.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    font-family: 'Arial', sans-serif;
    position: relative;
    overflow: hidden;
}

#language-select::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

#language-select:hover::before {
    left: 100%;
}

#language-select:hover {
    background: linear-gradient(135deg, #f2d84b 0%, #d4af37 100%);
    border-color: #f4d03f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

#language-select:focus {
    outline: none;
    border-color: #f4d03f;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

#language-select option {
    background: #1a1a1a;
    color: #fff;
    padding: 0.5rem;
    font-weight: 600;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), 
                linear-gradient(135deg, #8b7355 0%, #6d5d4a 50%, #4a4037 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 120px;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1.2s ease-out;
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: #ffffff;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #f8f8f8;
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.cta-button {
    background: linear-gradient(135deg, #d4af37 0%, #f2d84b 100%);
    color: #1a1a1a;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #f2d84b 0%, #d4af37 100%);
}

/* Main Content Sections */
main {
    padding-top: 120px;
}

section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

h2 {
    font-size: 2.8rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a1a1a;
    letter-spacing: 1px;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #d4af37, #f2d84b);
    border-radius: 2px;
}

/* Gallery Section */
.gallery {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin: 2rem 0;
    padding: 4rem 3rem;
}

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

.artwork-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.artwork-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #d4af37, #f2d84b);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.artwork-card:hover::before {
    transform: scaleX(1);
}

.artwork-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.artwork-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-style: italic;
    border: 2px dashed #ddd;
    position: relative;
    overflow: hidden;
}

.artwork-placeholder::before {
    content: '🎨';
    font-size: 3rem;
    opacity: 0.3;
}

.artwork-card h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

.artwork-card p {
    color: #666;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-size: 1rem;
}

.view-artwork {
    background: linear-gradient(135deg, #d4af37 0%, #f2d84b 100%);
    color: #1a1a1a;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.view-artwork:hover {
    background: linear-gradient(135deg, #f2d84b 0%, #d4af37 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* About Section */
.about {
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
    border-radius: 15px;
    margin: 2rem 0;
    padding: 4rem 3rem;
    text-align: center;
}

.about p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Section */
.contact {
    background: #1a1a1a;
    color: #f8f8f8;
    border-radius: 15px;
    margin: 2rem 0;
    padding: 4rem 3rem;
    text-align: center;
}

.contact h2 {
    color: #d4af37;
}

.contact p {
    font-size: 1.1rem;
    margin: 1rem 0;
    color: #ccc;
}

/* Contact Form Styles */
.contact-form form {
    text-align: left;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #f8f8f8;
    font-weight: bold;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.contact-form button {
    background: #d4af37;
    color: #1a1a1a;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-form button:hover {
    background: #f4d03f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.contact-form button:disabled {
    background: #999;
    cursor: not-allowed;
    transform: none;
}

/* Form validation styles */
.contact-form input.error,
.contact-form select.error,
.contact-form textarea.error {
    border-color: #f44336;
}

.contact-form input.success,
.contact-form select.success,
.contact-form textarea.success {
    border-color: #4CAF50;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #ccc;
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 3rem;
}

footer p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

footer small {
    color: #999;
}

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

/* Responsive Design */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #1a1a1a;
    transition: all 0.3s ease;
}

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

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

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: right 0.3s ease;
        gap: 2rem;
        z-index: 999;
    }
    
    /* Mobile language selector - always visible */
    .language-selector {
        position: fixed;
        top: 20px;
        right: 80px;
        z-index: 1000;
    }
    
    .language-selector > div {
        display: flex !important;
        align-items: center !important;
        gap: 0.3rem !important;
    }
    
    .language-selector span {
        font-size: 1.4rem !important;
    }
    
    #language-select {
        font-size: 1rem !important;
        padding: 0.8rem 1.2rem !important;
        min-width: 130px !important;
        background-size: 1rem;
        padding-right: 3rem !important;
        border-radius: 30px !important;
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        border-radius: 8px;
        background: rgba(26, 26, 26, 0.1);
        width: 80%;
        text-align: center;
    }
    
    .nav-links a:hover {
        background: rgba(26, 26, 26, 0.2);
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    section {
        padding: 3rem 1rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    /* Hero section mobile responsiveness */
    .hero {
        min-height: 60vh !important;
        padding: 2rem 1rem !important;
    }
    
    .hero-content {
        text-align: center;
        padding: 1rem !important;
    }
    
    .hero h2 {
        font-size: 2rem !important;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1rem !important;
        margin-bottom: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
    
    /* QR Code adjustments */
    .hero div[style*="position: absolute; bottom: 20px; right: 20px"] {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin: 2rem auto 0 !important;
        display: block !important;
        text-align: center !important;
        padding: 10px !important;
    }
    
    .hero div[style*="position: absolute; bottom: 20px; right: 20px"] img {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 5px !important;
    }
    
    /* Contact section QR code mobile sizing */
    img[src*="qr_gold.png"] {
        max-width: 80px !important;
        max-height: 80px !important;
        width: auto !important;
        height: auto !important;
    }
    
    /* About section mobile adjustments */
    .about div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .about div[style*="display: grid; grid-template-columns: 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    nav {
        padding: 0 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
}

/* RESPONSIVE STYLES FOR FEATURED ARTWORK SECTIONS */
@media (max-width: 1024px) {
    /* Tablet adjustments */
    #featured-artwork div[style*="grid-template-columns"],
    #featured-artwork-2 div[style*="grid-template-columns"],
    #featured-artwork-3 div[style*="grid-template-columns"],
    #featured-artwork-4 div[style*="grid-template-columns"],
    #featured-artwork-5 div[style*="grid-template-columns"],
    #featured-artwork-6 div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Adjust artwork section titles */
    #featured-artwork h2,
    #featured-artwork-2 h2,
    #featured-artwork-3 h2,
    #featured-artwork-4 h2,
    #featured-artwork-5 h2,
    #featured-artwork-6 h2 {
        font-size: 2rem !important;
    }
    
    /* Adjust artwork titles */
    #featured-artwork h3,
    #featured-artwork-2 h3,
    #featured-artwork-3 h3,
    #featured-artwork-4 h3,
    #featured-artwork-5 h3,
    #featured-artwork-6 h3 {
        font-size: 1.8rem !important;
    }
}

@media (max-width: 768px) {
    /* Mobile adjustments for artwork sections */
    #featured-artwork,
    #featured-artwork-2,
    #featured-artwork-3,
    #featured-artwork-4,
    #featured-artwork-5,
    #featured-artwork-6 {
        padding: 2rem 1rem !important;
        margin: 1rem 0 !important;
    }
    
    /* Stack artwork content vertically */
    #featured-artwork div[style*="grid-template-columns"],
    #featured-artwork-2 div[style*="grid-template-columns"],
    #featured-artwork-3 div[style*="grid-template-columns"],
    #featured-artwork-4 div[style*="grid-template-columns"],
    #featured-artwork-5 div[style*="grid-template-columns"],
    #featured-artwork-6 div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    /* Adjust artwork section titles */
    #featured-artwork h2,
    #featured-artwork-2 h2,
    #featured-artwork-3 h2,
    #featured-artwork-4 h2,
    #featured-artwork-5 h2,
    #featured-artwork-6 h2 {
        font-size: 1.8rem !important;
        margin-bottom: 2rem !important;
    }
    
    /* Adjust artwork titles */
    #featured-artwork h3,
    #featured-artwork-2 h3,
    #featured-artwork-3 h3,
    #featured-artwork-4 h3,
    #featured-artwork-5 h3,
    #featured-artwork-6 h3 {
        font-size: 1.6rem !important;
        text-align: center !important;
    }
    
    /* Adjust description padding */
    #featured-artwork div[style*="padding: 2rem"],
    #featured-artwork-2 div[style*="padding: 2rem"],
    #featured-artwork-3 div[style*="padding: 2rem"],
    #featured-artwork-4 div[style*="padding: 2rem"],
    #featured-artwork-5 div[style*="padding: 2rem"],
    #featured-artwork-6 div[style*="padding: 2rem"] {
        padding: 1rem !important;
    }
    
    /* Adjust description box padding */
    #featured-artwork div[style*="padding: 2.5rem"],
    #featured-artwork-2 div[style*="padding: 2.5rem"],
    #featured-artwork-3 div[style*="padding: 2.5rem"],
    #featured-artwork-4 div[style*="padding: 2.5rem"],
    #featured-artwork-5 div[style*="padding: 2.5rem"],
    #featured-artwork-6 div[style*="padding: 2.5rem"] {
        padding: 1.5rem !important;
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
    
    /* Center artwork metadata */
    #featured-artwork div[style*="text-align: center"],
    #featured-artwork-2 div[style*="text-align: center"],
    #featured-artwork-3 div[style*="text-align: center"],
    #featured-artwork-4 div[style*="text-align: center"],
    #featured-artwork-5 div[style*="text-align: center"],
    #featured-artwork-6 div[style*="text-align: center"] {
        margin-top: 1rem !important;
    }
    
    /* Contact form mobile improvements */
    .contact-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Footer mobile adjustments */
    footer {
        padding: 1.5rem 1rem !important;
    }
    
    footer div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

@media (max-width: 480px) {
    /* Small mobile adjustments */
    #featured-artwork,
    #featured-artwork-2,
    #featured-artwork-3,
    #featured-artwork-4,
    #featured-artwork-5,
    #featured-artwork-6 {
        padding: 1.5rem 0.5rem !important;
    }
    
    /* Extra small artwork section titles */
    #featured-artwork h2,
    #featured-artwork-2 h2,
    #featured-artwork-3 h2,
    #featured-artwork-4 h2,
    #featured-artwork-5 h2,
    #featured-artwork-6 h2 {
        font-size: 1.5rem !important;
    }
    
    /* Extra small artwork titles */
    #featured-artwork h3,
    #featured-artwork-2 h3,
    #featured-artwork-3 h3,
    #featured-artwork-4 h3,
    #featured-artwork-5 h3,
    #featured-artwork-6 h3 {
        font-size: 1.4rem !important;
    }
    
    /* Reduce description font size */
    #featured-artwork div[style*="font-size: 1.1rem"],
    #featured-artwork-2 div[style*="font-size: 1.1rem"],
    #featured-artwork-3 div[style*="font-size: 1.1rem"],
    #featured-artwork-4 div[style*="font-size: 1.1rem"],
    #featured-artwork-5 div[style*="font-size: 1.1rem"],
    #featured-artwork-6 div[style*="font-size: 1.1rem"] {
        font-size: 0.95rem !important;
    }
    
    /* Very small screen typography */
    body {
        font-size: 14px;
    }
    
    /* Reduce hero font sizes further */
    .hero h2 {
        font-size: 1.8rem !important;
    }
    
    .hero p {
        font-size: 0.9rem !important;
    }
    
    /* Navigation improvements for small screens */
    nav {
        padding: 0 0.5rem !important;
    }
    
    .logo h1 {
        font-size: 1.4rem !important;
    }
    
    .logo span {
        font-size: 0.4rem !important;
    }
}

/* FINAL OVERRIDE - FORCE GOLD HEADER */
header {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%) !important;
    background-color: #d4af37 !important;
}

body header {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%) !important;
    background-color: #d4af37 !important;
}

html body header {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%) !important;
    background-color: #d4af37 !important;
}

/* GLOBAL RESPONSIVE IMAGE STYLES */
img {
    max-width: 100%;
    height: auto;
}

/* Touch-friendly button sizing */
button, .cta-button, .view-artwork, input[type="submit"] {
    min-height: 44px;
    min-width: 44px;
    padding: 0.8rem 1.5rem;
}

/* Smooth scrolling for better mobile experience */
html {
    scroll-behavior: smooth;
}

/* Prevent horizontal scrolling on mobile */
body {
    overflow-x: hidden;
}

/* ===============================
   FULLSCREEN IMAGE MODAL STYLES
   =============================== */

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.8);
    animation: zoomIn 0.3s ease-in-out;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover,
.modal-close:focus {
    color: #d4af37;
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.modal-caption {
    text-align: center;
    color: #fff;
    padding: 20px;
    font-size: 1.2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0 0 8px 8px;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10001;
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-prev,
.modal-next {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-prev:hover,
.modal-next:hover {
    background: rgba(212, 175, 55, 0.8);
    transform: scale(1.1);
}

/* Clickable artwork images */
.artwork-image {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.artwork-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    filter: brightness(1.05);
}

/* Modal animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { 
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to { 
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Mobile responsive modal */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 85%;
    }
    
    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
    
    .modal-prev,
    .modal-next {
        font-size: 20px;
        padding: 10px 15px;
        width: 50px;
        height: 50px;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
    
    .modal-caption {
        font-size: 1rem;
        padding: 15px;
    }
}
