@font-face {
  font-family: 'HelveticaNeueLTStdRegular';
  src: url('../letras/helveticaneueltstd-bd.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'HelveticaNeueLTStd';
  src: url('../letras/helveticaneueltstd-bd.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'HelveticaNeueLTStd';
  src: url('../letras/HelveticaNeueLTStd-BdEx_0.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'HelveticaNeueLTStd';
  src: url('../letras/HelveticaNeueLTStd-Blk_0.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'HelveticaNeueLTStd';
  src: url('../letras/HelveticaNeueLTStd-BlkEx_0.otf') format('opentype');
  font-weight: 950;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('../letras/Inter-VariableFont_slnt,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}


.hero {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
    color: white;
    text-align: center;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.10);
    z-index: 0;
  }
  
  .hero-inner {
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* ocupa toda la pantalla */
    padding: 1rem 2rem;
  }
  
  .hero-text h1 {
    font-size: 5.6rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
    font-family: 'HelveticaNeueLTStd', sans-serif;
    color: white;
  }
  
  .hero-text p {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
    font-family: 'HelveticaNeueLTStd', sans-serif;
    color: white;
  }
  
  .brand-row {
    display: flex;
    flex-direction: row;
    gap: 5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    flex-shrink: 0;
  }
  
  .brand-row img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: transform 0.2s;
    flex-shrink: 0;
  }
  
  .brand-row img:hover {
    transform: scale(1.1);
    opacity: 1;
  }
  
  .navbar-flotante {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 1.7rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: auto;
    transition: background 0.3s ease;
  }

  .navbar-flotante.scroll {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
  }
  
  .navbar-flotante a {
    color: white;
    font-weight: 600;
    text-decoration: none;
    margin: 0 1rem;
    font-size: .9rem;
    transition: opacity 0.2s ease;
    font-family: 'HelveticaNeueLTStdRegular', sans-serif;
  }
  
  .navbar-flotante a:hover {
    opacity: 0.7;
  }
  
  .navbar-icons{
    display: flex;
  }

  .brand-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 0.8rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
  }
  
  .brand-footer.scroll {
    background: rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(4px);
  }

  .bio-section {
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
    background: black;
    color: white;
  }
  
  .bio-image {
    flex: 0 0 55%;
    max-width: 55%;
  }
  
  .bio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .bio-content {
    flex: 0 0 45%;
    max-width: 45%;
    background: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 4rem;
  }
  
  .bio-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: white;
    font-family: 'HelveticaNeueLTStd', sans-serif;
  }
  
  .bio-text h2 span {
    display: block;
    font-family: 'HelveticaNeueLTStd', sans-serif;
    font-weight: 900;
  }
  
  .bio-text p {
    font-size: .9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: white;
    transition: text-shadow 0.3s ease, color 0.3s ease;
    font-family: 'Inter', sans-serif;
  font-weight: 400;
  }
  
  .bio-text strong {
    font-weight: 700;
  }

  /* Aseguramos que la galería abarque todo */
#galeria-partido-dinamica {
  width: 100%;
  padding: 2rem .5vw;
}

/* Cada foto (el a.foto) se vuelve un contenedor relativo para el overlay */
.uk-inline1.foto {
  position: relative;
  overflow: hidden;
  display: block;
}

/* Imagen de fondo dentro de .imge */
.uk-inline1 .imge {
  transition: transform 0.3s ease;
}

/* Overlay al hacer hover */
.uk-inline1.foto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(40, 181, 233, 0.65) 0%, rgba(40, 181, 233, 0.65) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  left: 15px;
}

.full-width-encontrate {
  padding-left: .5vw;
  padding-right: .5vw;
}

#galeria-partido-dinamica {
  padding-top: 3rem;
  padding-bottom: 6rem;
}

.hero-text{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1024px) {

  .matchSection{
    padding: 0 15px;
  }

  .hero-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .hero-text h1 {
    font-size: 4rem;
  }

  .inner-hero-p {
    font-size: .8rem !important;
    font-weight: 400 !important;
  }

  .bio-content {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 3.2rem;
    letter-spacing: 1px;
  }

  .hero-text p {
    font-size: .8rem;
    letter-spacing: 1px;
  }

  .hero-inner {
    padding: 2rem 1rem;
  }

  .bio-section {
    flex-direction: column;
  }

  .bio-image,
  .bio-content {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .bio-content {
    padding: 2rem;
  }

  .brand-row {
    gap: 2rem;
  }

  .navbar-flotante {
    padding: 1rem;
  }

  .navbar-flotante a {
    margin: 0 0.5rem;
    font-size: 0.85rem;
  }

  .brand-footer {
    padding: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2.4rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  .bio-text h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  .bio-text p {
    font-size: 0.85rem;
  }

  .brand-row {
    gap: 1.5rem;
  }

  .navbar-flotante a {
    font-size: 0.75rem;
  }
}
.menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  display: none;
  cursor: pointer;
}

.nav-dropdown {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  padding: 1rem;
  width: 100%;
  left: 0;
  text-align: center;
  z-index: 1001;
}

.nav-dropdown a {
  padding: 0.5rem 0;
  font-size: 1.2rem;
  color: white;
  font-family: 'HelveticaNeueLTStdRegular', sans-serif;
  text-decoration: none;
}

.nav-dropdown.show {
  display: flex;
}

@media (max-width: 768px) {
  .navbar-flotante {
    justify-content: flex-start;
  }

  .nav-left a {
    display: none;
  }

  .navbar-icons {
    margin-left: auto;
  }

  .menu-toggle {
    display: block;
  }

  .brand-footer {
    display: none !important;
  }
}
.foto-container {
  position: relative;
  cursor: pointer;
}

.foto-link {
  display: block;
  position: relative;
  overflow: hidden;
}

.foto-img {
  width: 100%;
  display: block;
}

.hover-overlay {
  background: linear-gradient(0deg, rgba(40, 181, 233, 0.65), rgba(40, 181, 233, 0.65));
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.icon-wrapper svg {
  width: 67px;
  height: 67px;
  fill: white;
  z-index: 9999999999999;
}

.lightbox-container {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox-container.open {
  display: flex;
}

.modal-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.close-lightbox {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}


.foto-link:hover .hover-overlay {
  opacity: 1;
}

#custom-lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  padding: 0;
  background: transparent; /* ✅ sin fondo */
  box-shadow: none;        /* ✅ sin sombra ni borde */
}

.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  display: block;
  margin: 0 auto;
  border-radius: 0; /* ✅ sin radius */
}

.close-btn,
.share-btn,
.download-btn {
  position: absolute;
  top: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
}

.close-btn {
  right: 15px;
}

.download-btn {
  right: 60px;
  top: 8px !important;
}

.share-btn {
  position: absolute;
  left: 15px;
  top: 15px;
  z-index: 999;
}

.share-menu {
  display: none;
  position: absolute;
  top: 10px;
  left: 50px;
  background: white;
  border-radius: 20px;
  padding: 2px 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  flex-direction: row;
  gap: 10px;
  align-items: center;
  z-index: 1000;
  min-height: 34px;
}

/* Flechita a la izquierda del menú, apuntando al botón */
.share-menu::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid white;
}


/* Íconos */
.share-menu svg {
  fill: #555;
  cursor: pointer;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.share-menu svg:hover {
  transform: scale(1.1);
  fill: #000;
}

.lightbox-content {
  background: transparent !important;
  box-shadow: none !important;
}

.download-btn svg {
  fill: white;
  transition: transform 0.2s ease;
}
.download-btn:hover svg {
  transform: scale(1.1);
  fill: #ccc;
}

/* Sección general */
.galeria-section {
  margin-top: 1rem;
  background: black;
  color: white;
  padding-bottom: 5rem;
}

/* Banner de 50vh con overlay */
.galeria-tato-banner {
  height: 50vh;
  background: url('../newMedia/bannerGaleria.png') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.galeria-tato-banner-text h1 {
  font-size: 2em;
  color: white;
  font-family: 'HelveticaNeueLTStd', sans-serif;
  letter-spacing: 2px;
  margin: 0;
}

.galeria-tato-justified {
  column-count: 4;
  column-gap: 15px;
  padding: 1rem 0.5rem;
}

.galeria-tato-foto-link {
  display: inline-block;
  width: 100%;
  margin-bottom: 10px;
}

.galeria-tato-foto-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.galeria-tato-foto-link:hover .galeria-tato-foto-img {
  transform: scale(1.03);
}

/* Responsive */
@media (max-width: 1024px) {
  .galeria-tato-foto-link {
    flex: 1 1 calc(33.333% - 10px);
    max-width: calc(33.333% - 10px);
  }
}

@media (max-width: 768px) {
  .galeria-tato-foto-link {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

@media (max-width: 480px) {
  .galeria-tato-foto-link {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .galeria-tato-justified {
    column-count: 3;
  }
}
@media (max-width: 768px) {
  .galeria-tato-justified {
    column-count: 2;
  }
}
@media (max-width: 480px) {
  .galeria-tato-justified {
    column-count: 1;
  }
}


.galeria-tato-lightbox-container {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.galeria-tato-lightbox-container.open {
  display: flex;
}

.galeria-tato-lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  position: relative;
  z-index: 1000;
}

/* Close Button */
.galeria-tato-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1001;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  padding: 5px;
  transition: transform 0.2s ease;
}

.galeria-tato-lightbox-close:hover {
  transform: scale(1.1);
}

.galeria-tato-lightbox-close svg {
  display: block;
  width: 24px;
  height: 24px;
}

/* Arrows */
.galeria-tato-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
}

.galeria-tato-left {
  left: 5%;
}

.galeria-tato-right {
  right: 5%;
}
