/* Importação de fontes */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap');

/* Reset de estilos e configuração de fontes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto Condensed', sans-serif;
}

body {
    background-color: #d1c4e9;
    font-size: 16px;
    font-family: 'Roboto Condensed', sans-serif;
}

/* Estilos para links */
a {
    text-decoration: none;
    color: inherit;
}

a:focus {
    outline: 2px dashed #512da8;
    outline-offset: 4px;
}

/* Estilos para imagens */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Estilos para o banner */
#banner {
    width: 100%;
    text-align: center;
}

#banner img {
    width: 100%;
    height: auto;
}

/* Estilos para o cabeçalho e navegação */
header {
    background-color: #d1c4e9;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 30px;
    padding: 20px;
}

nav a {
    color: #512da8;
    font-weight: 700;
    padding: 5px 15px;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

/* Estilos para a seção 'SOBRE NÓS' */
#sobre-nos {
  display: flex;
  justify-content: center;
  padding: 50px 40px;
  background-color: #fff;
}

#sobre-nos .content {
  width: 60%;
  display: flex;
  justify-content: center;
  gap: 30px;
}

#sobre-nos h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #512da8;
    font-weight: 700;
    text-align: left;
}

#sobre-nos p {
    font-size: 1.3em;
    color: #131313;
    line-height: 1.6;
    text-align: left;
}

#sobre-nos img {
    width: 200px;
    background-image: url('icons/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
}

@media (max-width: 768px) {
    #sobre-nos {
        flex-direction: column;
        padding: 20px;
    }
    
    #sobre-nos .content {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
    
    #sobre-nos h2 {
        text-align: center;
    }
    
    #sobre-nos p {
        text-align: center;
    }
    
    #sobre-nos img {
        width: 150px;
        margin-top: 20px;
    }
}

/* Estilos para a seção 'EM CARTAZ' */
#em-cartaz {
  max-width: 60%;
  display: flex;
  padding: 40px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#em-cartaz .info {
  max-width: 50%;
  text-align: center;
  background-color: #5e12c3;
}

#em-cartaz h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: white;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

#em-cartaz p:first-of-type {
    color: #e040fb;
    font-weight: 700;
    font-size: 1.3em;
    margin-bottom: 15px;
    line-height: 1.4;
}

#em-cartaz p {
    font-size: 1em;
    color: white;
    margin-bottom: 20px;
    line-height: 1.6;
}

#em-cartaz p:nth-of-type(2) {
    background-color: #481888;
    color: #d1c4e9;
    font-weight: 700;
    padding: 12px 15px;
    border-radius: 5px;
    letter-spacing: 0.5px;
    border: 2px solid #9c27b0;
    display: inline-block;
}

#em-cartaz a {
    color: #e040fb;
    text-decoration: underline;
    font-weight: bold;
    transition: all 0.3s ease;
}

#em-cartaz a:hover {
    color: #fff;
    background-color: #e040fb;
    padding: 5px 10px;
    border-radius: 3px;
}

#em-cartaz .banner {
    width: 50%;
    /* border-radius: 10px; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    display: block;
}

@media (max-width: 768px) {
    #em-cartaz {
        flex-direction: column;
        padding: 20px;
    }
    
    #em-cartaz .info {
        max-width: 100%;
    }
    
    #em-cartaz .banner img {
        max-width: 100%;
    }
}

/* Estilos para a seção 'TEASER' */
#teaser {
    width: 70%;
    margin: 0 auto;
    padding: 20px 0;
    text-align: center;
    background-color: #d1c4e9;
}

#teaser h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #512da8;
    font-weight: 700;
}

#teaser video {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    outline: none;
}

#teaser video:focus {
    outline: 2px dashed #512da8;
    outline-offset: 4px;
}

@media (max-width: 768px) {
    #teaser {
        width: 100%;
    }
    
    #teaser video {
        max-width: 100%;
    }
}

/* Estilos para a seção 'FOTOS' */
#fotos {
    padding: 40px 0;
    background-color: #fff;
    display: flex;
    justify-content: center;
}

#fotos h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #512da8;
    font-weight: 700;
    max-width: 600px;
    margin: 0 auto 20px auto;
}

#fotos p {
    font-size: 2em;
    color: #121326;
    margin-bottom: 20px;
}

.fotos-grid {
  gap: 10px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fotos-grid img {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.fotos-container {
    width: 40%;
}

.fotos-container .desc {
    text-align: left;
    padding-right: 20px;
}

#fotos .fotos-btn {
  cursor: pointer;
}

@media (max-width: 768px) {
    #fotos {
        flex-direction: column;
        padding: 20px;
    }
    
    #fotos .fotos-container {
        width: 100%;
    }
    
    #fotos .fotos-grid {
        width: 100%;
    }
}

/* Carrossel de fotos */

.container-modal-desativado {
  display: none;
}

.container-modal-ativado{
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  opacity: 1;
  pointer-events: auto;
  top: 0;
  left: 0;
  height: 50vw;
  width: 100vw;
}

.modal {
  background-color: #fff;
}

.modal #fechar {
  position: absolute;
  top: 55px;
  right: 430px;
  z-index: 2;
  font-size: 2em;
  border: 0;
  background: rgba(0, 0, 0, .2);
  margin-right: 5px;
  cursor: pointer;
}

.carrossel {
  width: 45vw;
  height: 45vh;
  position: relative;
  bottom: 207px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.slide[data-ativo] {
  opacity: 1;
}

.botao-carrossel {
  position: absolute;
  z-index: 2;
  background: none;
  border: none;
  font-size: 4rem;
  top: 100%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .8);
  cursor: pointer;
  border-radius: .25rem;
  padding: 0 .5rem;
  background-color: rgba(0, 0, 0, .4);
}

.botao-carrossel:hover {
  color: white;
  background-color: rgba(0, 0, 0, .5);
}

.botao-carrossel.anterior{
  left: 1rem;
}

.botao-carrossel.proximo{
  right: 1rem;
}

/* Estilos para a seção 'CONTATO' */
#contato {
    padding: 40px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

#contato h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #512da8;
    font-weight: 700;
}

#contato form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

#contato label {
    color: #121326;
}

#contato input, 
#contato textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#contato input:focus, 
#contato textarea:focus {
    outline: 2px dashed #512da8;
    outline-offset: 4px;
}

#contato button {
    padding: 10px 20px;
    background-color: #512da8;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.3s;
    font-weight: 700;
}

#contato button:focus {
    outline: 2px dashed #fff;
    outline-offset: 4px;
    box-shadow: 0 0 0 3px rgba(81, 45, 168, 0.5); /* Adicionar foco visível */
}

#contato button:hover {
    opacity: 0.9;
}

#contato .container-instagram {
  display: flex;
  justify-content: center;
  align-items: center;
}

#contato .instagram {
  width: 50px;
}

/* Estilos para o rodapé */
footer {
    background-color: #d1c4e9;
    padding: 20px;
    text-align: center;
    color: #512da8;
}

footer p {
    font-size: 0.9em;
    margin: 0;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav li {
        margin: 5px 0;
    }

    .fotos-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Estilo para animação de fade-in */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fade-in.appear {
    opacity: 1;
}

/* Estilo para animação de hover */
.btn.hover {
    background-color: #555;
    color: white;
}

/* Estilo para carrossel de imagens */
.mySlides {
    display: none;
}
