@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background-color: #1a1a1a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Cabeçalho */
header {
  background-color: #1a1a1a;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 100px;
  border-bottom: 2px solid #FFD700;
}

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

.logo-img {
  max-height: 70px;
  width: auto;
  display: block;
}

/* Navegação */
nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #FFFFFF;
  font-weight: 700;
  transition: color 0.3s, text-decoration 0.3s;
}

nav a:hover {
  color: #FFD700;
  text-decoration: underline;
}

/* Botão de Login */
.login-btn {
  background: #FF914D;
  color: #1a1a1a;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
  cursor: pointer;
}

.login-btn:hover {
  background: #e36f2f;
}

/* Hero Section */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  max-height: 500px;
  background-image: url('imagem_central.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 5%;
}

.hero-content {
  max-width: 700px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 10px;
}

.hero-section h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

/* Botão começar */
.btn-comecar {
  background: #FF914D;
  color: #1a1a1a;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background 0.3s, transform 0.2s;
  cursor: pointer;
}

.btn-comecar:hover {
  background: #e36f2f;
  transform: translateY(-2px);
}

/* Rodapé */
footer {
  text-align: center;
  padding: 20px;
  background-color: #1a1a1a;
  font-size: 14px;
  color: #F5DEB3;
  margin-top: auto;
  border-top: 2px solid #FFD700;
}

/* Responsivo */
@media (max-width: 1024px) {
  header {
    padding: 15px 30px;
  }

  .logo-img {
    max-height: 60px;
  }

  nav ul {
    gap: 25px;
  }

  .hero-section h1 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 15px 20px;
    min-height: auto;
  }

  nav {
    margin-top: 15px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .login-btn {
    margin-top: 15px;
  }

  .hero-section h1 {
    font-size: 30px;
  }

  .hero-content {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 10px 15px;
  }

  .logo-img {
    max-height: 50px;
  }

  nav ul {
    gap: 10px;
  }

  .hero-section {
    height: 65vh;
    padding: 15px;
  }

  .hero-section h1 {
    font-size: 24px;
  }

  .btn-comecar {
    padding: 10px 24px;
    font-size: 16px;
  }
}

/* Modal geral */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: none; /* oculto por padrão */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal.active {
  display: flex;
}

/* Conteúdo do modal */
.modal-content {
  background: #222;
  color: #fff;
  padding: 2rem 2.5rem;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 20px rgba(255, 165, 0, 0.8);
  text-align: center;
  font-family: 'Poppins', sans-serif;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.modal-content form input {
  width: 100%;
  padding: 12px 15px;
  margin: 12px 0;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  box-sizing: border-box;
}

.modal-content form button,
.modal-content button {
  background-color: #FF914D;
  border: none;
  color: #1a1a1a;
  padding: 12px 25px;
  margin-top: 15px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modal-content form button:hover,
.modal-content button:hover {
  background-color: #e36f2f;
}

.modal-content p a {
  color: #FFD700;
  text-decoration: none;
  font-weight: 600;
}

.modal-content p a:hover {
  text-decoration: underline;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.8rem;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
}
.close-btn:hover {
  color: #ffb347;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  flex-direction: column; /* ESSENCIAL: garante submenu vertical */
  background-color: #1e1e1e;
  border-radius: 8px;
  min-width: 200px;
  z-index: 100;
  padding: 10px 0;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.5);
}

.menu-container {
  max-width: 1000px;
  margin: 40px auto;
  background-color: rgba(0, 0, 0, 0.75);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 165, 0, 0.15);
}

.welcome {
  text-align: center;
  color: #FFD700;
  font-size: 2rem;
  margin-bottom: 10px;
  font-family: 'Bebas Neue', cursive;
}

.instructions {
  text-align: center;
  color: #ffa500;
  font-size: 1.3rem;
  margin-bottom: 25px;
  font-family: 'Bebas Neue', cursive;
}

.horizontal-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.menu-section {
  position: relative;
}

.menu-title {
  background-color: #222;
  color: #FFD700;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  user-select: none;
}

.menu-title:hover {
  background-color: #444;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  flex-direction: column;
  background-color: #1e1e1e;
  border-radius: 8px;
  min-width: 220px;
  z-index: 100;
  padding: 10px 0;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.5);
}

.submenu a {
  color: #ffa500;
  text-decoration: none;
  padding: 12px 18px;
  display: block;
  transition: background 0.2s, color 0.2s;
  font-size: 0.95rem;
}

.submenu a:hover {
  background-color: #ff9900;
  color: #1e1e1e;
  border-radius: 4px;
}

