/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #000000;
    color: #ffffff;
}

/* =========================================
   BACKGROUND INDEX
========================================= */

.welcome-page {
    position: relative;
    width: 100%;
    min-height: 100vh;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #000;
}


/* FOTO + GRADASI */

.welcome-page::before {
    content: "";

    position: absolute;
    inset: 0;

   background-image:
    linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.03) 0%,
        rgba(0, 0, 0, 0.05) 35%,
        rgba(0, 0, 0, 0.12) 55%,
        rgba(0, 0, 0, 0.38) 75%,
        rgba(0, 0, 0, 0.78) 91%,
        #000000 100%
    ),
    url("../urban.jpg");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    z-index: 0;
}


/* OVERLAY HALUS */

.welcome-page::after {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.08);

    z-index: 1;
}


/* =========================================
   CONTENT
========================================= */

.welcome-content {
    position: relative;
    z-index: 2;

    width: 100%;
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 30px 20px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 600px) {

    .welcome-page::before {
        background-position: center center;
    }

}


/* =========================================
   WELCOME PAGE
========================================= */

.welcome-page {
    position: relative;

    width: 100%;
    min-height: 100vh;
    min-height: 100svh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}


/* =========================================
   BACKGROUND IMAGE
========================================= */

.background-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background-image: url('../images/welcome.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    transform: scale(1.02);

    animation: backgroundZoom 8s ease-out forwards;
}


/* =========================================
   DARK OVERLAY
========================================= */

.overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.60) 45%,
            rgba(0, 0, 0, 0.30) 100%
        );

    z-index: 1;
}


/* =========================================
   MAIN CONTENT
========================================= */

.welcome-content {
    position: relative;
    z-index: 2;

    width: min(90%, 1200px);

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 40px 0;
}


/* =========================================
   BRAND
========================================= */

.brand {
    margin-bottom: clamp(70px, 10vh, 120px);

    font-size: clamp(16px, 1.5vw, 21px);
    font-weight: 700;

    letter-spacing: clamp(3px, 0.4vw, 5px);

    color: #ffffff;

    opacity: 0;

    animation: fadeDown 1s ease forwards;
}

.brand span {
    color: #999999;
}


/* =========================================
   WELCOME TEXT
========================================= */

.welcome-text {
    opacity: 0;

    animation: fadeUp 1.1s ease 0.2s forwards;
}

.small-title {
    margin-bottom: clamp(10px, 1.5vw, 16px);

    font-size: clamp(9px, 1vw, 14px);
    font-weight: 500;

    letter-spacing: clamp(4px, 0.6vw, 8px);

    color: #d0d0d0;
}

.welcome-text h1 {
    font-size: clamp(48px, 9vw, 125px);

    line-height: 0.9;

    font-weight: 800;

    letter-spacing: clamp(-4px, -0.4vw, -2px);

    color: #ffffff;
}

.welcome-text h1 span {
    color: #999999;
}

.tagline {
    margin-top: clamp(15px, 2vw, 25px);

    font-size: clamp(10px, 1.2vw, 17px);
    font-weight: 400;

    letter-spacing: clamp(2px, 0.4vw, 5px);

    color: #d5d5d5;
}


/* =========================================
   OPEN BUTTON
========================================= */

.open-button {
    margin-top: clamp(30px, 4vw, 50px);

    min-width: clamp(155px, 15vw, 200px);
    height: clamp(50px, 5vw, 60px);

    padding: 0 clamp(20px, 2.5vw, 30px);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: clamp(12px, 1.5vw, 20px);

    border: 1px solid #ffffff;
    border-radius: 2px;

    background: #ffffff;

    color: #111111;

    text-decoration: none;

    font-size: clamp(10px, 1vw, 14px);
    font-weight: 700;

    letter-spacing: clamp(2px, 0.3vw, 4px);

    opacity: 0;

    animation: fadeUp 1.3s ease 0.4s forwards;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.open-button .arrow {
    font-size: clamp(16px, 1.5vw, 21px);

    transition: transform 0.3s ease;
}

.open-button:hover {
    background: transparent;

    color: #ffffff;

    transform: translateY(-4px);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.3);
}

.open-button:hover .arrow {
    transform: translateX(6px);
}

.open-button:active {
    transform: translateY(-1px);
}


/* =========================================
   BOTTOM TEXT
========================================= */

.bottom-text {
    position: absolute;
    z-index: 2;

    left: 50%;
    bottom: clamp(18px, 3vh, 32px);

    transform: translateX(-50%);

    width: 90%;

    text-align: center;

    font-size: clamp(6px, 0.65vw, 9px);
    font-weight: 500;

    letter-spacing: clamp(2px, 0.4vw, 5px);

    color: rgba(255, 255, 255, 0.6);

    white-space: nowrap;
}


/* =========================================
   LARGE DESKTOP
========================================= */

@media (min-width: 1440px) {

    .welcome-content {
        width: min(88%, 1400px);
    }

    .welcome-text h1 {
        font-size: 125px;
    }

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

    .welcome-content {
        width: 88%;
    }

    .background-image {
        background-position: center center;
    }

}


/* =========================================
   MOBILE & TABLET
========================================= */

@media (max-width: 768px) {

    .welcome-page {
        align-items: center;
    }

    .welcome-content {
        width: 90%;

        align-items: center;

        text-align: center;
    }

    .brand {
        margin-bottom: 70px;
    }

    .overlay {
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.60) 0%,
                rgba(0, 0, 0, 0.55) 45%,
                rgba(0, 0, 0, 0.82) 100%
            );
    }

    .welcome-text h1 {
        font-size: clamp(48px, 13vw, 85px);
    }

    .open-button {
        margin-top: 35px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 480px) {

    .welcome-page {
        min-height: 100svh;
    }

    .welcome-content {
        width: 88%;

        padding: 25px 0;
    }

    .brand {
        margin-bottom: 65px;

        font-size: 15px;

        letter-spacing: 3px;
    }

    .small-title {
        font-size: 9px;

        letter-spacing: 4px;
    }

    .welcome-text h1 {
        font-size: 52px;

        letter-spacing: -2px;
    }

    .tagline {
        margin-top: 14px;

        font-size: 9px;

        letter-spacing: 2px;
    }

    .open-button {
        min-width: 155px;
        height: 50px;

        margin-top: 30px;

        font-size: 10px;

        letter-spacing: 2px;
    }

    .bottom-text {
        bottom: 18px;

        font-size: 6px;

        letter-spacing: 2px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 360px) {

    .brand {
        margin-bottom: 50px;

        font-size: 13px;
    }

    .welcome-text h1 {
        font-size: 44px;
    }

    .small-title {
        font-size: 8px;
    }

    .tagline {
        font-size: 8px;
    }

    .open-button {
        min-width: 140px;
        height: 46px;

        margin-top: 25px;
    }

    .bottom-text {
        font-size: 5px;
    }

}


/* =========================================
   ANIMATION
========================================= */

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes fadeDown {

    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes backgroundZoom {

    from {
        transform: scale(1.02);
    }

    to {
        transform: scale(1.08);
    }

}