/* CSS Variables */
:root {
    --bg-dark: #0a0a0a;
    --bg-gallery: #1a1a1a;
    --accent: #d4af37;
    --text-light: #f5f5f5;
    --text-muted: #999;
    --shadow: rgba(212, 175, 55, 0.3);
}

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

body {
    font-family: 'Space Mono', monospace;
    background: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95), transparent);
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: var(--accent);
}

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

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 6rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 8px;
    animation: fadeInUp 1.2s ease-out;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    animation: fadeInUp 1.4s ease-out;
}

.cta-button {
    margin-top: 3rem;
    padding: 1rem 3rem;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    animation: fadeInUp 1.6s ease-out;
}

.cta-button:hover {
    background: var(--accent);
    color: var(--bg-dark);
    box-shadow: 0 0 30px var(--shadow);
}

/* About Section */
.about-section {
    min-height: 100vh;
    padding: 6rem 2rem;
    background: var(--bg-dark);
}

.page-section {
    padding-top: 10rem !important;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border: 8px solid var(--accent);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(20%);
    transition: filter 0.5s, transform 0.5s;
}

.about-image:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.about-text {
    color: var(--text-light);
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 2rem;
    font-size: 3rem;
}

.about-intro {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* 3D Gallery Section */
.gallery-section {
    min-height: 100vh;
    padding: 6rem 2rem;
    background: var(--bg-gallery);
    perspective: 1000px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--accent);
    letter-spacing: 4px;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-muted);
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-dark);
}

.art-piece.hidden {
    display: none;
}

.gallery-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    transform-style: preserve-3d;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 7rem 3rem;
    padding: 5rem;
    row-gap: 12rem;
}

.art-piece {
    position: relative;
    aspect-ratio: 3/4;
    background: #000;
    border: 8px solid #2a2a2a;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(212, 175, 55, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    transform-style: preserve-3d;
}

.art-piece:hover {
    transform: translateY(-20px) rotateX(5deg);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.7),
        0 0 40px var(--shadow),
        0 0 0 1px var(--accent);
    border-color: var(--accent);
}

.art-piece img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.art-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s;
}

.art-piece:hover .art-info {
    transform: translateY(0);
}

.art-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.art-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Artwork Modal/Lightbox */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    overflow: auto;
    animation: fadeIn 0.3s;
}

.modal-content {
    position: relative;
    margin: 5% auto;
    max-width: 1200px;
    padding: 2rem;
    animation: slideUp 0.4s;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 3rem;
    color: var(--accent);
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.modal-close:hover {
    color: var(--text-light);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.modal-image img {
    width: 100%;
    height: auto;
    border: 8px solid var(--accent);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.modal-details {
    padding: 2rem;
}

.modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.modal-description {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.artwork-specs {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spec-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--accent);
}

.spec-value {
    font-size: 0.95rem;
    color: var(--text-light);
}

.inquire-button {
    width: 100%;
    padding: 1.2rem;
    background: var(--accent);
    border: none;
    color: var(--bg-dark);
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.inquire-button:hover {
    background: var(--text-light);
    box-shadow: 0 0 40px var(--shadow);
}

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

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

/* FAQ Section */
.faq-section {
    min-height: 100vh;
    padding: 6rem 2rem;
    background: var(--bg-dark);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.04);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--text-light);
    font-weight: 400;
}

.faq-toggle {
    font-size: 2rem;
    color: var(--accent);
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Contact/Commission Section */
.contact-section {
    min-height: 100vh;
    padding: 6rem 2rem;
    background: var(--bg-dark);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.form-intro h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    letter-spacing: 4px;
}

.form-intro p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.contact-form {
    display: grid;
    gap: 2rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--accent);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-light);
    font-family: 'Space Mono', monospace;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--shadow);
    background: rgba(255, 255, 255, 0.08);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.submit-button {
    padding: 1.2rem 3rem;
    background: var(--accent);
    border: none;
    color: var(--bg-dark);
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    letter-spacing: 2px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.submit-button:hover {
    background: var(--text-light);
    box-shadow: 0 0 40px var(--shadow);
    transform: translateY(-2px);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-dark);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-light);
}

footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 2px;
}

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

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


@media (max-width: 768px) {
    nav {
        padding: 1.5rem 2rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title,
    .form-intro h2 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-text .section-title {
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 1rem;
    }
    
    .modal-close {
        top: 0.5rem;
        right: 1rem;
        font-size: 2.5rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}