/* 
 * HERO SECTION STYLES
 * Estilos para la sección principal (hero) de Todo Versus
 * Diseñado con una estructura de dos columnas y una apariencia visual acorde a la marca
 */

/* ----------------- CONTENEDOR PRINCIPAL ----------------- */
.hero {
    /* Dimensiones para ocupar toda la pantalla */
    min-height: 100vh;
    width: 100vw; /* Usar viewport width */
    
    /* Eliminar cualquier margin/padding que pueda afectar */
    margin: 0;
    padding: 0;
    
    /* Flexbox para alineación */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    /* Fondo con gradiente de la marca */
    background: linear-gradient(135deg, #ED2F59 0%, #F8AD56 100%);
    
    /* Configuración adicional */
    text-align: left;
    position: relative;
    overflow: hidden;
    
    /* Posicionamiento para que empiece desde el borde */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
  }
  
  /* Overlay de gradiente para suavizar la transición al final */
  .hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6rem;
    background: linear-gradient(to bottom, transparent, rgba(248, 173, 86, 0.6));
    z-index: 5;
    display: block !important;
  }
  
  /* ----------------- GRID DE FONDO ----------------- */
  /* Patrón de cuadrícula con líneas claras sobre el fondo */
  .grid-overlay {
    /* Posición absoluta para cubrir todo el hero */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    /* Patrón de cuadrícula creado con gradientes */
    background-image: 
      linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    
    /* Configuración adicional */
    pointer-events: none; /* Permite hacer clic a través */
    z-index: 1;
  }
  
  /* ----------------- LAYOUT DE DOS COLUMNAS ----------------- */
  /* Contenedor que divide el hero en dos columnas */
  .hero__container {
    /* Layout flexible */
    display: flex;
    flex-direction: row;
    
    /* Dimensiones */
    width: 100%;
    max-width: 1200px;
    min-height: 100vh;
    
    /* Posición y apariencia */
    position: relative;
    z-index: 2;
    border: none;
    outline: none;
    padding: 0 1rem;
  }
  
  /* ----------------- COLUMNA DE CONTENIDO (IZQUIERDA) ----------------- */
  /* Contiene título, subtítulo y CTA */
  .hero__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 2rem;
    border: none;
    position: relative;
  }
  
  /* Eliminar cualquier pseudo-elemento que pueda estar creando una línea */
  .hero__content::after,
  .hero__content::before,
  .hero__image-container::before,
  .hero__image-container::after {
    display: none;
  }
  
  /* ----------------- COLUMNA DE IMAGEN (DERECHA) ----------------- */
  /* Contiene la imagen principal */
  .hero__image-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    border: none;
  }

  /* Contenedor para el logo */
  .logo-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 450px;
    max-height: 450px;
  }
  
  /* Imagen principal con efectos visuales */
  .hero__image {
    /* Dimensiones */
    width: 100%;
    max-width: 400px;
    max-height: 400px;
    object-fit: contain;
    object-position: center;
    
    /* Transformaciones */
    transform-origin: center;
    
    /* Transiciones suaves con curvas Bezier personalizadas */
    transition: 
      transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Sin bordes ni sombras para eliminar el recuadro */
    border: none;
    box-shadow: none;
    
    /* Optimización de rendimiento */
    will-change: transform;
    backface-visibility: hidden;
  }
  
  /* Efecto al pasar el mouse sobre la imagen */
  .hero__image:hover {
    transform: translateY(-5px) scale(1.02);
  }
  
  /* ----------------- ELEMENTOS DE TEXTO ----------------- */
  /* Título principal */
  .hero__title {
    font-family: 'Anton', sans-serif; /* Similar a Bushman Sans */
    color: #FFE85A;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 0 #ED2F59;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
  }
  
  /* Subtítulo */
  .hero__subtitle {
    font-family: 'Barlow Condensed', sans-serif; /* Similar a Praktika Cond */
    color: #FFF;
    font-size: 1.7rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
    font-weight: normal;
    opacity: 0.9;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.1);
  }
  
  /* Botón de llamada a la acción (CTA) */
  .hero__cta {
    /* Dimensiones y layout */
    display: inline-block;
    padding: 1rem 2.5rem;
    
    /* Apariencia */
    background: #ED2F59;
    color: #FFF;
    border-radius: 2rem;
    box-shadow: 0 4px 24px rgba(237, 47, 89, 0.3), 0 4px 8px rgba(0,0,0,0.2);
    
    /* Tipografía */
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    
    /* Animación */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  /* Efecto brillante del CTA */
  .hero__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transform: skewX(-20deg);
    transition: all 0.5s ease;
  }
  
  /* Estado hover del CTA */
  .hero__cta:hover {
    background: #FFE85A;
    color: #ED2F59;
    transform: translateY(-3px);
  }
  
  /* Animación del brillo en hover */
  .hero__cta:hover::before {
    left: 100%;
  }
  
  /* ----------------- BOTONES DEL HERO ----------------- */
  /* Contenedor de botones con layout responsivo */
  .hero__buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
  }
  
  /* Estilo base para todos los botones */
  .hero__btn {
    display: inline-block;
    padding: 0.9rem 1.5rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    min-width: 140px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    flex: 0 0 auto;
    white-space: nowrap;
  }
  
  /* Efecto brillante para todos los botones */
  .hero__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-20deg);
    transition: all 0.5s ease;
  }
  
  /* Activar efecto brillante en hover */
  .hero__btn:hover::before {
    left: 100%;
  }
  
  /* Efecto hover general */
  .hero__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  }
  
  /* Botón violeta - Contratanos */
  .hero__btn--violet {
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    color: #FFF;
  }
  
  .hero__btn--violet:hover {
    background: linear-gradient(135deg, #7C3AED, #8B5CF6);
  }
  
  /* Botón rojo - Compra juego */
  .hero__btn--red {
    background: linear-gradient(135deg, #ED2F59, #DC2626);
    color: #FFF;
  }
  
  .hero__btn--red:hover {
    background: linear-gradient(135deg, #DC1F4A, #B91C1C);
  }
  
  /* Botón amarillo - Conocé más */
  .hero__btn--yellow {
    background: linear-gradient(135deg, #FFE85A, #FCD34D);
    color: #ED2F59;
  }
  
  .hero__btn--yellow:hover {
    background: linear-gradient(135deg, #FDE047, #FACC15);
    color: #DC1F4A;
  }
  
  /* ----------------- RESPONSIVE DESIGN ----------------- */
  
  /* DESKTOP - Forzar fila horizontal */
  @media (min-width: 993px) {
    .hero__buttons {
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      gap: 1rem;
      flex-wrap: nowrap;
    }
    
    .hero__btn {
      flex: 0 0 auto;
      width: auto;
      min-width: 140px;
      max-width: 180px;
      padding: 0.9rem 1.3rem;
      font-size: 0.9rem;
    }
  }
  
  /* Pantallas grandes - Optimización para desktop */
  @media (min-width: 1200px) {
    .hero__buttons {
      gap: 1.2rem;
      flex-wrap: nowrap;
    }
    
    .hero__btn {
      min-width: 160px;
      max-width: 200px;
      padding: 1rem 1.5rem;
      font-size: 0.95rem;
    }
  }
  
  /* Tablets y pantallas medianas */
  @media (max-width: 992px) {
    /* Cambiar a layout vertical y reordenar elementos (imagen primero) */
    .hero__container {
      flex-direction: column-reverse;
      padding: 1rem;
    }
    
    /* Centrar contenido */
    .hero__content {
      align-items: center;
      text-align: center;
      padding: 2rem 1.5rem;
    }
    
    /* Ajustar contenedor de imagen */
    .hero__image-container {
      padding: 1.5rem;
      padding-bottom: 0;
    }
    
    /* Ajustar logo wrapper */
    .logo-wrapper {
      max-width: 350px;
      max-height: 350px;
    }
    
    /* Ajustar imagen */
    .hero__image {
      max-width: 300px;
      max-height: 300px;
    }
    
    /* Botones en tablet - mantener en fila pero más compactos */
    .hero__buttons {
      justify-content: center;
      gap: 0.8rem;
      flex-direction: row;
      flex-wrap: wrap;
    }
    
    .hero__btn {
      min-width: 140px;
      padding: 0.8rem 1.2rem;
      font-size: 0.85rem;
      margin-bottom: 0.5rem;
    }
  }
  
  /* Móviles grandes */
  @media (max-width: 768px) {
    /* Ajustar la sección hero para móviles */
    .hero {
      min-height: calc(100vh - 4.5rem);
      padding-top: 0;
      margin-top: 0;
    }
    
    /* Ajustar el contenedor para compensar la navbar */
    .hero__container {
      min-height: calc(100vh - 4.5rem);
      padding-top: 2rem;
    }
    
    /* Reducir tamaños de texto */
    .hero__title {
      font-size: 2.8rem;
    }
    .hero__subtitle {
      font-size: 1.4rem;
      margin-bottom: 2rem;
    }
    
    /* Ajustar espaciado */
    .hero__content {
      padding: 1.5rem 1rem;
    }
    
    /* Ajustar logo wrapper */
    .logo-wrapper {
      max-width: 300px;
      max-height: 300px;
    }
    
    /* Ajustar imagen */
    .hero__image {
      max-width: 250px;
      max-height: 250px;
    }
    
    /* Botones en móvil - cambiar a columna */
    .hero__buttons {
      flex-direction: column;
      align-items: center;
      gap: 0.8rem;
      margin-top: 2rem;
    }
    
    .hero__btn {
      width: 100%;
      max-width: 280px;
      min-width: unset;
      padding: 0.9rem 1.5rem;
      margin-bottom: 0;
    }
  }
  
  /* Móviles pequeños */
  @media (max-width: 480px) {
    /* Ajustar la sección hero para móviles pequeños */
    .hero {
      min-height: calc(100vh - 4rem);
      padding-top: 0;
      margin-top: 0;
    }
    
    /* Ajustar el contenedor para compensar la navbar */
    .hero__container {
      min-height: calc(100vh - 4rem);
      padding-top: 1.5rem;
    }
    
    /* Reducir aún más los tamaños */
    .hero__title {
      font-size: 2.2rem;
    }
    .hero__subtitle {
      font-size: 1.1rem;
      margin-bottom: 1.5rem;
    }
    
    /* Ajustar logo wrapper */
    .logo-wrapper {
      max-width: 250px;
      max-height: 250px;
    }
    
    /* Ajustar imagen */
    .hero__image {
      max-width: 200px;
      max-height: 200px;
    }
    
    /* Botones en móvil pequeño */
    .hero__buttons {
      gap: 0.7rem;
    }
    
    .hero__btn {
      padding: 0.8rem 1.4rem;
      font-size: 0.85rem;
      max-width: 240px;
    }
  }

 