
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #111;
  color: white;
}

.gallery-section {
  position: relative;
  padding: 20px;
}

.section-title {
  border-left: 5px solid #ff660080;
  padding-left: 10px;
  font-size: 1.5em;
}

.gallery {
  display: flex;
  overflow: hidden;
  transition: transform 0.5s ease;
}

.photo {
  flex: 0 0 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  padding: 10px;
}

.photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border: 2px solid #ff660080;
  background-color: #222;
}

.caption {
  background-color: #ff660040;
  color: #ff6600;
  text-align: center;
  padding: 5px;
  font-size: 0.9em;
}

.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: black;
  color: white;
  border: none;
  font-size: 1.5em;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}

.nav-button.left {
  left: 0;
}

.nav-button.right {
  right: 0;
}

@media (min-width: 768px) {
  .gallery {
    flex-wrap: wrap;
    transform: none !important;
  }

  .photo {
    flex: 1 1 calc(20% - 20px);
    max-width: calc(20% - 20px);
  }

  .nav-button {
    display: none;
  }
}

/* MOBILE (max-width: 768px) */
@media (max-width: 768px) {
  .carousel {
    display: flex;
    overflow: hidden;
    position: relative;
  }

  .carousel-item {
    min-width: 100%;
    display: none; /* Esconde todos por padrão */
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
  }

  .carousel-item.active {
    display: flex; /* Mostra apenas o item ativo */
  }

  .carousel-button {
    display: flex; /* Botões aparecem só no mobile */
  }
}

/* Galeria base */
.galeria {
  padding: 40px;
  background: #111;
  color: white;
  position: relative;
}

.galeria h2 {
  font-size: 28px;
  color: white;
}

.galeria h2 span {
  color: #ff660080;
  border-left: 5px solid #ff6600;
  padding-left: 10px;
}

/* Itens da galeria */
.carousel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.carousel-item {
  background: #222;
  border: 2px solid #ff660080;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 0 10px #ff660080;
  width: 200px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.carousel-item img {
  width: 100%;
  height: auto;
}

.caption {
  margin-top: 5px;
  padding: 5px;
  background: #ff660020;
  color: #ff6600;
  text-align: center;
  font-size: 14px;
}

/* Botões de navegação */
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #000;
  border: none;
  color: white;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  z-index: 10;
}

.carousel-button.prev {
  left: 10px;
}

.carousel-button.next {
  right: 10px;
}

/* MOBILE - apenas 1 imagem visível com navegação */
@media (max-width: 768px) {
  .carousel {
    overflow: hidden;
    flex-wrap: nowrap;
  }

  .carousel-item {
    display: none;
    min-width: 100%;
    flex: 0 0 100%;
  }

  .carousel-item.active {
    display: flex;
  }

  .carousel-button {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.logo-intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeOut 2.5s ease 2.2s forwards;
}

.logo-intro img {
  width: 200px;
  height: auto;
  animation: zoomIn 2s ease forwards;
}

@keyframes zoomIn {
  0% {
    transform: scale(0.1);
    opacity: 0;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.header {
  width: 100%;
  padding: 20px 40px;
  background: linear-gradient(-45deg, #ff660080, #222222, #ff660080, #111);
  background-size: 600% 600%;
  animation: gradientMove 10s ease infinite;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  height: 80px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
}

.site-name {
  font-size: 1.6rem;
  font-weight: 600;
  color: white;
  font-family: Arial, sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500&display=swap');

.site-header {
  background: linear-gradient(90deg, #1c1c1c, #ff660080, #1c1c1c);
  background-size: 300% 100%;
  animation: gradienteElegante 8s ease infinite;
  height: 80px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 5px #00000060;
}

@keyframes gradienteElegante {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.header-container {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
}

.logo-elegante {
  height: 60px;
  transition: transform 0.3s ease;
}

.titulo-elegante {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: white;
  margin: 0;
  font-weight: 500;
  letter-spacing: 1px;
}

/* Estilos principais */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #111;
  color: white;
}

h2 {
  text-align: center;
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: white;
}

h2 span {
  border-left: 5px solid #ff6600;
  padding-left: 10px;
}

section {
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Seção Entrada */
.entrada-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.entrada-item {
  background-color: #1b1b1b;
  border: 2px solid #ff660080;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px #ff660080;
  width: 100%;
  max-width: 580px;
}

.entrada-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* Galeria e outras seções */
.carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.carousel-item {
  background-color: #1b1b1b;
  border: 2px solid #ff660080;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  max-width: 230px;
  box-shadow: 0 0 10px #ff660080;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.carousel-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.caption {
  background-color: #3c1f0b;
  color: #ffa366;
  padding: 0.5rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {
  .entrada-item img {
    height: 250px;
  }

  .carousel-item {
    max-width: 90%;
  }

  .carousel-item img {
    height: 200px;
  }
}

.carousel-item img {
  width: 100%;
  height: 300px; /* ou outro valor fixo que quiser */
  object-fit: cover;
  border-radius: 8px;
}

.sobre-nos {
  text-align: center;
  max-width: 800px;
  margin: 40px auto;
  color: #fff;
  font-size: 1.1em;
}
.sobre-nos h2 {
  font-size: 2em;
  color: #ff6600;
  margin-bottom: 0.5em;
}

/* Garante que só o item ativo fique visível no mobile */
@media (max-width: 768px) {
  .carousel {
    display: flex;
    overflow: hidden;
    position: relative;
  }

  .carousel-item {
    flex: 0 0 100%;
    display: none;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
  }

  .carousel-item.active {
    display: flex;
  }

  .carousel img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .carousel-button {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ff660080;
    color: white;
    border: none;
    padding: 0.5rem;
    z-index: 10;
    cursor: pointer;
  }

  .carousel-button.prev {
    left: 10px;
  }

  .carousel-button.next {
    right: 10px;
  }
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.carousel {
  display: flex;
  overflow: hidden;
  width: 100%;
  max-width: 600px;
}

.carousel-item {
  display: none;
  flex: 0 0 100%;
  justify-content: center;
  align-items: center;
}

.carousel-item.active {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-button {
  background-color: #ff660080;
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 24px;
  z-index: 2;
}

@media (min-width: 768px) {
  .carousel-item {
    display: flex;
    flex: 0 0 20%; /* mostra 5 por vez */
  }

  .carousel-button {
    display: none;
  }
}

.carousel {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  position: relative;
}

.carousel-item {
  flex: 0 0 20%;
  box-sizing: border-box;
  padding: 10px;
  transition: transform 0.5s ease;
}

@media (max-width: 768px) {
  .carousel {
    overflow: hidden;
  }

  .carousel-item {
    flex: 0 0 100%;
  }

  .carousel-button {
    display: block;
  }
}

.carousel-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
}

/* Modal para imagem ampliada */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal.show {
  display: flex;
}

.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border: 3px solid #ff6600;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(255, 102, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background-color: #ff6600;
  color: white;
  font-weight: bold;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s ease;
}

.modal-close:hover {
  background-color: #cc5200;
}

.site-footer {
  width: 100%;
  position: fixed;
  bottom: 0;
  z-index: 100;
  background: linear-gradient(270deg, #ff6600cc, #333333cc);
  background-size: 400% 400%;
  animation: footerGradient 10s ease infinite;
  color: white;
  font-size: 0.9em;
  padding: 0.5rem 1rem;
  backdrop-filter: blur(8px);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-icons a {
  color: white;
  margin: 0 0.5rem;
  font-size: 1.3em;
  transition: transform 0.3s;
}

.footer-icons a:hover {
  transform: scale(1.2);
}

.footer-text {
  text-align: right;
  flex-grow: 1;
}

@keyframes footerGradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-text {
    margin-top: 0.3rem;
    text-align: center;
  }
}

.site-footer {
  width: 100%;
  background: linear-gradient(270deg, #ff6600cc, #333333cc);
  background-size: 400% 400%;
  animation: footerGradient 10s ease infinite;
  color: white;
  font-size: 0.9em;
  padding: 0.8rem 1rem;
  backdrop-filter: blur(6px);
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.footer-icons a {
  color: white;
  font-size: 1.4em;
  transition: transform 0.3s ease;
}

.footer-icons a:hover {
  transform: scale(1.2);
}

.footer-text {
  font-size: 0.85em;
}

@keyframes footerGradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Rodapé fixo apenas no mobile */
@media (max-width: 500px) {
  .site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999;
  }
}
.site-footer {
  width: 100%;
  background: linear-gradient(270deg, #ff6600cc, #333333cc, #ff6600cc);
  background-size: 400% 400%;
  animation: footerGradient 6s ease infinite;
  color: white;
  padding: 1rem 0;
  text-align: center;
  backdrop-filter: blur(6px);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-icons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.footer-icons a {
  color: white;
  font-size: 1.6em;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-icons a:hover {
  transform: scale(1.2);
  color: #ffcc99;
}

.footer-text {
  font-size: 0.85em;
}

/* Animação mais rápida */
@keyframes footerGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Rodapé fixo apenas no mobile */
@media (max-width: 768px) {
  .site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
  }
}

/* SOBRE NÓS */
.sobre-nos {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  background-color: #111;
  flex-wrap: wrap; /* <-- garante que quebre no mobile */
  width: 100%;
  box-sizing: border-box;
}

.sobre-overlay {
  background-image: url('social\ 5.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  max-width: 700px; /* Aumentei a largura máxima */
  padding: 3rem; /* Mais espaçamento interno */
  border-radius: 12px;
  text-align: center;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6);
  background-blend-mode: multiply;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  animation: animarDegrade 10s ease infinite;
  box-sizing: border-box;
}

.sobre-overlay h2 {
  font-size: 2.5rem; /* Título maior */
  margin-bottom: 1rem;
  color: #ff6600;
  font-weight: bold;
}

.sobre-overlay p {
  font-size: 1.3rem; /* Texto maior */
  line-height: 1.8;
  margin-bottom: 2rem;
  color: #fff;
}

.btn-associado {
  background-color: #ff6600cc;
  color: #fff;
  padding: 0.8rem 1.5rem; /* Botão maior */
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background 0.3s ease;
}

.btn-associado:hover {
  background-color: #cc5200;
}

@keyframes animarDegrade {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (max-width: 768px) {
  .sobre-overlay {
    padding: 1.5rem;
  }

  .sobre-overlay h2 {
    font-size: 1.6rem;
  }

  .sobre-overlay p {
    font-size: 0.9rem;
  }
}

.header-title {
  font-family: 'UnifrakturCook', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
  text-shadow: 1px 1px 2px #000;
  letter-spacing: 1px;
}

.site-header-grande {
  background: linear-gradient(270deg, #5e2602, #843403, #2c2c2c);
  background-size: 400% 400%;
  animation: degradeAnimado 6s ease infinite;
  padding: 5px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

@keyframes degradeAnimado {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.header-logo-central img {
  max-height: 150px;
  height: auto;
  width: auto;
}

.site-header-refinado {
  height: 150px;
}

.site-header-refinado .header-logo-central img {
  max-height: 150px;
}

#muteButton {
  position: fixed;
  bottom: 100px;
  right: 20px;
  background: linear-gradient(145deg, #ff6600, #cc5200);
  border: none;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  color: white;
  font-size: 18px;
  z-index: 9999;
  box-shadow: 0 0 6px rgba(255, 102, 0, 0.5);
  transition: all 0.3s ease;
  animation: none;
}

#muteButton:hover {
  background: linear-gradient(145deg, #ff8533, #e65c00);
  box-shadow: 0 0 15px rgba(255, 102, 0, 0.9);
  transform: scale(1.1);
  animation: pulse 2s infinite;
}

/* Modal com várias imagens */
.estrutura-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  overflow: auto;
}

.estrutura-modal-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 20px;
  flex-wrap: wrap;
  padding: 40px;
}

.estrutura-modal-content img {
  max-width: 100%;
  height: auto;
  max-height: 80vh;
  cursor: default;
  border-radius: 10px;
}

.estrutura-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.estrutura-close:hover {
  color: #ccc;
}

/* Mobile: mostra uma imagem por vez com setas */
@media (max-width: 768px) {
  .estrutura-modal-content {
    flex-wrap: nowrap;
    overflow: hidden;
    position: relative;
  }

  .estrutura-modal-content img {
    flex-shrink: 0;
    width: 100%;
    max-height: 70vh;
  }

  .estrutura-prev, .estrutura-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 36px;
    color: white;
    cursor: pointer;
    padding: 10px;
    z-index: 10000;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
  }

  .estrutura-prev {
    left: 10px;
  }

  .estrutura-next {
    right: 10px;
  }
}

.estrutura-container {
  position: relative;
  margin-bottom: 40px;
}

.estrutura-carousel {
  display: flex;
  overflow: hidden;
  position: relative;
  max-width: 100%;
  scroll-behavior: smooth;
}

.estrutura-carousel .carousel-item {
  min-width: 100%;
  transition: transform 0.5s ease;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.6);
  border: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
  padding: 10px;
  border-radius: 50%;
}

.carousel-button.prev {
  left: 10px;
}

.carousel-button.next {
  right: 10px;
}

@media (max-width: 768px) {
  .carousel-button {
    font-size: 20px;
    padding: 6px;
  }
}

.section-title {
  margin-top: 10px; /* ou até 0 */
}

/* Garante que o rodapé fixo não sobreponha a última sessão */
@media (max-width: 768px) {
  body {
    padding-bottom: 80px; /* altura igual ou um pouco maior que o rodapé */
  }
}
