/* --- VARIABLES --- */
:root {
    --deep-forest: #1A261F; 
    --moss: #3E5641;        
    --clay: #8C5E45;        
    --ochre: #D9A05B;       
    --cream: #F2E8D5;       
}

/* --- RESET & BASE --- */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body { 
    font-family: 'Inter', sans-serif; 
    line-height: 1.6; 
    color: var(--cream); 
    background-color: var(--deep-forest);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3 { 
    font-family: 'Playfair Display', serif; 
    color: var(--ochre); 
}

a { 
    text-decoration: none; 
    color: inherit; 
    transition: 0.3s;
}

/* --- NAVIGATION --- */
nav {
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(26, 38, 31, 0.98);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(217, 160, 91, 0.2);
}

nav .logo { 
    font-weight: 600; 
    letter-spacing: 3px; 
    color: var(--ochre); 
    font-size: 1.2rem; 
}

.nav-links { 
    display: flex; 
    gap: 20px; 
}

.nav-links a, .back-link { 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    font-weight: 600; 
}

.nav-links a:hover, .back-link:hover { 
    color: var(--ochre); 
}

.menu-toggle { 
    display: none; 
    color: var(--ochre); 
    font-size: 1.5rem; 
    cursor: pointer; 
}

/* --- HERO --- */
.hero {
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(26, 38, 31, 0.6), rgba(26, 38, 26, 0.6)), 
                url('images/main1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 20px;
}

.hero h1 { 
    font-size: clamp(3rem, 10vw, 6rem); 
    margin-bottom: 0.5rem; 
}

.hero p { 
    font-size: clamp(0.9rem, 4vw, 1.1rem); 
    color: var(--cream); 
    letter-spacing: 4px; 
    text-transform: uppercase; 
    margin-bottom: 2rem; 
    opacity: 0.9; 
}

.hero-socials { 
    display: flex; 
    gap: 25px; 
}

.hero-socials a { 
    font-size: 2.2rem; 
    color: var(--ochre); 
}

.hero-socials a:hover { 
    color: var(--cream); 
    transform: scale(1.1); 
}

/* --- SECTIONS & ALTERNATING COLORS --- */
section { 
    padding: 80px 20px; 
    max-width: 100%; 
    margin: 0 auto; 
    text-align: center; 
}

section:nth-of-type(even) { 
    background-color: rgba(62, 86, 65, 0.15); 
}

#about {
    background: linear-gradient(rgba(26, 38, 31, 0.85), rgba(26, 38, 31, 0.85)), 
                url('images/main2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-content { 
    max-width: 1100px; 
    margin: 0 auto; 
}

.leaf-divider { 
    color: var(--clay); 
    font-size: 2.5rem; 
    margin-bottom: 1.5rem; 
}

.about-text { 
    font-size: clamp(1.1rem, 4vw, 1.3rem); 
    max-width: 800px; 
    margin: 0 auto; 
    line-height: 1.8; 
    font-weight: 300; 
}

/* --- GRIDS & CARDS --- */
.workshop-grid, .archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

/* Center the Archive Grid Specifically */
.archive-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    justify-content: center;
}

.workshop-card, .archive-card {
    background: rgba(62, 86, 65, 0.3);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(217, 160, 91, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.workshop-card:hover, .archive-card:hover { 
    border-color: var(--ochre); 
    transform: translateY(-5px);
    background: rgba(62, 86, 65, 0.5);
}

/* Icons and Text Inside Cards */
.archive-card i { 
    font-size: 2.5rem; 
    color: var(--ochre); 
    margin-bottom: 15px; 
}

.archive-card h3 {
    margin-bottom: 10px;
}

.archive-card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.year-label { 
    display: block; 
    width: 100%; 
    text-align: center; 
    border-bottom: 1px solid var(--clay); 
    padding-bottom: 10px; 
    margin: 40px 0 20px; 
    color: var(--ochre); 
    font-weight: 600; 
    text-transform: uppercase; 
}

/* --- GALLERY --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

.gallery-grid img {
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    border-radius: 8px;
    cursor: pointer; 
    transition: 0.4s; 
    filter: brightness(0.8);
}

.gallery-grid img:hover { 
    filter: brightness(1); 
    transform: scale(1.02); 
}

/* --- LIGHTBOX --- */
#lightbox {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    top: 0; left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.95); 
    justify-content: center; 
    align-items: center; 
    padding: 20px;
}

#lightbox img { 
    max-width: 100%; 
    max-height: 90%; 
    border: 2px solid var(--ochre); 
    border-radius: 4px; 
}

/* --- CONTACT SECTION --- */
.contact-box { 
    background: var(--moss); 
    padding: 60px 40px; 
    border-radius: 15px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.3); 
}

.contact-link {
    display: inline-block; 
    margin-top: 20px; 
    color: var(--ochre); 
    font-size: clamp(1rem, 5vw, 1.5rem);
    border-bottom: 2px solid var(--clay); 
    word-break: break-all;
}

.contact-link:hover { 
    color: var(--cream); 
    border-color: var(--ochre); 
}

/* --- SUBPAGE SPECIFICS --- */
.workshop-hero { 
    height: 40vh; 
    background: linear-gradient(rgba(26,38,31,0.7), rgba(26,38,31,0.7)), 
                url('images/workshop-header.jpg'); 
    background-size: cover; 
    background-position: center; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-direction: column; 
}

.detail-container { 
    max-width: 800px; 
    margin: -80px auto 60px; 
    background: var(--deep-forest); 
    padding: 50px; 
    border-radius: 15px; 
    border: 1px solid rgba(217,160,91,0.2); 
    position: relative; 
    z-index: 10; 
    text-align: left; 
}

.btn { 
    display: block; 
    background: var(--clay); 
    color: var(--cream); 
    padding: 15px 35px; 
    border-radius: 5px; 
    margin: 40px auto 0; 
    font-weight: 600; 
    text-align: center; 
    max-width: 250px; 
}

.btn:hover { 
    background: var(--ochre); 
    color: var(--deep-forest); 
}

/* --- FOOTER --- */
footer { 
    padding: 40px 20px; 
    text-align: center; 
    font-size: 0.8rem; 
    color: var(--ochre); 
    opacity: 0.7; 
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .hero, #about { 
        background-attachment: scroll !important; 
    }
    .menu-toggle { 
        display: block; 
    }
    .nav-links {
        display: none; 
        flex-direction: column; 
        position: absolute; 
        top: 100%; left: 0;
        width: 100%; 
        background: var(--deep-forest); 
        padding: 20px; 
        border-bottom: 1px solid var(--ochre);
    }
    .nav-links.active { 
        display: flex; 
    }
    .nav-links a { 
        margin: 15px 0; 
        font-size: 1.1rem; 
    }
    .gallery-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    .archive-grid {
        grid-template-columns: 1fr;
    }
}

/* --- SPECIFIC STUDIO HIRE HERO --- */
.studio-hero {
    height: 50vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(26, 38, 31, 0.4), rgba(26, 38, 31, 0.4)), 
                url('images/studio-main-hero.jpg');
    background-size: cover;
    background-position: center 100%; /* Restores the bottom-alignment */
    background-attachment: scroll;    /* Restores the reliable pinning */
    padding: 20px;
}

.studio-hero h1 { 
    font-size: clamp(3rem, 10vw, 5rem); 
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3); 
    color: var(--ochre);
    font-family: 'Playfair Display', serif;
}