/* Root Variables */
:root {
    --background: #000;
    --foreground: #fff;
    --glass-bg: rgba(0, 0, 0, 0.5);
    --button-bg: rgba(160, 141, 138, 0.65);
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    :root {
        --background: #0a0a0a;
        --foreground: #ededed;
    }
}

/* Global Styles */
html, body {
    max-width: 100vw;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    position: relative;
    box-sizing: border-box;
}

body {
    color: var(--foreground);
    background: var(--background);
    font-family: 'Fira Sans', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

li {
    list-style-type: none;
}

* {
    box-sizing: border-box;
}

/* Utility Classes */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    box-shadow: -2px 5px 10px rgba(0, 0, 0, 0.5);
}

/* Text stylings */
.bold {
    font-weight: bolder;
    font-size: large;
}

/* Navigation Bar */
.nav-bar {
    position: fixed;
    width: 100%;
    left: 0;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    background: #000;
    color: #fff;
    height: 5rem;
}

.nav-bar__logo {
    z-index: 9;
    width: 75px;
    height: 75px;
    margin-left: 0.5rem;
    margin-top: 1rem;
    cursor: pointer;
}

.nav-bar__links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease-in-out;
}

.nav-bar__link {
    margin: 0 1.5rem;
    font-size: 18px;
    padding: 1rem;
    border-radius: 20px;
    transition: background-color 0.3s ease-in-out;
    text-decoration: none;
    color: #fff;
}

.nav-bar__link:hover {
    background: var(--button-bg);
}

.nav-bar__buttons {
    display: flex;
    align-items: center;
}

.nav-bar__menu-toggle {
    z-index: 9;
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-bar__menu-icon {
    width: 24px;
    height: 24px;
}

.scroll-section {
    transform: translateY(-5rem);
}

/* Button Styles */
.button {
    background: var(--button-bg);
    backdrop-filter: blur(10px);
    border: none;
    font-family: 'Sansation', sans-serif;
    color: #fff;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button:hover {
    transform: translateY(-5%) scale(1.1);
}

.button--small {
    height: 3rem;
    width: 10rem;
    font-size: 1.25rem;
}

/* Main Content */
.main {
    padding-top: 5rem;
    width: 100%;
}

/* Hero Section */
.hero {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-evenly;
    padding: 2rem;
    gap: 2rem;
    background: url('assets/yellow-dump.avif') no-repeat center/cover, #000;
}

.hero__header {
    width: 45%;
    height: 30rem;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    color: #fff;
}

.hero__logo-container {
    width: 20rem;
    height: 20rem;
}

.hero__logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__text {
    position: relative;
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.hero__flag-container {
    position: absolute;
    right: -1.5rem;
    top: 0;
    width: 1.25rem;
    height: 1rem;
}

.hero__flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__cta {
    width: 45%;
    height: 30rem;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: space-evenly;
    padding: 1rem 0;
    color: #fff;
    position: relative;
}

.hero__features {
    margin: 0;
    padding: 0;
}

.hero__feature {
    padding: 1rem;
    text-align: center;
    font-size: 1.5rem;
}

.hero__cta-button {
    width: 65%;
    height: 6rem;
    font-size: 1.75rem;
    max-width: 25rem;
}

.hero__image {
    display: none;
}

.hero__overlay {
    display: none;
}

/* Services Title Section */
.services-title {
    background: #000;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: space-evenly;
    color: #fff;
    gap: 1.5rem;
    padding: 2rem;
}

.services-title__heading {
    font-family: 'Sansation', sans-serif;
    font-size: 2rem;
    text-align: center;
    margin: 0;
}

.services-title__description {
    font-size: 1.5rem;
    width: 40%;
    text-align: center;
    margin: 0;
}

/* Services Section */
.services {
    display: flex;
    flex-flow: column nowrap;
    width: 100%;
}

.service-card {
    position: relative;
    padding: 10rem 0;
    text-align: center;
    color: #fff;
    text-decoration: none;
    display: block;
    z-index: 1;
    border: none;
    cursor: pointer;
}

.service-card__title {
    font-family: 'Sansation', sans-serif;
    font-size: 1.5rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

.service-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.service-card__overlay {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: transform 0.5s ease-in-out;
}

.service-card:hover .service-card__overlay {
    transform: scale(0.75);
}

/* Final CTA Section */
.final-cta {
    background: #000;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    color: #fff;
    gap: 1.5rem;
    padding: 2rem;
}

.final-cta__heading {
    font-family: 'Sansation', sans-serif;
    font-size: 2rem;
    text-align: center;
    margin: 0;
}

.final-cta__button {
    width: 65%;
    height: 6rem;
    font-size: 1.75rem;
    max-width: 25rem;
}

/* Manifesto Section */
.manifesto {
    position: relative;
    width: 100%;
    color: #fff;
}

.manifesto__list {
    background: var(--button-bg);
    width: 80%;
    margin: 0 auto;
    padding: 2rem 0;
    list-style: none;
}

.manifesto__item {
    padding: 1rem 2rem;
    text-align: center;
    font-size: 1.75rem;
}

.manifesto__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.manifesto__overlay {
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Footer */
.footer {
    background: #000;
    color: #fff;
    padding: 2rem 0 1rem;
    text-align: center;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 3rem;
    padding: 3rem 0 0;
    list-style: none;
    margin: 0 auto;
    max-width: 600px;
}

.footer__links > li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__link {
    font-size: 1rem;
    text-decoration: none;
    color: #fff;
}

.footer__link:hover {
    color: rgba(160, 141, 138, 1);
}

.footer__copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.footer__copyright-icon {
    width: 12px;
    height: 12px;
}

@keyframes menu-open {
    0% {
        color: #000;
        top: -10rem;
        right: 0;
    }

    50% {
        right: 0;
        top: 5rem;
    }

    100% {
        color: #fff;
        top: 5rem;
        right: 0;
    }
}

@keyframes menu-close {
    to {
        top: -10rem;
        right: 0;
    }
}


/* Responsive Design */
@media (max-width: 800px), (max-height: 650px) {
    .nav-bar__links {
        flex-flow: column nowrap;
        position: absolute;
        top: -15rem;
        right: 0;
        width: auto;
        background: rgba(0, 0, 0, 0.5);
        animation-name: menu-close;
        animation-duration: 0.4s;
        animation-delay: 0s;
        animation-timing-function: ease-in-out;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
    }

    .nav-bar__buttons {
        width: 80%;
        justify-content: end;
    }

    .nav-bar__links--active {
        display: flex;
        animation-name: menu-open;
        animation-duration: 0.4s;
        animation-delay: 0s;
        animation-timing-function: ease-in-out;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
        gap: 3rem;
        padding: 2rem 0;
        background-color: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
    }

    .nav-bar__menu-toggle {
        display: block;
        margin-right: 0.5rem;
    }

    .hero {
        flex-flow: column nowrap;
        height: auto;
        padding: 0;
        background-position: 0 -15rem;
    }

    .hero__header {
        width: 90%;
        margin-top: 2rem;
        padding-bottom: 2rem;
    }

    .hero__cta {
        width: 100%;
        padding: 2rem;
    }

    .hero__feature {
        font-size: 1.75rem;
    }

    .hero__image {
        display: block;
        position: absolute;
        z-index: -1;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
    }

    .hero__overlay {
        display: block;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
    }

    .services-title__description {
        width: 90%;
    }

    .manifesto__list {
        width: 100%;
    }
}

@media (max-height: 700px) and (min-height: 650px) {
    .hero__feature {
        font-size: 1.25rem;
    }
}

@media screen and (max-width: 400px) {
    .hero__cta {
        padding: 0;
    }
}
