/* RESET GENERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body, html {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  backdrop-filter: blur(0.5px);
  -webkit-backdrop-filter: blur(0.5px);
}

/* FONDO */
body {
  background-image: url('imgs/header.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

/* HEADER y LOGO */
.header {
  background: rgba(16, 24, 32);
  padding: 15px 0;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 60px;
}

/* BOTÓN HAMBURGUESA */
.hamburger {
  font-size: 30px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* MENÚ MÓVIL */
.mobile-menu {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  display: none;
  flex-direction: column;
}

.mobile-menu li {
  opacity: 0;
  transform: translateY(-10px);
  margin-bottom: 10px;
  animation: fadeSlide 0.4s ease forwards;
}

.mobile-menu li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu.show {
  display: flex;
}
/* Submenús en menú móvil */
.mobile-menu .submenu {
  display: none;
  flex-direction: column;
  padding-left: 20px;
  margin-top: 5px;
  background-color: rgba(255, 255, 255, 0.05); /* fondo suave */
  border-left: 2px solid #FFD700;
  border-radius: 4px;
}

/* Mostrar submenú */
.mobile-menu .submenu.show {
  display: flex;
}
/* Icono para indicar que tiene submenu */
.has-submenu > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* Ítems del submenú */
.mobile-menu .submenu li {
  color: white;
  padding: 8px 12px;
  font-size: 16px;
  transition: background 0.3s;
}

.mobile-menu .submenu li:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.mobile-menu.show li:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu.show li:nth-child(2) { animation-delay: 0.2s; }
.mobile-menu.show li:nth-child(3) { animation-delay: 0.3s; }
.mobile-menu.show li:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeSlide {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MENÚ DE ESCRITORIO */
.desktop-nav {
  display: flex;
  align-items: center;
}

.desktop-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 40px;
}

.desktop-nav summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.desktop-nav summary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.desktop-nav summary i {
  font-size: 18px;
  color: white;
  transition: color 0.3s;
}

.desktop-nav summary:hover i {
  color: #ffd700;
}

.desktop-nav details ul {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  margin-top: 5px;
  border-radius: 5px;
  display: none;
  min-width: 150px;
  z-index: 1000;
}

.desktop-nav details[open] ul {
  display: block;
}

.desktop-nav details ul li {
  padding: 10px;
  color: white;
  cursor: pointer;
  transition: background 0.3s;
}

.desktop-nav details ul li:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* GALERÍA */
.galeria-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 30px 0;
}

.galeria-wrapper {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.galeria {
  display: flex;
  gap: 20px;
  animation: autoScroll 40s linear infinite;
}

.galeria img {
  height: 500px;
  border-radius: 10px;
  transition: transform 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.galeria img:hover {
  transform: scale(1.05);
}

/* BOTONES GALERÍA */
.btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.6);
  border: none;
  font-size: 30px;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  user-select: none;
}

.btn.left { left: 20px; }
.btn.right { right: 20px; }

@keyframes autoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* MEDIA QUERIES */

/* MÓVIL */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .hamburger,
  .mobile-menu {
    display: flex;
  }
  .mobile-menu {
    display: none;
    flex-direction: column;
  }

  .mobile-menu.show {
    display: flex !important;
  }

  .galeria img {
    height: 350px;
  }
}

/* ESCRITORIO GRANDE */
@media (min-width: 769px) {
  .hamburger,
  .mobile-menu {
    display: none !important;
  }

  .desktop-nav {
    display: flex !important;
  }

  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
  }

  .top-bar {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
  }
}

/* Ajustes para pantalla muy grande */
@media (min-width: 1024px) {
  body {
    font-size: 18px;
  }

  .desktop-nav ul {
    gap: 50px;
  }

  .desktop-nav summary {
    font-size: 20px;
  }

  .galeria img {
    height: 550px;
  }
}
/* 🔍 Estilo del formulario de búsqueda */
.search-form {
  display: flex;
  flex: 1;
  max-width: 300px;
  margin: 0 20px;
  position: relative;
}

.search-form input {
  width: 100%;
  padding: 8px 12px;
  border-radius: 20px;
  border: none;
  font-size: 16px;
  background-color: rgba(255,255,255,0.15);
  color: white;
  outline: none;
}

.search-form button {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
}
@media (max-width: 768px) {
  .search-form {
    max-width: 60%;
    margin: 15px 0;
  }
}
/* CLASE MUESTRA */
.clase-muestra {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 60px 20px;
  color: white;
}

.clase-muestra-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.imagen-inclinada img {
  width: 300px;
  transform: rotate(-5deg);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.texto {
  max-width: 400px;
  text-align: left;
}

.texto h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.texto p {
  font-size: 16px;
  margin-bottom: 20px;
}

/* BOTÓN AGENDAR */
.btn-agendar {
  background-color: #FFD700;
  border: none;
  color: black;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-agendar:hover {
  background-color: #e6c200;
}

/* Responsive */
@media (max-width: 768px) {
  .clase-muestra-content {
    flex-direction: column;
    text-align: center;
  }

  .imagen-inclinada img {
    transform: rotate(0);
    width: 90%;
  }

  .texto {
    max-width: 100%;
  }
}
.hero-roller {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
}

/* VIDEO de fondo */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Capa oscura sobre el video */
.hero-overlay {
  position: relative;
  padding: 40px;
  border-radius: 10px;
  max-width: 900px;
  text-align: center;
}

.hero-overlay h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: bold;
}

.hero-overlay p {
  font-size: 20px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-roller {
    height: auto;
    padding: 60px 20px;
  }

  .hero-overlay h1 {
    font-size: 32px;
  }

  .hero-overlay p {
    font-size: 16px;
  }
}
/* MISIÓN & VISIÓN + Imagen */
.mision-vision {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 60px 20px;
  color: white;
}

.mv-wrapper {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.mv-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1 1 60%;
}

.mv-box {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.mv-box i {
  font-size: 40px;
  margin-bottom: 15px;
  color: #FFD700;
}

.mv-box h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.mv-box p {
  font-size: 16px;
  line-height: 1.6;
}

/* Imagen con efecto punteado */
.mision-vision {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 60px 20px;
  color: white;
}

.mv-wrapper {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto 60px;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.mv-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1 1 60%;
}

.mv-box {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.mv-box i {
  font-size: 40px;
  margin-bottom: 15px;
  color: #FFD700;
}

.mv-box h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.mv-box p {
  font-size: 16px;
  line-height: 1.6;
}

/* Imagen */
.mv-image {
  flex: 1 1 35%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mv-image img {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  transform: rotate(3deg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.mv-image::before {
  content: "";
  position: absolute;
  width: 70%;
  height: 100%;
  border: 4px dotted #FFD700;
  border-radius: 12px;
  top: 10;
  left: 10;
  z-index: 1;
  pointer-events: none;
  transform: rotate(3deg);
}

/* Valores */
.valores-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding-top: 20px;
}
.valores-titulo {
  text-align: center;
  font-size: 32px;
  color: #FFD700;
  margin-bottom: 30px;
}

.valor-box {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  text-align: center;
  transition: transform 0.3s;
}

.valor-box:hover {
  transform: translateY(-5px);
}

.valor-box i {
  font-size: 36px;
  color: #FFD700;
  margin-bottom: 15px;
}

.valor-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.valor-box p {
  font-size: 15px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .mv-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .mv-image {
    margin-top: 30px;
    transform: rotate(0);
  }

  .mv-image::before {
    display: none;
  }
}
/* SECCIÓN PAQUETES */
.paquetes {
  background-color: #0f1218;
  padding: 80px 40px;
  color: white;
  text-align: center;
}

.paquetes-title {
  font-size: 36px;
  color: #FFD700;
  margin-bottom: 50px;
  font-weight: 700;
}

.paquetes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.paquete-card {
  background-color: #0f1218;
  border: 2px solid #FFD700;
  border-radius: 12px;
  padding: 30px 20px;
  max-width: 300px;
  width: 100%;
  transition: transform 0.3s;
}

.paquete-card:hover {
  transform: scale(1.03);
}

.paquete-card img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.precio-tag {
  background-color: #FFD700;
  color: #000;
  font-weight: 700;
  display: inline-block;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 20px;
  margin-bottom: 15px;
}

.paquete-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #fff;
}

.paquete-card p {
  font-size: 16px;
  color: #ccc;
}
.contacto-info {
  background-color: #0f1218;
  padding: 60px 20px;
  color: white;
  border-top: 1px solid #FFD700;
}

.contacto-contenedor {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.mapa {
  flex: 1 1 500px;
  min-width: 300px;
}

.info-texto {
  flex: 1 1 500px;
  min-width: 300px;
}

.info-texto h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #FFD700;
}

.info-texto p {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.6;
}

.info-texto i {
  margin-right: 8px;
  color: #FFD700;
}

/* Responsive */
@media (max-width: 768px) {
  .contacto-contenedor {
    flex-direction: column;
    text-align: center;
  }

  .info-texto p {
    font-size: 15px;
  }
}
.site-footer {
  background-color: #0f1218;
  color: #fff;
  text-align: center;
  padding-top: 40px;
  border-top: 2px solid #FFD700;
  margin-top: 60px;
  font-size: 16px;
}

.footer-contenido {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  padding: 20px 40px;
  border-bottom: 1px solid #FFD700;
}

.footer-col {
  flex: 1 1 300px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.footer-col p {
  color: #ccc;
  font-size: 15px;
  line-height: 1.6;
}

.footer-bottom {
  padding: 20px 0;
  font-size: 14px;
  color: #ccc;
}

.footer-bottom .heart {
  color: #ff4b5c;
}
/* ESTILO PARA TARJETAS DE CONVENIOS */
.convenios-grid {
  max-width: 1200px;
  margin: 20px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.convenio-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.convenio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.convenio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.convenio-card:hover img {
  transform: scale(1.05);
}
/* 🔗 Quitar color azul y subrayado de los enlaces */
a {
  color: inherit;              /* Hereda el color del texto del entorno */
  text-decoration: none;       /* Quita el subrayado */
}

a:visited,
a:active,
a:focus {
  color: inherit;              /* Mantiene el mismo color en todos los estados */
  text-decoration: none;
}

a:hover {
  color: #FFD700;              /* Puedes cambiar este color si quieres resaltar */
  text-decoration: none;
  transition: color 0.3s ease;
}
