/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    font-family: Arial, sans-serif;
}

/* ================= HEADER ================= */

.site-header {
    position: fixed;
    top: 16px;
    left: 16px;
    right: 16px;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    transition: opacity 0.4s ease, transform 0.4s ease; }

.site-header.fade {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

.logo {
    height: 150px;
    width: auto;
    display: block;
}

/* ICONS */
.icons {
    display: flex;
    gap: 20px;
}

.icon {
    height: 30px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.icon:hover {
    opacity: 1;
}

/* ================= CONTENT ================= */

.wrapper {
    padding: 12px;
    padding-top: 150px;
}

/* ================= GALLERY (MASONRY) ================= */

.gallery {
    column-count: 3;
    column-gap: 12px;
}

.gallery img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 12px;

    break-inside: avoid;

    transition: transform 0.35s ease, opacity 0.35s ease; }

@media (hover: hover) {
    .gallery img:hover {
        transform: scale(1.02);
        opacity: 0.92;
        cursor: pointer;
    }
}

/* ================= LIGHTBOX ================= */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
}

/* ================= TABLET ================= */

@media (max-width: 1024px) {
    .gallery {
        column-count: 2;
    }
}

/* ================= MOBIEL ================= */

@media (max-width: 768px) {

    .logo {
        height: 160px;
    }

    .icon {
        height: 28px;
    }

    .wrapper {
        padding-top: 175px;
    }

    .gallery {
        column-count: 1;
    }
}
