/* Reset y base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  background-image: none;
  font-family: 'Orbitron', sans-serif;
  color: #fff;
}


/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #000;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.7);
  border-bottom: 3px solid #ffc300;
}

.logo img {
  height: 60px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #ffc300;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #fff;
}

/* Botones de autenticación */
.auth-buttons .login {
  background-color: transparent;
  border: 2px solid #594810;
  color: #fff;
  padding: 0.5rem 1rem;
  margin-left: 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
}

.auth-buttons .login:hover {
  background-color: #664b0c;
  color: #000;
  cursor: pointer;
}

.auth-buttons .register {
  background-color: #981036;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  margin-left: 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
}

.auth-buttons .register:hover {
  background-color: #4c0b1b;
  color: #000;
  cursor: pointer;
}

/* Hero */
.hero {
  background: url('img/Inicio.png') no-repeat center center/cover;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}
/* Hero */
.hero2 {
  background-image: url('img/Logo.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain; /* O puedes usar cover */
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.hero3 {
  background-image: url('img/Clases.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain; /* O puedes usar cover */
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.hero4 {
  background-image: url('img/Horarios.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain; /* O puedes usar cover */
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.hero5 {
  background-image: url('img/precios.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain; /* O puedes usar cover */
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.hero6 {
  background-image: url('img/Servicios.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain; /* O puedes usar cover */
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.hero7 {
  background-image: url('img/Contacto.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain; /* O puedes usar cover */
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  z-index: 0;
}

.hero-content {
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: #ffc300;
  text-shadow: 2px 2px #000;
  margin-bottom: 1rem;
}

.hero-content1 h1 {
  font-size: 3.5rem;
  color: #fff;
  text-shadow: 2px 2px #000;
  margin-bottom: 1rem;
}

.hero-content p {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px #000;
}

/* Botón principal */
.call {
  background-color: #ffc300;
  color: #000;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s, background-color 0.3s;
  cursor: pointer;
  
}

.call:hover {
  background-color: #e6b800;
  transform: scale(1.05);
}

/* Footer */
footer {
  background-color: #000;
  color: #999;
  font-size: 0.9rem;
  padding: 1rem;
  text-align: center;
}

/* Estilo para info-box */
.info-box {
  background-color: #111;
  border-left: 5px solid #ffc300;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 1000px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 195, 0, 0.2);
}

.info-box h1 {
  font-size: 2.5rem;
  color: #ffc300;
  margin-bottom: 1.5rem;
  text-align: center;
  text-shadow: 2px 2px #000;
}

.info-box p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: #ddd;
  text-align: justify;
}

/* Estilo para highlights */
.highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  background-color: #000;
  border-top: 3px solid #ffc300;
}

.highlights1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  background-color: #000;
}


.highlight {
  background-color: #1a1a1a;
  padding: 1.5rem;
  border-left: 4px solid #981036;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(152, 16, 54, 0.3);
  max-width: 300px;
  flex: 1 1 300px;
  transition: transform 0.3s;
}

.highlight:hover {
  transform: translateY(-5px);
}

.highlight h2 {
  color: #ffc300;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px #000;
}

.highlight p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
}

/* Estilo específico para la sección de precios */
.precios-box {
  background-color: #000;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 2rem;
  border-top: 3px solid #ffc300;
}

/* Tarjetas individuales */
.price-card {
  background-color: #1a1a1a;
  border: 3px solid #981036;
  border-radius: 12px;
  padding: 2rem;
  max-width: 300px;
  flex: 1 1 300px;
  box-shadow: 0 0 15px rgba(152, 16, 54, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(255, 195, 0, 0.5);
}

/* Imagen del plan */
.price-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 2px solid #ffc300;
}

/* Título del plan */
.price-card h2 {
  font-size: 1.6rem;
  color: #ffc300;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px #000;
}

/* Descripción */
.price-card p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 1rem;
}

/* Precio */
.price-card .price {
  font-size: 1.4rem;
  color: #fff;
  font-weight: bold;
  background-color: #981036;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  display: inline-block;
}

/* Lista de beneficios */
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #bbb;
  text-align: left;
}

.price-card ul li {
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  position: relative;
}

.price-card ul li::before {
  content: "✔";
  color: #ffc300;
  position: absolute;
  left: 0;
  font-size: 1rem;
}

/* Estilos para la sección de Clases */
.classes-section {
  background-color: #000;
  padding: 3rem 2rem;
  border-top: 3px solid #ffc300;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.class-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
}

.class-card {
  background-color: #1a1a1a;
  border: 2px solid #981036;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 350px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 15px rgba(152, 16, 54, 0.4);
}

.class-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(255, 195, 0, 0.5);
}

.class-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 2px solid #ffc300;
}

.class-content {
  padding: 1rem;
  text-align: center;
}

.class-content h2 {
  font-size: 1.4rem;
  color: #ffc300;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px #000;
}

.class-content p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
}


/* Sección de login */
.login-section {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  padding: 2rem;
}

.login-box {
  background-color: #1a1a1a;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 195, 0, 0.2);
  max-width: 400px;
  width: 100%;
  border-left: 5px solid #ffc300;

}

.login-box h1 {
  color: #ffc300;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.login-box label {
  display: block;
  margin-bottom: 0.5rem;
  color: #fff;
  font-weight: bold;
}

.login-box input {
  width: 100%;
  padding: 0.7rem;
  margin-bottom: 1.5rem;
  border: 2px solid #981036;
  border-radius: 5px;
  background-color: #000;
  color: #fff;
  font-size: 1rem;
}

.login-box input:focus {
  outline: none;
  border-color: #ffc300;
  box-shadow: 0 0 5px rgba(255, 195, 0, 0.5);
}

.login-register-link {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  color: #ccc;
}

.login-register-link a {
  color: #ffc300;
  text-decoration: none;
}

.login-register-link a:hover {
  text-decoration: underline;
}

.login-box button.call {
  display: block;
  margin: 0 auto;
  margin-top: 2rem;
}

/* Estilos para el GridView */
.grid-view {
    width: 100%;
    margin: 20px 0;
    border-collapse: separate;
    border-spacing: 0;
}

.grid-header th {
    background-color: #981036;
    color: #ffc300;
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid #ffc300;
}

.grid-row td, .grid-alt-row td {
    padding: 10px;
    border-bottom: 1px solid #333;
}

.grid-row {
    background-color: #1a1a1a;
    color: #ddd;
}

.grid-alt-row {
    background-color: #222;
    color: #ddd;
}

.grid-view .call {
    padding: 5px 10px;
    margin: 2px;
    font-size: 0.8rem;
}

/* Estilos para el panel de usuario */
.plan-name {
    color: #ffc300;
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: block;
}

.benefits-list {
    color: #ccc;
    margin-left: 20px;
}

.benefits-list li {
    margin-bottom: 5px;
}

.price-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

/* Estilos para el modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid #ffc300;
    max-width: 500px;
    width: 90%;
}

.modal-content h3 {
    color: #ffc300;
    margin-bottom: 1rem;
    text-align: center;
}

.modal-content p {
    margin-bottom: 0.5rem;
    color: #ddd;
}

.info-text {
    color: #ddd;
    font-size: 1.1rem;
}

/* Estilo para el botón de cerrar sesión */
.logout {
    background-color: #981036;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    margin-left: 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
}

.logout:hover {
    background-color: #4c0b1b;
    color: #ffc300;
}

/* Ajustes para los paneles de autenticación */
.auth-buttons {
    display: flex;
    align-items: center;
}

/* Estilo para botón secundario */
.call.secondary {
    background-color: #333;
    color: #ffc300;
}

.call.secondary:hover {
    background-color: #444;
    transform: scale(1.05);
}

/* Estilos para pantallas pequeñas (teléfonos) */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
  }

  .auth-buttons {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .hero h1,
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero {
    padding: 1rem;
    height: auto;
  }

  .highlights,
  .highlights1,
  .precios-box,
  .class-row,
  .price-card-container {
    flex-direction: column;
    align-items: center;
  }

  .price-card,
  .class-card {
    max-width: 100%;
  }

  footer {
    font-size: 0.8rem;
  }
}