body {
  background: #6c6969;
  line-height: 1;
}
strong {
  color: #ec0c0c;
  text-transform: uppercase;
}
.container {
  max-width: 90%;
  margin: 0 auto;
  padding: 20px;
  line-height: 1.2;
}
header {
  position: sticky;
  top: 0;
  padding: 0;
  background: #ec0c0c;
  color: #fff;
  z-index: 10;
  transition: 1.5s;
}
.logo-area {
  display: flex;
  align-items: center;
}
.logo-area img {
  position: absolute;
  top: 10px;
  left: 20px;
  max-width: 200px;
  background: rgba(0, 0, 0, 0.8);
}
.logo-area h1 {
  margin: 0 auto 20px;
  text-align: center;
  font-size: 2.8em;
  text-transform: uppercase;
}
/* Header reduzido ao rolar */
#site-header.shrink {
  padding: 0 !important;
  transition: 1.5s;
}
#site-header.shrink .logo-area img {
  max-width: 80px;
}
#site-header.shrink .site-title {
  opacity: 0;
  visibility: hidden;
  height: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  margin: 0;
}
nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 25px;
  flex-wrap: wrap;
}
nav a {
  color: #fff;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}
nav a:hover {
  color: #ffcccb;
  text-decoration: underline;
}
nav a.admin-link {
  background: #f76a13;
  color: white !important;
  font-size: 1.1em;
  padding: 6px 12px;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}
nav a.admin-link:hover {
  background: #c75108;
  text-decoration: none;
}
/* GALERIA CARROSEL*/
.galeria-carrosel {
  padding: 10px 10px;
  border-radius: 0px;
  background: #000;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}
.carrosel-wrapper {
  overflow: hidden;
  width: 100%;
}
.carrosel-container {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: slide-carrosel 50s linear infinite;
}
.carrosel-container img {
  flex: 0 0 auto;
  max-height: 200px;
  border-radius: 10px;
  scroll-snap-align: center;
  border: 2px inset #6c6969;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Animação carrosel */
@keyframes slide-carrosel {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}
/* FIM GALERIA CARROSEL*/

/* Seções */
.section {
  padding: 10px 20px;
  font-size: 1.3em;
  background: #fff;
}
.section.bg-light {
  background: #f1f1f1;
}
.section h2 {
  font-size: 2.2em;
  color: #f76a13;
  margin-bottom: 20px;
  text-align: center;
}
.section p {
  text-align: justify;
}
/* Seção Programação e Contato */
.lista-programacao,
.lista-contato {
  list-style: none;
  margin-top: 20px;
}
.lista-programacao li,
.lista-contato li {
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
}
.lista-contato {
  font-size: 1em;
}
.lista-contato a {
  text-decoration: none;
}
/* Seção de Eventos */
.meu-carousel {
  position: relative;
  max-width: 1000px;
  margin: 20px auto;
  overflow: hidden;
}
.carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}
.carousel-item {
  width: 100%;
  transition: opacity 0.5s ease;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}
.carousel-item.active {
  opacity: 1;
  position: relative;
}
.carousel-item img {
  width: 100%;
  height: auto;
  max-height: 700px;
  display: block;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}
.carousel-control {
  position: absolute;
  top: 50%;
  padding: 0;
  width: 50px;
  height: 50px;
  transform: translateY(-50%);
  font-size: 2em;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1;
}
.carousel-control.prev {
  left: 10px;
}
.carousel-control.next {
  right: 10px;
}
.carousel-control:hover {
  background: rgba(236, 12, 12, 0.8);
}
/* Seção de Doacoes */
.doacoes {
  text-align: center;
  margin-top: 20px;
}
.doacoes img {
  width: 280px;
  border: 4px solid #ec0c0c;
  border-radius: 30px;
}
.copiavel {
  cursor: pointer;
}
.copiavel:hover {
  color: #f76a13;
}
.pix-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 0;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}
.pix-modal .modal-content {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: auto;
  width: 50%;
  animation: zoom 0.5s ease;
}
@keyframes zoom {
  from { transform: scale(0.5); opacity: 0 }
  to { transform: scale(1); opacity: 1 }
}
.close-modal {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
/* Rodapé */
footer {
  background: #ec0c0c;
  color: white;
  text-align: center;
  padding: 0 10px;
  line-height: 1.8;
}
footer .social {
  margin-top: 10px;
}
footer .social a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #f4f4f4;
  margin: 0 8px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s ease, color 0.2s ease;
}
footer .social a:hover {
  text-decoration: underline;
  transform: scale(1.05);
}

@media only screen and (max-width: 768px) {

  .logo-area img {
    top: 5px;
    left: 5px;
    max-width: 80px;
  }
  .logo-area h1 {
    margin: -10px auto 5px;
    font-size: 1.8em;
  }
  #site-header.shrink .logo-area img {
    max-width: 60px;
  }
  #site-header.shrink nav {
    margin-left: 20px;
    margin-top: -5px;
  }
  #site-header.shrink nav li {
    margin-top: -10px;
  }
  nav ul {
    gap: 15px;
  }
  nav a {
    font-size: 0.8em;
  }
  nav a.admin-link {
    font-size: 0.9em;
    padding: 4px 10px;
    border-radius: 5px;
  }
  #contato .container {
    padding: 20px 10px;
  }
  #eventos {
    padding: 10px 0;
  }
  .section {
    padding: 10px 10px;
    font-size: 1.1em;
  }
  .section h2 {
    font-size: 1.8em;
  }
  .lista-contato {
    font-size: 0.9em;
  }
  .lista-contato strong {
    font-size: 1.1em;
  }
  .pix-modal .modal-content {
  top: 40%;
  width: 90%;
}
}