@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 {
    background: #f4f4f4;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    padding: 30px 100px;
    justify-content: flex-start;
    align-items: center;
    z-index: 1000;
    /* background-color: #6ef82e; */
    /* Transparent background: small opacity */
    /* background-color: rgba(96, 236, 255, 0.2); */
}

footer {
    clear: both;
    position: relative;
    width: 100%;
}


.logo {
    font-size: 2em;
    font-weight: 600;
    margin-right: 27%;
    color: #53db38;
    text-transform: uppercase;
    text-decoration: none;
    pointer-events: none;
}

.navigation a {
    margin: 0 15px;
    padding: 8px 15px;
    text-decoration: none;
    color: #6ef82e;
    transition: all 0.3s ease;
    font-weight: 600;
    border-radius: 20px;
}

.navigation a:hover, .navigation a.active {
    color: #9bf3ff;
    background: #5dbb32;
}

.start-hidden {
    opacity: 0;
}

/* Hero/Parallax section */

.parallax {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#text {
    position: absolute;
    color: #fff;
    font-size: 5em;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 0 0 20px #000;
}

.parallax img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    object-fit: cover;
    filter: brightness(50%);
}

/* Subsection for the parallax section - blinking text */

.cursor {
    animation: blink 1s infinite; /* So simple but effective */
}

@keyframes blink {
    50% { opacity: 0; } /* Holy moly, it's that easy */
}


/* Sections */

.sec {
    position: relative;
    padding: 100px 100px;
    background: #081a04;
}

.sec h2 {
    font-size: 3.5em;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #ffffff;
}

.sec p {
    font-size: 1.2em;
    color: #fff;
    line-height: 1.6em;
    margin-bottom: 20px;
}

/* Footer section is basically the same as another section */

#footer {
    position: sticky;
    padding: 100px 100px;
    background: #081a04;
}

#footer p {
    text-align: center;
    font-size: 1.2em;
    color: #fff;
    line-height: 1.6em;
    margin-bottom: 20px;
}


/* Scrollbar styles - note they dont work lol */

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}


/* Mobile considerations */

/* Hamburger menu styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger-menu .bar {
    height: 3px;
    width: 25px;
    background-color: #53db38;
    margin: 4px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .header {
        padding: 10px 20px; /* Less padding on mobile */
        justify-content: space-between;
    }

    .hamburger-menu {
        display: flex;
    }

    .navigation {
        display: none; /* Hidden by default, shown when the hamburger is clicked */
        flex-direction: column;
        position: absolute;
        top: 100%; /* Position it below the header */
        right: 0;
        background: rgba(0, 0, 0, 0.9); /* Probably better */
        width: 100%; /* Take up full width */
        z-index: 999; /* Ensure it's on top of other content */
    }

    .navigation a {
        margin: 10px 0; /* Adjust margin for mobile */
        display: block; /* Make them stack vertically */
        width: 100%; /* Full width to match the parent */
        padding: 15px;
        text-align: center; /* Center the text */
        border-bottom: 1px solid #6ef82e; /* Separators between items */
        /* Apply the same hover and active styles */
        transition: all 0.3s ease;
        font-weight: 600;
        border-radius: 0; /* This makes it look better */
    }

    .navigation a:hover, .navigation a.active {
        color: #9bf3ff;
        background: #5dbb32; /* Same as desktop for continuity */
    }

    /* may want to reset margin for mobile */
    .navigation a:not(:last-child) {
        margin-bottom: 0; /* Remove margin between buttons */
    }
    .sec {
        padding: 20px; /* Less padding on mobile */
    }

    /* Scale down the hero text for mobile */
    #text {
        font-size: 2em; /* Smaller font size for mobile */
    }

    /* Make sure images don't exceed the container width */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Adjustments for navigation and logo */
    .logo {
        margin-right: 0; /* Reset margin for mobile */
        font-size: 1.5em; /* Smaller logo on mobile */
    }
}
