@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body,
html {
    font-family: "Bebas Neue", sans-serif;
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}

/* Seção com vídeo de fundo e parallax */
.parallax-video {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    object-fit: cover;
    z-index: -2;
    transform: translateY(0);
    transition: transform 0.2s ease-out;
}

/* Camada escura para contraste */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.80);
    z-index: -1;
}

/* Conteúdo sobre o vídeo */
.conteudo-hero {
    z-index: 2;
    padding: 0 20px;
}

.titulo-baruk {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeDown 1.2s ease-in-out;
}

.lema-baruk {
    font-size: 1.3rem;
    margin: 15px 0 30px;
    font-weight: 400;
    animation: fadeUp 1.4s ease-in-out;
}

.botao-hero {
    background: #b21f24;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.botao-hero:hover {
    background: #d42b31;
}

/* Animações suaves */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .titulo-baruk {
        font-size: 2rem;
    }

    .lema-baruk {
        font-size: 1.1rem;
    }
}



header {
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding: 10px;
    align-items: center;
    background: transparent;
    position: fixed;
    z-index: 3;
    transition: all 0.4s ease;
}

header.scrolled {
    background: rgba(0, 0, 0, 0.9);
    padding: 5px 10px 5px 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.container-cabecalho {
    width: 900px;
    max-width: 100%;
    display: flex;
    margin-top: 3%;
    justify-content: space-between;
    align-items: center;
    z-index: 900;
}

.logo{
    width: 100px;
    height: auto;
}

.logo img {
    width: 100px;
    height: auto;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.menu li {
    display: inline-block;
    font-size: 18px;

    a {
        color: #EEE;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s ease;
    }

    a:hover {
        border-bottom: 2px solid #a80a0a;
        transition: 0.3s ease;
    }
}

/* Link ativo (scrollspy) */
#menu a.active {
  border-bottom: 2px solid #a80a0a;
  transition: 0.3s ease;
}


/* ====== BOTÃO TOGGLE ====== */
.toggle {
    width: 30px;
    height: 25px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    max-width: 100%;
}

.toggle span {
    display: block;
    height: 3px;
    background: #FFF;
    border-radius: 3px;
    transition: 0.4s;
}

@media(max-width: 768px) {

    .logo {
        max-width: 50%;
    }

   

    .container-cabecalho {
        width: 100%;
        display: flex;
        margin-top: 3%;
        align-items: center;
        text-align: center;
        padding: 0px 8px 0px 8px;
    }

    .menu {
        position: absolute;
        top: 75px;
        right: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        text-align: center;
        display: none;
        flex-direction: column;
        padding: 20px 0;
    }

    .menu ul {
        flex-direction: column;
        gap: 20px;
    }

    .menu.mostrar {
        display: flex;
    }

    .toggle {
        display: flex;

    }

    /*animação do botao toggle*/
    .toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(10.5px, 5px);
    }

    .toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(10.5px, -5px);
    }
}


.btn-1 {
    display: inline-block;
    margin: 20px 5px;
    padding: 12px 28px;
    border: 2px solid #a80a0a;
    background: #a80a0a;
    border-radius: 30px;
    color: #EEE;
    text-decoration: none;
    transition: 0.3s;
    gap: 5px;
}

.btn-1:hover {
    background: #d10d0d;
    color: #EEE;
    transition: 0.3s;
}

.btn-2 {
    display: inline-block;
    margin: 20px 5px;
    padding: 12px 28px;
    border: 2px solid #a80a0a;
    border-radius: 30px;
    color: #EEE;
    text-decoration: none;
    transition: 0.3s;

}

.btn-2:hover {
    background: #a80a0a;
    color: #EEE;
    transition: 0.3s;
}

.sobre-section {
    width: 100%;
    height: auto;
    background: #EEE;
    color: #111;
    padding: 80px 20px 20px 20px;

}

.section-title {
    width: 900px;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
}

.sobre-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #d32f2f;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 40px 20px 20px 20px;
    width: auto;
    text-align: center;
}

.sobre-section article {
    width: 900px;
    height: auto;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 100%;
}

.sobre-section article div {
    width: 50%;
    height: auto;
    gap: 10px;
    max-width: 100%;
}

.sobre-section article div img {
    width: 400px;
    height: auto;
    padding: 15px;
    background: #FFF;
    box-shadow: 4px 3px 8px #111;
    max-width: 100%;
    min-width: 280px;
}

.sobre-section p {
    line-height: 1.5;
    font-size: 1rem;
    text-align: justify;
    max-width: 100%;
}

.sobre-section span {
    color: #d32f2f;
}

.sobre-section em {
    color: #757575;
    font-style: italic;
}

.valores h3 {
    margin: 40px 0 20px;
    color: #d32f2f;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
}

.versiculo {
    margin-top: 30px;
    font-style: italic;
    color: #757575;
    text-align: center;
}

.versiculo p {
    margin: 0 auto;
    text-align: center;
}

.versiculo cite {
    display: block;
    margin-top: 10px;
    color: #757575;
    font-size: 0.9rem;
}

@media(max-width: 768px) {
    .sobre-section article {
        width: 100%;
        height: auto;
        margin: 0 auto;
        display: flex;
        gap: 10px;
        flex-direction: column;
        justify-content: center;
        ruby-align: center;
        flex-wrap: wrap;
        max-width: 100%;
    }

    .sobre-section article div {
        width: 100%;
        height: auto;
        gap: 10px;
    }
}

.professores {
  padding: 80px 20px;
  background: #111;
  color: #fff;
  text-align: center;
}

.professores h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.professores .subtitulo {
  max-width: 700px;
  margin: 0 auto 50px;
  color: #ccc;
}

.cards-professores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.card-professor {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-professor:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.card-professor img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #a80a0a;
  margin-bottom: 15px;
}

.card-professor h3 {
  font-size: 22px;
  margin-bottom: 5px;
}

.card-professor span {
  display: block;
  font-size: 15px;
  color: #a80a0a;
  margin-bottom: 15px;
  font-weight: 200;
}

.card-professor p {
  font-size: 15px;
  line-height: 1.6;
  color: #ddd;
}


.horarios {
    background: #0e0e0e;
    color: #fff;
    padding: 80px 20px 20px 20px;
    text-align: center;
    max-width: 100%;
}

.horarios .container-agenda {
    max-width: 900px;
    margin: 0 auto;
}

.horarios h2 {
    width: auto;
    height: auto;
    text-align: center;
    max-width: 100%;
    color: #d32f2f;
    font-size: 2rem;
    margin: 10px auto 10 auto;
    padding: 40px 0px 0px 0px;
}

.horarios .subtitulo {
    color: #ccc;
    margin: 0px auto 40px auto;
    font-size: 1rem;
    width: auto;
    height: auto;
    text-align: center;
}

.tabela-horarios {
    overflow-x: auto;
}

.tabela-horarios table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.tabela-horarios th,
.tabela-horarios td {
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.tabela-horarios th {
    background: #d32f2f;
    color: #EEE;
    font-weight: 200;
    font-size: 18px;
}

.tabela-horarios tbody tr {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}

.tabela-horarios tbody tr:nth-child(odd) {
    /*colore somente as linhas impar*/
    background: #181818;
}

@media (max-width: 768px) {
    .tabela-horarios table {
        font-size: 0.9rem;
    }
}

/* ======== GALERIA ======== */
.galeria {
    padding: 90px 0px 0px 0px;
    background: #242424 69%;
    text-align: center;
}

.galeria h2 {
    font-size: 32px;
    color: #d32f2f;
    margin-bottom: 40px;
}

.container-galeria {
    width: 100%;
    max-width: 100%;
    margin: auto;
    padding: 10px;
}

.grid-galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 2px;
}

.grid-galeria .foto {
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer;
}

.grid-galeria img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.grid-galeria img:hover {
    transform: scale(1.1);
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 2px;
}

.lightbox .fechar {
    position: absolute;
    top: 25px;
    right: 40px;
    font-size: 45px;
    color: #fff;
    cursor: pointer;
}

.contato {
    padding: 80px 0;
    background: #EEE;
    text-align: center;
}

.contato h2 {
    font-size: 32px;
    padding: 40px 10px 10px 10px;
    color: #d32f2f;
}

.contato .container-contato p{
    color: #111;
    padding: 10px;
}

.form-contato {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 15px;
}

.form-contato input,
.form-contato textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    outline: none;
}

.form-contato textarea {
    height: 150px;
    resize: none;
}

.btn-enviar {
    margin-top: 20px;
    padding: 12px 30px;
    background: #a80a0a;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.3s;
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 2px;
}

.btn-enviar:hover {
    background: #d10f0f;
}

#mapa{
    background: #EEE;
}

#mapa h2{
    width: auto;
    height: auto;
    text-align: center;
}

.footer {
    background: #000000;
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgb(36, 36, 36) 69%, rgba(107, 107, 105, 1) 100%);
    color: #ddd;
    padding: 50px 20px 10px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    gap: 40px;
}

.footer-col h3,
.footer-col h4 {
    color: #d32f2f;
    margin-bottom: 15px;
    font-weight: 200;
}

.footer-col p,
.footer-col ul {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col a:hover {
    color: #d32f2f;
}

.social-links a {
    font-size: 1.4rem;
    margin-right: 12px;
    color: #ccc;
    transition: 0.3s;
}

.social-links a:hover {
    color: #d32f2f;
    transition: 0.3s;
}

/* Rodapé inferior */
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    padding-top: 10px;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #d32f2f;
    font-weight: 500;
    text-decoration: dashed;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsivo */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .social-links a {
        margin: 0 8px;
    }
}