@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;

}

.logo {
    font-size: 2em;
    background: linear-gradient(270deg, #FFFCEF, #F6D998, black, #ffe29f);
    background-size: 800% 800%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: flowGradient 8s ease infinite;
    user-select: none;
}

@keyframes flowGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


.navigation a{
    position: relative;
    font-size: 1.1em;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    margin-left: 20px;
    padding: 6px 15px;
    transition: .5s;
}

.navigation a:hover,
.navigation a.active {
    color: #333;
}

.navigation a span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 30px;
    z-index: -1;
    transform: scale(0);
    opacity: 0;
    transform: .5s;
}

.navigation a:hover span,
.navigation a:active span{
    transform: scale(1);
    opacity: 1;
}

.parallax {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: url(./assets/background.png) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#text {
    position: absolute;
    font-size: 5em;
    font-weight: 800;
    background: linear-gradient(270deg, #0f2027, #203a43, #2c5364, #1b283a, #111, #000);
    background-size: 600% 600%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    animation: flowGradient 10s ease infinite;
}

@keyframes flowGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


.parallax img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.parallax img#gate-left {
    position: fixed;
    transform: translateX(-282px);
}

.parallax img#gate-right {
    position: fixed;
    transform: translateX(305px);
}

.parallax img#grass {
    position: relative;
    margin-bottom: 10px;
}

.sec {
    position: relative;
    background: #020912;
    padding: 30px 100px ;
}

.sec h2 {
    font-size: 3em;
    color: #fff;
}

.sec p {
    font-size: 1em;
    color: #fff;
    font-weight: 300;
    text-align: justify;
}

@media (max-width: 1024px) {
    header {
        padding: 20px 50px;
    }

    .logo {
        font-size: 1.5em;
    }

    .navigation a {
        font-size: 1em;
        margin-left: 15px;
    }

    #text {
        font-size: 3em;
        text-align: center;
        padding: 0 20px;
    }

    .sec h2 {
        font-size: 2em;
    }

    .sec {
        padding: 20px 30px;
    }
}

@media (max-width: 600px) {
    .navigation {
        display: none; /* You can add a menu toggle for mobile later */
    }

    .logo {
        font-size: 1.2em;
    }

    #text {
        font-size: 2.2em;
    }

    .sec h2 {
        font-size: 1.8em;
    }

    .sec p {
        font-size: 0.9em;
    }
}
