/* ========================================
   CSS Variables & Base Styles
   ======================================== */

:root {
    --bg: #0a0a0a;
    --bg-secondary: #111111;
    --text: #f5f5f0;
    --text-muted: #888888;
    --accent: #e8d5b7;
    --accent-hover: #f0e4cf;
    --border: rgba(255,255,255,0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Grain overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1000;
}


/* ========================================
   Header
   ======================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, var(--bg) 0%, transparent 100%);
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

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

.back-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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


/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232,213,183,0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    animation: fadeUp 1s ease-out;
}

.hero-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    animation: fadeUp 1s ease-out 0.2s both;
}

.tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--accent);
    font-style: italic;
    max-width: 500px;
    animation: fadeUp 1s ease-out 0.4s both;
}

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


/* ========================================
   Art Preview Section
   ======================================== */

.art-preview {
    padding: 0 3rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.art-preview-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    text-decoration: none;
}

.art-preview-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.art-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: all 0.6s ease;
}

.art-preview-container:hover .art-preview-image {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.art-preview-content {
    padding: 2rem 0;
}

.art-preview-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.art-preview-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    font-style: italic;
    color: var(--accent);
    line-height: 1.2;
    transition: color 0.3s ease;
}

.art-preview-container:hover .art-preview-title {
    color: var(--accent-hover);
}

.art-preview-arrow {
    display: inline-block;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.art-preview-container:hover .art-preview-arrow {
    transform: translateX(8px);
}

.art-preview-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: var(--bg-secondary);
    border: 1px dashed var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.art-preview-placeholder span {
    color: var(--text-muted);
    font-size: 0.85rem;
}


/* ========================================
   Navigation Buttons
   ======================================== */

.nav-grid {
    padding: 4rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-grid-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2rem;
    padding-left: 0.5rem;
}

.buttons-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.nav-button {
    background: var(--bg-secondary);
    padding: 3rem 2rem;
    text-decoration: none;
    color: var(--text);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

.nav-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(232,213,183,0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nav-button:hover::before {
    opacity: 1;
}

.nav-button:hover {
    background: #151515;
}

.nav-button-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.nav-button-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}

.nav-button-arrow {
    font-size: 1.5rem;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    margin-top: 1rem;
}

.nav-button:hover .nav-button-arrow {
    opacity: 1;
    transform: translateX(0);
}

.coming-soon {
    opacity: 0.5;
    cursor: default;
}

.coming-soon:hover {
    background: var(--bg-secondary);
}

.coming-soon:hover::before {
    opacity: 0;
}

.badge {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(232,213,183,0.1);
    color: var(--accent);
    padding: 0.3rem 0.6rem;
    margin-left: 0.5rem;
    vertical-align: middle;
}


/* ========================================
   About Section
   ======================================== */

.about {
    padding: 8rem 3rem;
    max-width: 1000px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.about-content {
    flex: 1;
}

.about-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.6;
}

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


/* ========================================
   Contact Section
   ======================================== */

.contact {
    padding: 6rem 3rem;
    background: var(--bg-secondary);
}

.contact-inner {
    max-width: 600px;
    margin: 0 auto;
}

.contact-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-subtitle {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 0.9rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

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

.submit-btn {
    padding: 1.2rem 2.5rem;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    background: var(--accent);
    color: var(--bg);
}


/* ========================================
   Page Header (for subpages)
   ======================================== */

.page-header {
    padding: 10rem 3rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.page-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    margin-bottom: 1rem;
}

.page-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    font-size: 1rem;
    line-height: 1.7;
}


/* ========================================
   Gallery
   ======================================== */

.gallery {
    padding: 2rem 3rem 6rem;
    max-width: 1400px;
    margin: 0 auto;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
    aspect-ratio: 4/5;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}

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

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

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.gallery-item-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.gallery-item-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px dashed var(--border);
    gap: 0.5rem;
}

.gallery-placeholder span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.gallery-placeholder .number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--border);
}


/* ========================================
   Lightbox
   ======================================== */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--accent);
}

.lightbox-caption {
    text-align: center;
    margin-top: 1.5rem;
}

.lightbox-caption h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.3rem;
}

.lightbox-caption p {
    color: var(--text-muted);
    font-size: 0.85rem;
}


/* ========================================
   Footer
   ======================================== */

footer {
    padding: 3rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-socials a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-socials a:hover {
    color: var(--accent);
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
}


/* ========================================
   Mobile Responsiveness
   ======================================== */

@media (max-width: 768px) {
    header {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }

    .social-links {
        gap: 1rem;
    }

    .hero {
        padding: 8rem 1.5rem 4rem;
    }

    .art-preview {
        padding: 0 1.5rem 4rem;
    }

    .art-preview-container {
        grid-template-columns: 1fr;
    }

    .art-preview-content {
        order: -1;
        padding: 0 0 1.5rem;
    }

    .art-preview-image-wrapper {
        aspect-ratio: 1/1;
    }

    .nav-grid {
        padding: 2rem 1.5rem;
    }

    .buttons-container {
        grid-template-columns: 1fr;
    }

    .nav-button {
        padding: 2rem 1.5rem;
        min-height: 150px;
    }

    .about {
        padding: 4rem 1.5rem;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .about-image {
        width: 180px;
        height: 180px;
    }

    .about-text {
        font-size: 1.4rem;
    }

    .contact {
        padding: 4rem 1.5rem;
    }

    .contact-title {
        font-size: 2rem;
    }

    .footer-socials {
        flex-direction: column;
        gap: 1rem;
    }

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

    .gallery {
        padding: 1rem 1.5rem 4rem;
    }

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

    .gallery-item {
        aspect-ratio: 1/1;
    }

    .gallery-item-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(10,10,10,0.8) 0%, transparent 100%);
    }
}