/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html, body {
    height: 100%; /* Garante que o body ocupe a altura total */
    margin: 0;
    padding: 0;
}

body {
    background-color: #d3d3d3;
    display: flex;
    flex-direction: column;
}

/* Estilização do menu superior */
header {
    background-color: black;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.menu-bar {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-around;
}

.logo {
    width: 50px;
}

nav {
    flex-grow: 1;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    padding: 0;
    margin: 0;
    align-items: center;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Hero section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    background-color: #d3d3d3;
    gap: 20px;
    flex: 1; /* Faz com que a seção de herói ocupe o espaço disponível */
}

.hero-text {
    max-width: 45%;
    text-align: right;
    margin-left: auto;
    margin-right: auto;
}

.hero-text h1 {
    font-size: 28px;
    font-weight: bold;
}

.hero-text p {
    font-size: 16px;
    margin-top: 10px;
    text-align: justify;
}

.hero-image {
    max-width: 45%;
    margin-left: auto;
    margin-right: auto;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

button {
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    background-color: black;
    color: white;
    margin-top: 10px;
    border-radius: 5px;
}

/* Rodapé */
footer {
    background-color: black;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: auto; /* Garante que o rodapé fique no final da página */
}

.footer-section {
    flex: 1 1 300px;
    margin: 10px;
}

.footer-section h2 {
    font-weight: bold;
    text-align: center;
}

.footer-section p {
    text-align: center;
    margin: 5px 0;
}

.footer-section a {
    color: white;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
    .menu-bar {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        padding-top: 10px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        justify-content: center;
        margin-right: 0;
        flex: none;
    }

    .hero-text {
        margin-left: 10px;
        margin-right: 10px;
        text-align: justify;
    }

    .hero-image img {
        width: 100px;
        height: 100px;
        border-radius: 10px;
    }

    footer {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        flex: none;
        width: 100%;
    }
}
