:root {
    --bg: #121212;
    --text: #e5e5e5;
    --muted: #a3a3a3;
    --accent: #ffffff;
    --radius: 8px; /* Softer, but not too round */
    --transition: 300ms ease;
    --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-serif: "Georgia", serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
}

/* --- HEADER --- */
.site-header {
    padding: 4rem 2rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.brand-name {
    font-family: var(--font-brand);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--accent);
    text-transform: lowercase; /* Modern, approachable look */
    display: inline-block;
    position: relative;
}

.brand-name::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #3b82f6; /* A pop of electric blue */
    border-radius: 50%;
    margin-left: 4px;
    margin-bottom: 6px;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.main-nav a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--muted);
}

.social-icon {
    font-size: 0.85rem;
    border-bottom: 1px solid transparent;
}

.social-icon:hover {
    border-bottom-color: var(--muted);
}

/* --- GALLERY --- */
.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
        "hero hero side"
        "small1 small2 side";
    gap: 4px;
    align-items: start;
}

.gallery-item {
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.item-hero   { grid-area: hero; }
.item-side   { grid-area: side; }
.item-small1 { grid-area: small1; }
.item-small2 { grid-area: small2; }

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item a {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover a {
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-item figcaption {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    color: var(--muted);
    font-family: var(--font-serif);
    text-align: center;
}

/* --- FOOTER --- */
.site-footer {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--muted);
    font-size: 0.8rem;
    margin-top: 2rem;
}

/* --- LIGHTBOX --- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(18, 18, 18, 0.98);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.visible {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.lightbox-caption {
    margin-top: 1.5rem;
    font-family: var(--font-serif);
    color: var(--text);
    font-size: 1.1rem;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--text);
    cursor: pointer;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: var(--muted);
}

.hidden {
    display: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .gallery-container {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "hero hero"
            "side side"
            "small1 small2";
    }
}

@media (max-width: 600px) {
    .site-header {
        padding: 3rem 1.5rem;
    }

    .brand-name {
        font-size: 2rem;
    }

    .main-nav {
        gap: 1.5rem;
    }

    .gallery-container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "hero"
            "side"
            "small1"
            "small2";
        padding: 1rem;
        gap: 4px;
    }
}
