* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

:root {
    --text-color: #fff;
    --accent-color: #efb810;
    --black: #000;
    --transform: #faeb21;
}

body {
    height: 100vh;
    background-color: var(--black);
    background-image: url('/assets/matthew-henry-yETqkLnhsUI-unsplash.jpg');
    background-size: cover;
    background-position: center;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1rem;

    &:hover {
        color: var(--accent-color);
        transition: 0.3s;
    }
}


header {
    position: relative;
    padding: 0 2rem;
}

.navbar {
    width: 100%;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo a {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar .nav-links {
    display: flex;
    gap: 2rem;
}

.navbar .contato-btn {
    background-color: var(--accent-color);
    color: var(--black);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    border: none;
    transition: scale 0.2s ease;
    gap: 0.5rem;
    display: flex;

    &:hover {
        scale: 1.1;
        box-shadow: var(--transform) 0px 0px 8px;
    }

    &:active {
        scale: 0.9;
    }
}

.navbar .bar-btn {
    cursor: pointer;
    color: var(--text-color);
    font-size: 2rem;
    transition: 0.3s;
    display: none;

    &:hover {
        color: var(--accent-color);
        transform: scale(1.1);
    }
}

/* Hero section */

.divhero {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: calc(100vh - 80px);
}

section.hero1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-color);
    background-color: rgba(0, 0, 0, 0.432);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 2rem;
    position: relative;
}

section.hero2,
section.hero3,
section.hero4 {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-color);
    background-color: rgba(0, 0, 0, 0.432);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 2rem;
    position: relative;
}

.hero1 h1,
.hero2 h1,
.hero3 h1,
.hero4 h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.hero1 p,
.hero2 p,
.hero3 p,
.hero4 p {
    font-size: 1.3rem;
    line-height: 1.8rem;
}

.divhero .btn-prox {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    border: none;
}

.btn-prox a {
    background-color: var(--accent-color);
    color: var(--black);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: scale 0.2s ease;

    &:hover {
        scale: 1.1;
    }

    &:active {
        scale: 0.9;
    }

}

/* Footer Styles */
section#footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-color);
    font-size: 0.9rem;
}

footer {
    padding: 1rem;
    position: absolute;
    bottom: 0;
    width: 100%;
}


/* Dropdown Styles */
.dropdown {
    display: none;
    position: absolute;
    top: 80px;
    right: 2rem;
    width: 300px;
    height: 0;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    overflow: hidden;
    transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.dropdown.open {
    height: 211px;
}

.dropdown li {
    display: flex;
    padding: 0.7rem;
    align-items: center;
    justify-content: center;
    transition: scale 0.2s ease;
    cursor: pointer;

    &:hover {
        scale: 1.1;
        background-color: var(--black);
    }

    &:active {
        scale: 1.0;
    }
}

.dropdown .contato-btn {
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
    display: flex;
}



/* Responsive Styles */
@media(max-width: 1080px) {

    .navbar .nav-links,
    .navbar .contato-btn {
        display: none;
    }

    .navbar .bar-btn {
        display: block;
    }

    .dropdown {
        display: block;
    }
}

@media(max-width: 576px) {
    .dropdown {
        left: 2rem;
        width: unset;
    }
}