/* ------------------ FONTES ------------------ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&family=Roboto:wght@400;700&display=swap');

/* ------------------ RESET ------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0d0d0d;
  color: #fff;
  overflow-x: hidden;
}

/* ------------------ VIDEOS ------------------ */
.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1s ease-in-out;
}

/* ------------------ CONTEÚDO CENTRAL ------------------ */
.content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 50px 20px;
}

h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffcc00;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

h2 {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 400;
  margin-bottom: 40px;
  color: #fff;
}

/* ------------------ MINI PLAYER ------------------ */
/* MINI PLAYER INTEGRADO AO CONTEÚDO (abaixo do carrossel) */
.mini-player {
  position: relative;       /* remove fixed */
  bottom: auto;             /* garante que não fique flutuando */
  right: auto;
  margin: 20px auto 40px;   /* centralizado, abaixo do carrossel */
  width: 90%;
  max-width: 500px;
  background: rgba(0,0,0,0.7);
  padding: 15px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.mini-player .info {
  margin-bottom: 10px;
  font-weight: 600;
  color: #ffcc00;
  text-align: center;
}

.mini-player .controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.mini-player .controls button {
  background: none;
  border: none;
  color: #ffcc00;
  font-size: clamp(18px, 4vw, 24px);
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
}

.mini-player .controls button:hover {
  color: #fff;
  transform: scale(1.3);
}

.mini-player input[type="range"] {
  width: 100%;
  margin-top: 10px;
}

/* ------------------ MAPA ------------------ */
.map-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
}

.map-container iframe {
  width: clamp(150px, 30vw, 250px);
  height: clamp(100px, 20vw, 150px);
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,.3);
}

.map-container .map-link {
  margin-top: 5px;
  font-size: clamp(10px, 2vw, 12px);
  color: #ffcc00;
  text-decoration: none;
  text-align: center;
}

.map-container .map-link:hover {
  color: #fff;
}

/* ------------------ TABELA DE EVENTOS ------------------ */
.events-container {
  position: fixed;
  top: 50px;
  left: 20px;
  width: clamp(180px, 20vw, 250px);
  background: rgba(0,0,0,0.7);
  padding: 15px;
  border-radius: 15px;
  color: #ffcc00;
  box-shadow: 0 6px 24px rgba(0,0,0,0.5);
  z-index: 2;
  overflow-x: hidden;
}

.events-container h3 {
  font-size: clamp(14px, 2.5vw, 18px);
  margin-bottom: 10px;
  text-align: center;
}

.events-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.events-table th, .events-table td {
  border: 1px solid #ffcc00;
  padding: 6px;
  text-align: center;
  font-size: clamp(10px, 2vw, 14px);
  color: #fff;
}

.events-table th {
  background: #ffcc00;
  color: #000;
  font-weight: 600;
}

.events-table tr:hover td {
  background: #ffcc00;
  color: #000;
}

/* ------------------ MENU DE PRODUTOS FIXO ------------------ */
.products-menu {
  position: fixed;
  top: 100px;
  right: 20px;
  width: clamp(220px, 25vw, 300px);
  max-height: 500px;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
  overflow-y: auto;
  z-index: 999;
}

.products-menu h3 {
  text-align: center;
  margin-bottom: 15px;
  font-size: clamp(16px, 3vw, 1.3em);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 8px;
}

.products-table {
  width: 100%;
  border-collapse: collapse;
}

.products-table th, .products-table td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.products-table th {
  background: rgba(255,255,255,0.1);
  font-weight: 600;
}

.products-table tbody tr:hover {
  background: rgba(255,255,255,0.1);
}

/* ------------------ CARROSSEL DE FLYERS ------------------ */
.flyers-carousel {
  position: relative;
  width: 90%;
  max-width: 900px;
  height: 180px;
  margin: 20px auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flyers-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.flyer {
  flex: 0 0 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.flyer img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.flyer.center {
  transform: scale(1.2);
  z-index: 2;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #ffcc00;
  font-size: 2rem;
  padding: 5px 10px;
  cursor: pointer;
  z-index: 5;
  border-radius: 10px;
}

.carousel-btn.prev { left: 5px; }
.carousel-btn.next { right: 5px; }

.carousel-btn:hover {
  background: rgba(0,0,0,0.7);
  transform: translateY(-50%) scale(1.2);
}

/* ------------------ RESPONSIVIDADE ------------------ */
@media (max-width: 768px) {
  .flyer img { width: 150px; height: 90px; }
    .mini-player { width: 95%; }
  .map-container iframe { width: 120px; height: 90px; }
  .events-container { width: 180px; padding: 10px; top: 35px; left: 10px; }
}

@media (max-width: 480px) {
  .flyer img { width: 120px; height: 70px; }
  .mini-player { width: 100%; padding: 10px; }
  .events-container { width: 95%; top: auto; left: 2.5%; position: relative; margin-top: 20px; }
  .map-container iframe { width: 100%; height: 120px; }
}

/* Ajuste do menu de produtos em telas pequenas */
@media (max-width: 768px) {
  .products-menu {
    position: relative; /* não mais fixo */
    width: 90%;         /* ocupa quase toda a largura do container */
    max-width: none;    /* remove limite para mobile */
    top: auto;          /* reposiciona */
    right: auto;
    margin: 20px auto;  /* centraliza */
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .products-menu {
    width: 95%;          /* ocupa quase toda a tela */
    margin: 10px auto;
    padding: 10px;
  }
}

.site-footer {
  width: 100%;
  
  background: #0f111391; /* muda se quiser outra cor */
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo {
  width: 60px;  /* ajusta o tamanho da logo */
  height: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}

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