@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 */

/* Carrocel - Início */
.eventos {
    padding: 1px 2px;
    text-align: center;
}

.eventos-lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2px;
    height: auto;
}

.evento {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    justify-content: center;
}

.evento:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.evento h3 {
    font-size: 1.8rem;
    color: #3b3b3b;
    margin-bottom: 10px;
    font-family: 'EB Garamond', serif;
}

.evento p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
}

.evento .btn-evento {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.evento .btn-evento:hover {
    background-color: #0056b3;
}

.carousel {
    position: relative;
    width: 80%;
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1px;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
    opacity: 1;
    transform: scale(1);
    transition: none;
}

.carousel-item img {
    border-radius: 10px;
    object-fit: contain; /* Ajusta a imagem para caber dentro do contêiner sem distorcer */
    width: 100%; /* Ajuste a largura para 100% para uma adaptação melhor */
    height: 640px; /* Altura fixa para desktop */
    object-position: center; /* Garante que a imagem fique centralizada */
}

/* Controles do carrossel */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    cursor: pointer;
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

@media (max-width: 768px) {
    .carousel {
        width: 90%; /* O carrossel ocupa mais espaço em telas menores */
    }

    .carousel-item img {
        height: 400px; /* Diminui a altura das imagens para telas médias */
        object-fit: cover; /* Ajuste de imagem para cobrir o espaço */
    }
}

@media (max-width: 480px) {
    .carousel {
        width: 100%; /* O carrossel ocupa toda a largura da tela em dispositivos pequenos */
    }

    .carousel-item img {
        height: 250px; /* Diminui a altura das imagens para telas pequenas */
        object-fit: cover; /* Ajuste para que a imagem cubra o espaço sem distorcer */
    }
}

/* Carrocel - Fim */

/* Agenda e detaques da Semana - Início */

.section-second {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.section-highlights {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    /* Centraliza no meio da página */
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Grid de destaques*/
.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Responsivo */
    gap: 20px;
    /* Espaçamento entre os itens */
}

/* Agenda */
article {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    padding: 6px;
}

article:hover {
    transform: scale(1.02);
}

article p {
    font-size: 14px;
    color: #555;
    margin: 10px;
}

.back-to-top {
    margin-top: 20px;
}

.back-to-top button {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.back-to-top button:hover {
    background-color: #0056b3;
}

/* Agenda e detaques da Semana - fim */

/* Sobre a Intituição - Início */

.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;
}

.text-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: justify;
}

.text-content p {
    color: #333;
    line-height: 1.6;
}

/* Nossos fundadores - Fim */

.cards-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    text-align: center;
    padding: 15px;
    transition: transform 0.3s;
}

.card img {
    width: 100%;
    border-radius: 8px;
}

.card h3 {
    margin: 10px 0;
    color: #333;
}

.card p {
    color: #666;
}

.card:hover {
    transform: scale(1.05);
}

.text-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: justify;
}
/* Nossos fundadores - Fim */


/* Galeria - Início */
.galeria-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 30px;
    flex-wrap: wrap;
}

.imagem-slider {
    max-width: 90%;
    width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    object-fit: contain;
    transition: opacity 0.5s ease;
}

.navegacao-btn {
    background-color: #1f5568;
    color: white;
    border: none;
    padding: 10px 18px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.navegacao-btn:hover {
    background-color: #144150;
}

/* Galeria - 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;
    }

}
