/* ===== RESET ===== */
html, body {
  margin: 0;
  background: rgb(248, 241, 227);
  overflow-x: hidden; /* quita scroll horizontal */
  overflow-y: scroll;

  scrollbar-width: none; /* Firefox */
}

/* Chrome / Safari */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

/* ESCALA GLOBAL */
html {
  font-size: clamp(14px, 1vw, 18px);
}

/* ===== HEADER ===== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2vw;
}

/* BOTÓN VOLVER */
.btn-back {
  text-decoration: none;
  font-family: 'MiFuente', sans-serif;
  color: rgba(0,10,147,0.84);
  letter-spacing: -0.02em;
  font-weight: 600;
  font-size: 2.25rem;
}

/* ===== IDIOMA ===== */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.lang-switch button {
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  opacity: 0.4;
}

.lang-switch button.active {
  opacity: 1;
}

.lang-switch span {
  opacity: 0.4;
}

/* ===== FUENTE ===== */
@font-face {
  font-family: 'MiFuente';
  src: url('CargoMonumentGroteskPlusVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
}

/* ===== TITULO ===== */
.hero-container {
  width: 100%;
  padding: 2rem 2vw;
}

.hero-title {
  font-family: 'MiFuente', sans-serif;
  font-weight: 400;
  font-size: clamp(3rem, 10vw, 12rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: #2f3bbd;

  text-align: center;
  width: 100%;
  margin: 0 0 2rem 0;
}

/* ocultar idioma */
[hidden] {
  display: none !important;
}

/* ===== GALERÍA ===== */
.info_galleri {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  padding-left: 0.4rem;
  padding-right: 1.5rem;
 

}

/* ITEM */
.imagenes_sport {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

/* IMAGEN */
.imagenes_sport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transition: transform 0.4s ease, filter 0.4s ease;
}

/* HOVER */
.info_galleri:hover img {
  filter: brightness(0.6);
}

.imagenes_sport:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 999;
}

.lightbox img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
}

.hidden {
  display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .info_galleri {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .info_galleri {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}