/* --- SYSTEM ARCHITECTURE & RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-deep-black: #050505;      /* Pitch black base */
    --panel-dark: #0f0f0f;          /* Charcoal matte tint */
    --blood-red: #a62424;           /* Calibrated traditional red ink */
    --aged-bone: #dcd6cd;           /* Vintage parchment white text */
    --gold-accent: #b8860b;         /* Muted old flash sheet gold */
    --heavy-border: 2px solid #000;
    --logo-font: 'Germania One', serif;
    --body-font: 'Poppins', sans-serif;
    --instruction-font: 'Almendra', serif;
}

body {
    background-color: var(--bg-deep-black);
    color: var(--aged-bone);
    font-family: var(--body-font);
    line-height: 1.6;
    overflow-x: hidden;
    /* Fixed header spacer - Adjust based on header height */
    padding-top: 155px; 
}

/* --- AMERICAN TRADITIONAL TYPOGRAPHY OUTLINES --- */
h1, h2, h3, .logo-text, .i18n-h1, .i18n-h2, .i18n-h3 {
    font-family: var(--logo-font);
    color: var(--blood-red);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
    /* Hand-painted traditional flash outlines - double shadow layer */
    text-shadow: 
        2.5px 2.5px 0px #000,
       -2.5px -2.5px 0px #000,
        2.5px -2.5px 0px #000,
       -2.5px 2.5px 0px #000,
        0px 2.5px 0px #000,
        0px -2.5px 0px #000,
        2.5px 0px 0px #000,
       -2.5px 0px 0px #000;
}

/* --- SCROLLING HEADER ARCHITECTURE (Banner + Nav) --- */
.sticky-header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Must sit above Lightbox */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.promo-banner {
    background-color: var(--blood-red);
    color: #000;
    text-align: center;
    padding: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-bottom: 2px solid #000;
}

.main-header {
    background-color: var(--panel-dark);
    border-bottom: var(--heavy-border);
    padding: 10px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.logo-text {
    font-size: 2.3rem;
    text-decoration: none;
    display: inline-block;
}

.logo-text span {
    color: var(--aged-bone);
    text-shadow: 2.5px 2.5px 0px #000, -2.5px -2.5px 0px #000; /* Specific sync with outline color */
}

/* Navigation Links */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.main-nav a {
    color: var(--aged-bone);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--blood-red);
}

/* --- DE/EN LANGUAGE SWITCHER --- */
.language-switcher {
    display: flex;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2px;
}

.lang-btn {
    background: none;
    border: none;
    color: #555; /* Inactive color */
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 15px;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    color: var(--aged-bone);
}

.lang-btn.active {
    color: #000;
    background-color: var(--aged-bone);
}

/* --- HERO WRAPPER --- */
.hero-section {
    text-align: center;
    padding: 20px 20px 20px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-centerpiece-art {
    max-width: 380px;
    width: 100%;
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.9));
}

.hero-title {
    font-size: 4.2rem;
    margin-bottom: 12px;
    line-height: 1;
}

.hero-subtitle {
    font-family: var(--instruction-font);
    font-size: 1.25rem;
    color: #a09a90;
    max-width: 650px;
    margin: 0 auto;
}

/* --- GALLERY INTERACTIVE CONTAINER --- */
.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.search-wrapper {
    max-width: 600px;
    margin: 0 auto 30px;
}

.search-box {
    display: flex;
    background-color: var(--panel-dark);
    border: var(--heavy-border);
    border-radius: 4px;
    padding: 12px 20px;
    align-items: center;
}

.search-icon {
    margin-right: 15px;
    font-size: 1.2rem;
}

.search-box input {
    background: none;
    border: none;
    color: var(--aged-bone);
    font-size: 1rem;
    width: 100%;
    outline: none;
}

/* FILTER ROW */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: var(--panel-dark);
    color: var(--aged-bone);
    border: var(--heavy-border);
    padding: 8px 18px;
    font-family: var(--instruction-font);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--blood-red);
    color: #000;
}

/* Special SHORTLIST BUTTON STYLE */
.shortlist-btn {
    border-color: var(--gold-accent) !important;
    color: var(--gold-accent) !important;
}

.shortlist-btn.active {
    background-color: var(--gold-accent) !important;
    color: #000 !important;
}

/* --- MAX-3 PORTFOLIO GRID ENGINE --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1050px;
    margin: 0 auto;
}

.gallery-item {
    background-color: var(--panel-dark);
    border: var(--heavy-border);
    border-radius: 4px;
    overflow: hidden;
    position: relative; /* Setup for absolute heart icon */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px; 
    transition: all 0.3s ease;
}

/* Lightbox hover effect on thumbnails */
.gallery-item:hover {
    box-shadow: 0 0 20px rgba(166, 36, 36, 0.5); /* Glow effect on hover */
    cursor: pointer; /* Indicates it can be opened */
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: contain; 
    border-radius: 2px;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.02);
}

/* SHORTLIST HEART ICON OVERLAY */
.shortlist-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    color: rgba(255, 255, 255, 0.5);
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.shortlist-icon:hover {
    background: rgba(166, 36, 36, 0.8);
    color: #fff;
    transform: scale(1.1);
}

.shortlist-icon.active {
    color: var(--blood-red);
    text-shadow: 0 0 10px var(--blood-red);
}

.no-results, .loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    font-family: var(--instruction-font);
    font-size: 1.3rem;
    color: var(--blood-red);
}

/* --- RUSTIC CONTACT DESIGN --- */
.utility-section {
    background-color: var(--panel-dark);
    border-top: var(--heavy-border);
    border-bottom: var(--heavy-border);
    padding: 60px 20px;
    text-align: center;
    margin-top: 60px;
}

.utility-section h3 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.instagram-instruction {
    font-family: var(--instruction-font);
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--aged-bone);
}

.instagram-cta-btn {
    display: inline-block;
    background-color: var(--blood-red);
    color: #000;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.1rem;
    padding: 14px 30px;
    border: var(--heavy-border);
    border-radius: 4px;
    text-transform: uppercase;
    transition: background-color 0.2s ease;
}

.instagram-cta-btn:hover {
    background-color: var(--gold-accent);
}

/* --- SYSTEM FOOTER --- */
.main-footer {
    text-align: center;
    padding: 30px 20px;
    font-size: 0.85rem;
    color: #555;
}

/* --- LIGHTBOX (Zoom Overlay) STYLE --- */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000; /* Highest on screen */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: zoom-out; /* Click background to close */
}

.lightbox-modal.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-content-wrapper {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    border: var(--heavy-border);
    background-color: var(--bg-deep-black);
    cursor: default; /* Images shouldn't indicate zoom-out */
}

.lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: -10px;
    color: var(--aged-bone);
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.lightbox-close:hover {
    color: var(--blood-red);
}

/* --- RESPONSIVE MOBILE SCALING BREAKPOINTS --- */
@media (max-width: 850px) {
    body {
        padding-top: 180px; /* Accounts for collapsed mobile header */
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
    .hero-title {
        font-size: 3.4rem;
    }
}

@media (max-width: 550px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* Single column stack */
    }
    .header-container {
        flex-direction: column;
        gap: 12px;
    }
    .logo-text {
        font-size: 1.8rem;
    }
    .main-nav ul {
        gap: 15px;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-centerpiece-art {
        max-width: 280px;
    }
    .filter-buttons {
        gap: 8px;
    }
}