* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    background: #0b0b0b;
    color: #111;

    overflow-x: hidden;
}

.gallery {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;

    z-index: 1;

    pointer-events: none;

    overflow: hidden;
}

.image-container {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    transition:
        opacity 0.9s ease,
        transform 1.2s ease;

    transform: scale(1.04);
}

.image-container.show {
    opacity: 1;

    transform: scale(1);
}

.image-container img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.image-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.05) 45%,
            rgba(0, 0, 0, 0.7)
        );
}

.gallery-header {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    padding: 35px 45px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    z-index: 10;
}

.logo {
    color: white;

    font-size: 18px;

    font-weight: 700;

    letter-spacing: 8px;
}

.menu-icon {
    width: 35px;

    display: flex;
    flex-direction: column;

    gap: 7px;
}

.menu-icon span {
    width: 100%;
    height: 2px;

    background: white;

    display: block;
}

.menu-icon span:nth-child(2) {
    width: 70%;

    margin-left: auto;
}

.image-number {
    position: absolute;

    right: 55px;
    bottom: 50px;

    color: white;

    font-size: 48px;

    font-weight: 300;

    letter-spacing: 3px;

    z-index: 5;
}

.image-number::after {
    content: "";

    display: block;

    width: 35px;
    height: 1px;

    margin-top: 10px;

    background: white;
}

.scroll-indicator {
    position: absolute;

    left: 35px;
    top: 50%;

    transform: translateY(-50%);

    display: flex;
    flex-direction: column;

    gap: 14px;

    z-index: 20;
}

.scroll-indicator span {
    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.35);

    transition: 0.3s ease;
}

.scroll-indicator span.active {
    background: white;

    transform: scale(1.3);
}

.scroll-triggers {
    position: relative;

    z-index: 2;
}

.trigger {
    height: 100vh;

    pointer-events: none;
}

.after-gallery {
    position: relative;

    z-index: 5;

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 100px 25px;

    background:
        radial-gradient(
            circle at 50% 20%,
            #ffffff,
            #f4f2ed 70%
        );

    text-align: center;
}

.about-content {
    width: min(850px, 100%);

    margin: auto;
}

.eyebrow {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    margin-bottom: 25px;

    color: #a07c4b;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 5px;
}

.eyebrow::before,
.eyebrow::after {
    content: "";

    width: 45px;
    height: 1px;

    background: #a07c4b;
}

.after-gallery h1 {
    margin-bottom: 30px;

    color: #111;

    font-size: clamp(
        3.5rem,
        7vw,
        7rem
    );

    line-height: 0.95;

    font-weight: 800;

    letter-spacing: -4px;
}

.after-gallery h1 span {
    color: #a07c4b;
}

.intro {
    max-width: 700px;

    margin: 0 auto 20px;

    color: #3d3d3d;

    font-size: clamp(
        1.5rem,
        2.5vw,
        2rem
    );

    line-height: 1.6;
}

.description {
    max-width: 600px;

    margin: 0 auto 45px;

    color: #777;

    font-size: 15px;

    line-height: 1.8;
}

.home-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 17px 28px;

    border-radius: 10px;

    background: #111;

    color: white;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.15);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.home-button span {
    font-size: 18px;

    transition:
        transform 0.3s ease;
}

.home-button:hover {
    background: #a07c4b;

    transform: translateY(-4px);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2);
}

.home-button:hover span {
    transform: translateX(-4px);
}

@media (max-width: 700px) {

    .gallery-header {
        padding: 25px;
    }

    .logo {
        font-size: 15px;

        letter-spacing: 6px;
    }

    .image-number {
        right: 25px;
        bottom: 35px;

        font-size: 35px;
    }

    .scroll-indicator {
        left: 20px;

        gap: 10px;
    }

    .scroll-indicator span {
        width: 8px;
        height: 8px;
    }

    .after-gallery {
        padding: 80px 25px;
    }

    .after-gallery h1 {
        letter-spacing: -2px;
    }

    .eyebrow {
        font-size: 10px;

        letter-spacing: 3px;
    }

    .eyebrow::before,
    .eyebrow::after {
        width: 25px;
    }

    .intro {
        font-size: 1.5rem;
    }

    .description {
        font-size: 14px;
    }

    .home-button {
        width: 100%;

        max-width: 300px;
    }
}