/* ===========================
   RESET BÁSICO
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===========================
   ESTILO GENERAL
=========================== */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #111;       /* Fondo oscuro */
  color: #F5786B;         /* Texto rojo principal */
}

/* ===========================
   HEADER Y NAVBAR
=========================== */
header {
  width: 100%;
  background-color: #000;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 60px;
  height: auto;
}

/* ==== MENÚ DESKTOP ==== */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: #F5786B;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #fff;
}

/* ==== BOTÓN HAMBURGUESA ==== */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: #F5786B;
  cursor: pointer;
  user-select: none;
  z-index: 1100;
}

/* ===========================
   MAIN
=========================== */
main {
  max-width: 900px;
  margin: 2rem auto;
  background: #1c1c1c;      /* Caja oscura */
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

h1 {
  color: #F5786B;
  margin-bottom: 1rem;
  text-align: center;
}

h2 {
  margin-top: 1.5rem;
  color: #F5786B;
}

p {
  color: #ddd;
  margin-bottom: 1rem;
}

/* ===========================
   HORARIOS / LISTAS
=========================== */
ul {
  list-style: none;
  padding: 0;
}

ul li {
  background: #000000;
  margin: 0.5rem 0;
  padding: 0.8rem;
  border-radius: 6px;
  color: #F5786B;
  font-weight: bold;
  transition: background 0.3s;
}

ul li:hover {
  background: #3a3a3a;
}

/* ===========================
   FOOTER
=========================== */
footer {
  text-align: center;
  padding: 1rem;
  background: #000000;
  color: #aaa;
  margin-top: 2rem;
}

/* ===========================
   MENÚ RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  /* Fondo borroso detrás del menú */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 1050;
  }

  .menu-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  /* Menú lateral (igual que el del index) */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #111;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: 40px;
    gap: 20px;
    transition: right 0.4s ease-in-out;
    z-index: 1100;
    box-shadow: -2px 0 15px rgba(0, 0, 0, 0.5);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    font-size: 1.4rem;
    color: #F5786B;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s, transform 0.2s;
    padding: 8px 0;
  }

  .nav-links li a:hover {
    color: #fff;
    transform: translateX(6px);
  }

  main {
    padding: 1.5rem;
  }

  h1 {
    font-size: 1.8rem;
  }
}
