/* Eliminar márgenes y padding del body y html */
html,
body {
  margin: 0;
  padding: 0;
  background: url('../img/fondo2.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  /* Ensures the background stays fixed during scrolling */
}

.background-image {
  background-color: rgba(51, 51, 51, 0.4);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  /* Ensure it stays behind other content */
}



/* =========================================
   HEADER PRINCIPAL (main-header)
   ========================================= */


.main-header {
  color: #fff;
  padding: 20px;
  font-family: "Jost", sans-serif;
  /* Cambiar la fuente */
  width: 100%;
  /* Asegura que ocupe todo el ancho */
  box-sizing: border-box;
  /* Incluye el padding dentro del ancho */
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.main-header.transparent {}

.main-header.scrolled {
  background-color: rgba(51, 51, 51, 0.5);
  /* Slightly opaque gray when scrolling */
}

/* Texto Mi sitio */
.main-header__logo {
  float: left;
  font-size: 24px;

}

/* Navegación */
.main-header__nav {
  float: right;
}

.main-header__menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-header__item {
  display: inline-block;
  margin-left: 20px;
}

.main-header__item a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.main-header__item a:hover {
  opacity: 0.7;
}

/* Limpieza de floats */
.main-header.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.logo-header {
  width: 150px;
  margin-left: 20px;
  margin-top: 40px;
  height: auto;
  position: absolute;
  left: 5%;
  top: 85%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 5px #00c6ff) drop-shadow(0 0 15px #6a00f4) drop-shadow(0 0 30px #9d00ff) drop-shadow(0 0 60px #00bfff);
  transition: filter 0.4s ease, opacity 0.5s ease, visibility 0.5s ease;
  opacity: 1;
  visibility: visible;
}

/* Cuando se oculte con scroll */
.logo-hidden {
  opacity: 0;
  visibility: hidden;
  filter: none;
}


/* =========================================
   Content container
   ========================================= */

.content-container {
  background-color: rgba(51, 51, 51, 0.4);
  color: white;
  margin-top: 50px;
  /* Adjust this value to match the height of the header */
  padding: 20px;
}

.scroll-test {
  padding: 20px;
  margin-top: 20px;
  /* Altura suficiente para probar el scroll */
  overflow-y: auto;
  /* Habilita el scroll interno si es necesario */
}

.centered-content {
  width: 80%;
  /* o un ancho fijo, ej: 1200px */
  margin: 0 auto;
  /* centra horizontalmente */
  padding: 20px;
  border-radius: 8px;
}

/* =========================================
   Instagram-style stories
   ========================================= */


.story {
  display: flex;
  flex-wrap: nowrap;
  /* 🔸 las imágenes quedan en una sola línea */
  gap: 10px;
  overflow-x: auto;
  /* 🔸 habilita scroll horizontal */
  scroll-behavior: smooth;
  /* movimiento suave */
  scrollbar-width: none;
  /* oculta la barra en Firefox */
  padding-bottom: 20px;
  padding-top: 20px;
  padding-left: 10px;
}


.story::-webkit-scrollbar {
  display: none;
  /* oculta la barra en Chrome, Edge, Safari */
}

.borde-gradiente {
  flex: 0 0 auto;
  /* 🔸 evita que se redimensionen */
  display: inline-block;
  padding: 3px;
  /* grosor del borde */
  background: linear-gradient(135deg, #6a00f4, #00c6ff);
  border-radius: 50%;
  /* 🔸 redondeado perfecto */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* animaciones suaves */
}

.borde-gradiente:hover {
  box-shadow:
    0 0 10px #6a00f4,
    0 0 20px #00c6ff;
}

.borde-gradiente img {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  /* 🔸 imagen redonda */
}

.borde-gradiente img:hover {
  transform: scale(1.05);
  /* le da un toque de movimiento */
}


.carrusel {
  position: relative;
  width: 100%;
  max-width: 800px;
  /* ajusta el ancho del carrusel */
  margin: auto;
  overflow: hidden;
  /* oculta lo que sale del área visible */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* --- Flechas --- */
.flecha {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #00c6ff;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s ease, transform 0.2s ease;
}

.flecha:hover {
  transform: translateY(-50%) scale(1.1);
}

.flecha.izquierda {
  left: -35px;
}

.flecha.derecha {
  right: -35px;
}



/* =========================================
   Titulo Principal
   ========================================= */

.tittle-prin,
.tittle-prin2 {
  text-align: center;
  color: #fff;
  font-family: 'Birthstone', cursive;
  font-weight: 300;
  text-shadow:
    0 0 5px #6a00f4,
    0 0 10px #00c6ff,
    0 0 20px #9d00ff,
    0 0 40px #00bfff,
    0 0 80px #6a00f4,
    0 0 100px #9d00ff;
}

/* Título principal (más grande y brillante) */
.tittle-prin {
  margin-top: -20px;
  font-size: 150px;
}

/* Subtítulo (más suave y fino) */
.tittle-prin2 {
  margin-top: -140px;
  font-size: 50px;
  text-shadow:
    0 0 3px #00c6ff,
    0 0 7px #6a00f4,
    0 0 15px #9d00ff,
    0 0 30px #00bfff;
  animation: glow 3s infinite alternate;
}

@keyframes glow {
  from {
    text-shadow:
      0 0 5px #00c6ff,
      0 0 10px #6a00f4,
      0 0 20px #9d00ff;
  }

  to {
    text-shadow:
      0 0 10px #00bfff,
      0 0 20px #6a00f4,
      0 0 30px #9d00ff,
      0 0 60px #00c6ff;
  }
}



/* =========================================
   Seleccionador (filter-switch)
   ========================================= */

.filter-switch {
  background-color: rgba(0, 0, 0, 0.2);
  font-family: "Jost", sans-serif;
  border-radius: 30px;
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
  max-width: 1130px;
  width: 100%;
  padding: 4px;
  box-sizing: border-box;
  overflow: hidden;
  margin-top: 40px;
}

.filter-switch::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  padding: 1.5px;
  background: linear-gradient(135deg, #6a00f4, #00c6ff);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.filter-switch input {
  display: none;
}

.filter-switch label {
  flex: 1 1 9.0909%;
  text-align: center;
  cursor: pointer;
  border: none;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.25s ease, font-weight 0.25s ease;
  font-weight: 300;
  font-size: 16px;
  padding: 8px 12px;
  line-height: 1;
}

#firstFilter .background {
  position: absolute;
  width: calc(9.0909% - 8px);
  height: calc(100% - 8px);
  background: linear-gradient(135deg, #6a00f4, #00c6ff);
  top: 4px;
  left: 4px;
  border-radius: 26px;
  transition: left 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Posiciones */
#option-arica:checked~.background {
  left: 4px;
}

#option-iquique:checked~.background {
  left: calc(9.0909% + 4px);
}

#option-antofagasta:checked~.background {
  left: calc(18.1818% + 4px);
}

#option-calama:checked~.background {
  left: calc(27.2727% + 4px);
}

#option-copiapo:checked~.background {
  left: calc(36.3636% + 4px);
}

#option-la-serena:checked~.background {
  left: calc(45.4545% + 4px);
}

#option-santiago:checked~.background {
  left: calc(54.5454% + 4px);
}

#option-vina:checked~.background {
  left: calc(63.6363% + 4px);
}

#option-chillan:checked~.background {
  left: calc(72.7272% + 4px);
}

#option-concepcion:checked~.background {
  left: calc(81.8181% + 4px);
}

#option-temuco:checked~.background {
  left: calc(90.9090% + 4px);
}

/* Checked */
#option-arica:checked+label[for="option-arica"],
#option-iquique:checked+label[for="option-iquique"],
#option-antofagasta:checked+label[for="option-antofagasta"],
#option-calama:checked+label[for="option-calama"],
#option-copiapo:checked+label[for="option-copiapo"],
#option-la-serena:checked+label[for="option-la-serena"],
#option-santiago:checked+label[for="option-santiago"],
#option-vina:checked+label[for="option-vina"],
#option-chillan:checked+label[for="option-chillan"],
#option-concepcion:checked+label[for="option-concepcion"],
#option-temuco:checked+label[for="option-temuco"] {
  color: #fff;
  font-weight: 700;
}

/* Unchecked */
#option-arica:not(:checked)+label[for="option-arica"],
#option-iquique:not(:checked)+label[for="option-iquique"],
#option-antofagasta:not(:checked)+label[for="option-antofagasta"],
#option-calama:not(:checked)+label[for="option-calama"],
#option-copiapo:not(:checked)+label[for="option-copiapo"],
#option-la-serena:not(:checked)+label[for="option-la-serena"],
#option-santiago:not(:checked)+label[for="option-santiago"],
#option-vina:not(:checked)+label[for="option-vina"],
#option-chillan:not(:checked)+label[for="option-chillan"],
#option-concepcion:not(:checked)+label[for="option-concepcion"],
#option-temuco:not(:checked)+label[for="option-temuco"] {
  color: rgba(255, 255, 255, .7);
  font-weight: 300;
}

/* Responsive */
@media (max-width: 480px) {
  .filter-switch {
    height: 44px;
    padding: 3px;
  }

  .filter-switch label {
    font-size: 15px;
    padding: 6px 8px;
  }

  .filter-switch .background {
    width: calc(9.0909% - 6px);
    height: calc(100% - 6px);
    top: 3px;
    left: 3px;
  }

  #option-arica:checked~.background {
    left: 3px;
  }

  #option-iquique:checked~.background {
    left: calc(9.0909% + 3px);
  }

  #option-antofagasta:checked~.background {
    left: calc(18.1818% + 3px);
  }

  #option-calama:checked~.background {
    left: calc(27.2727% + 3px);
  }

  #option-copiapo:checked~.background {
    left: calc(36.3636% + 3px);
  }

  #option-la-serena:checked~.background {
    left: calc(45.4545% + 3px);
  }

  #option-santiago:checked~.background {
    left: calc(54.5454% + 3px);
  }

  #option-vina:checked~.background {
    left: calc(63.6363% + 3px);
  }

  #option-chillan:checked~.background {
    left: calc(72.7272% + 3px);
  }

  #option-concepcion:checked~.background {
    left: calc(81.8181% + 3px);
  }

  #option-temuco:checked~.background {
    left: calc(90.9090% + 3px);
  }
}



/* =========================================
   Cards
   ========================================= */

.cards-container {
  font-family: "Jost", sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.card-link {
  text-decoration: none;
}

.card {
  position: relative;
  /* necesario para el overlay */
  margin-top: 30px;
  box-sizing: border-box;
  width: 190px;
  height: 254px;
  background: rgba(217, 217, 217, 0.58);
  border: 2px solid white;
  box-shadow: 12px 17px 51px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
  border-radius: 17px;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  font-weight: bolder;
  color: white;
  overflow: hidden;
  /* evita que el overlay se salga */
}

.card:hover {
  border: 2px solid #00c6ff;
  transform: scale(1.05);
}

.card:active {
  transform: scale(0.95) rotateZ(1.7deg);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
  border-radius: 15px;
}

/* Overlay que aparece al pasar el cursor */
.card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  overflow: hidden;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 10px;
  font-size: 14px;
  transition: height 0.4s ease;
}

/* Mostrar información al hacer hover */
.card:hover .card-info {
  height: 100%;
}

/* =========================================
    Video Cards
   ========================================= */


.card .video-full {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* rellena sin deformar */
  display: block;
  border: none;
  outline: none;
}


/* =========================================
    Footer
   ========================================= */

:root {
  --bg: #151515;
  --text: #a8a8a8;
  --muted: #8d8d8d;
  --white: #ffffff;

  /* Paleta acento */
  --accent-color: #00c6ff;
  /* cian sólido para bordes y color */
  --accent-color-2: #6a00f4;
  /* violeta (segunda referencia) */
  --accent-gradient: linear-gradient(135deg, #6a00f4, #00c6ff);
}

.site-footer {
  font-family: 'Birthstone', cursive;
  /* font-family: "Jost", sans-serif; */
  background: var(--bg);
  color: var(--text);
  padding: 70px 16px 40px;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.brand-footer {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 26px;
  letter-spacing: 0.3px;
  /* Texto con degradado violeta→cian */
  background: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-nav-footer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
}

.footer-nav-footer a {
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 20px;
  /* Texto con degradado */
  background: #a8a8a8;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-nav-footer a:hover {
  color: var(--white);
  /* fallback visual en hover */
  -webkit-text-fill-color: var(--white);
}

.social-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin: 22px 0 34px;
}

.social-btn-footer {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  z-index: 1;
}

/* Capa que simula el borde degradado */
.social-btn-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  /* grosor del borde */
  background: linear-gradient(135deg, #6a00f4, #00c6ff);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}



/* Fondo degradado al pasar el mouse */
.social-btn-footer:hover {
  background: var(--accent-gradient);
  color: #111;
  transform: translateY(-2px);
}



.copy-footer {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.copy-footer {
  font-family: "Jost", sans-serif;
  display: inline-block;
  margin: 0 0.35em;
  color: #7b7b7b;
  font-size: 13px;
}

/* Enlaces de copy con degradado */
.copy-footer a {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.copy-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
  .brand-footer {
    font-size: 26px;
  }

  .social-footer {
    gap: 16px;
  }
}

/* =========================================
   Popup styles
   ========================================= */

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup {
  background: #fff;
  border-radius: 16px;
  padding: 25px 30px;
  max-width: 420px;
  text-align: center;
  font-family: "Quicksand", sans-serif;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.3s ease-in-out;
}

.popup h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #222;
}

.popup p {
  font-size: 15px;
  margin-bottom: 20px;
  color: #444;
}

.popup button {
  background: linear-gradient(135deg, #6a00f4, #00c6ff);
  border: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
}

.popup button:hover {
  background-color: #a21845;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

/* Estilo elegante neon del SELECT */
.dropdown select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 16px;
  font-family: "Jost", sans-serif;
  color: #e3dfff; /* texto lila suave */
  
  background: linear-gradient(135deg, #2d2b70, #442d88);
  border: 2px solid rgba(140, 120, 255, 0.5);
  box-shadow: 
      0 0 6px rgba(120, 90, 255, 0.4),
      inset 0 0 8px rgba(80, 80, 200, 0.3);

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  cursor: pointer;
  transition: 0.2s ease;
}

/* Hover */
.dropdown select:hover {
  box-shadow: 
      0 0 10px rgba(140, 90, 255, 0.7),
      inset 0 0 10px rgba(100, 100, 255, 0.4);
  border-color: rgba(160, 120, 255, 0.9);
}

/* Focus */
.dropdown select:focus {
  outline: none;
  box-shadow:
      0 0 14px rgba(170, 120, 255, 1),
      inset 0 0 10px rgba(120, 120, 255, 0.4);
  border-color: #bba2ff;
}

/* Flechita custom */
.dropdown::after {
  content: "▼";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #d8c8ff;
  pointer-events: none;

  text-shadow: 0 0 6px rgba(160, 120, 255, 0.7);
}

/* Opciones internas */
.dropdown option {
  background: #342b60;
  color: #e7ddff;
  font-size: 15px;
}

@media (max-width: 768px) {
  .filter-switch {
    display: none !important;
  }
  .dropdown {
    display: block;
  }
}

@media (min-width: 769px) {
  .dropdown {
    display: none;
  }
}

