@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins';
}

/* Estilo para o overlay que cobre toda a tela */
.welcome-overlay {
    display: none;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

:root {
    --primary-color: #1f5568;
    --secondary-color: #E9C46A;
    --accent-color: #F4A261;
    --background-color: #264653;
    --text-color: #FFFFFF;
    --buttom-color: #E1B92B;
}

body {
    background-color: #ececea;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Aplicando escala apenas ao conteúdo */
#site-content {
    transform: scale(0.8);
    transform-origin: top left;
    width: 125%;
    height: 125%;
}

/* Ajuste para telas médias */
@media screen and (max-width: 1200px) {
    #site-content {
        transform: scale(0.9);
        width: 111%;
        height: 111%;
    }
}

/* Ajuste para tablets */
@media screen and (max-width: 992px) {
    #site-content {
        transform: scale(1);
        width: 100%;
        height: 100%;
    }
}

/* Ajuste para celulares */
@media screen and (max-width: 768px) {
    #site-content {
        transform: scale(1);
        width: 100%;
        height: 100%;
    }
}

/* Cabeçalho - Início  */

.section-header {
    background-color: var(--primary-color);
    display: flex;
}

.logo-1 {
    display: flex;
    margin-left: 2px;
}

.logo {
    width: 50%;
    cursor: pointer;
}

/* Botão */
.hamburger {
    display: none;
    font-size: 2rem;
    /* Tamanho do ícone */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
    color: #eeeaea;
    /* Cor do ícone */
}

/* Efeito hover */
.hamburger:hover {
    background: rgba(255, 217, 0, 0.1);
}

/* Animação de clique */
.hamburger:active {
    transform: scale(0.9);
}

/* Transformação ao ativar o menu */
.hamburger.active {
    color: red;
    /* Muda a cor quando ativo */
}

/* Menu de navegação */
.comands ul {
    display: flex;
    list-style: none;
    margin: 45px;
    padding: 0;
    gap: 15px;
    justify-content: center;
    align-items: center;
    right: 0;
    margin-right: 60px;
}

.comands ul li {
    padding: 10px 15px;
    background: var(--background-color);
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.comands ul li:hover {
    background: red;
}

a {
    color: var(--text-color);
    text-decoration: none;
    margin: 20px;
    font-weight: bold;
}

a:hover {
    color: var(--secondary-color);
}

/* Quando o menu estiver ativo */
.comands.active {
    display: block;
}

.hamburger.active {
    color: red;
    /* Muda a cor do botão quando o menu estiver ativo */
}

/* Cabeçalho - Fim */

/* Sobre nós - Início */
.section-second {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.col-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 50%;
    margin: 20px;
    padding: 10px;
}

.hist-img {
    width: 60%;
    border-radius: 10%;
    cursor: pointer;
}


/* Sobre nós - Fim */

/* footer - Início */
.footer {
    background-color: #acaca6;
    color: black;
    padding: 30px;
    align-items: center;
    justify-content: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo .logo {
    height: 120px;
    margin-bottom: 0.5rem;
}

.footer-title {
    font-size: 1.2rem;
}

.footer-links h3, .footer-contact h3, .footer-social h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #14120c;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgb(7, 5, 5);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #f8d56b;
}

.footer-contact p {
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: rgb(12, 7, 7);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #f8d56b;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(29, 16, 16, 0.7);
}
/* Footer - Fim */

/* Responsividade */
@media (max-width: 1180px) {
    .section-header {
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .hist-img {
        width: 97%;
    }

    .logo {
        width: 70%;
        cursor: pointer;
    }

    .comands {
        display: none;
    }

    .title {
        font-size: 15px;
    }

    .hamburger {
        display: block;
    }

    .comands {
        display: none;
        /* Oculta o menu por padrão */
        position: absolute;
        top: 70px;
        align-items: center;
        justify-content: center;
        background: var(--primary-color);
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        /* Adiciona a camada superior */
    }

    .comands ul {
        display: flex;
        flex-direction: column;
        /* Exibir itens verticalmente */
        gap: 10px;
    }

    .carousel {
        width: 100%;
        height: 250px;
    }

    .carousel-inner {
        display: flex;
        transition: transform 0.5s ease-in-out;
        width: 100%;
        height: 100%;
        margin-right: 28px;
    }

    /* Botões de navegação */
    .prev,
    .next {
        margin-top: 10px;
    }

    .news {
        grid-template-columns: 1fr;
    }

    article img {
        height: 150px;
    }

    .title_news {
        font-size: 16px;
    }

    .btn-ler {
        padding: 6px 12px;
    }

    .footer-menu li {
        display: flex;
        margin-right: 5px;
        flex-direction: column;
    }

    h1 {
        font-size: 20px;
    }

    .section-second {
        display: flex;
        flex-direction: column;
    }

    .col-1 {
        width: 80%;
        margin: 10px;
        padding: 5px;
    }

}
