
body {
    background-image: url('img/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #f1f1f1;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

p {
    margin: 0;
}

nav {
    padding: 2rem;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
}

nav ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    gap: 1.2rem;
    max-width: fit-content;
    padding: 1rem 2rem;
    background-color: #f1f1f1;
    margin: 0 auto;
}

nav ul a {
    text-decoration: none;
    color: #000;
    font-size: 1.2rem;
    font-weight: 900;
    padding: 1rem;
    transition: 0.3s;

    &:hover {
        color: #da5514;
    }
}

main {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.section-padding {
    padding: 2rem;
}

.bg-light {
    background-color: #f1f1f1;
}

section:not(.hero)  {

    /* max-width: 1200px; */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    & h1 {
        font-weight: 900;
        margin: 0;
        font-size: 3rem;
        text-align: center;
    }

    & h5 {
        font-weight: 900;
        color: #da5514;
        margin: 0;
        text-align: center;
    }
}


.inner {
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.hero {
    background-color: transparent;
    height: 100vh;
    width: 100%;
    position: relative;

    &::before {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 100%;
        height: 10%;
        background-color: #f1f1f1; 
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 20%);
        transform: rotate(180deg);
    }
}

.card-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 2rem 0;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;

    & .card {
        background-color: #b0ba49;
        padding: 1rem;
        width: 25%;
        border-radius: 50%;
        aspect-ratio: 1/1;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        border: 0.3rem solid #b0ba49;
        transition: border-color 1s ease; 

        & h3 {
            font-weight: 900;
            margin: 0;
            font-size: 1.5rem;
        }

        & p {
            margin: 1rem 0;
        }
    }

    & .card:hover {
        border-color: #da5514;
    }
}


.project-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem 0;

    & .project {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        

        & img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        & .project-info {
            position: absolute;
            top: 0;
            padding: 2rem;
            text-align: center;
        }
    }
}



.btn {
    background-color: #da5514;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 900;
    font-size: 1.2rem;
    transition: 0.3s;
    cursor: pointer;

    &:hover {
        background-color: #b0ba49;
    }
}

footer {
    position: relative;
    background-color: transparent;
    height: 50vh;
    color: #000;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;



    & ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        list-style-type: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
        gap: 1.2rem;
    }
    
    & ul a {
        text-decoration: none;
        color: #000;
        font-size: 1.2rem;
        font-weight: 900;
        padding: 1rem;
        transition: 0.3s;

        &:hover {
            color: #da5514;
        }
    }

    &::before {
        content: '';
        position: absolute;
        top: -2px;
        left: 0;
        width: 100%;
        height: 20%;
        background-color: #f1f1f1; 
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 20%);
    }

    & .footer-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        max-width: 1200px;
        gap: 1rem;
        align-items: center;
        flex-wrap: wrap;
    }
}