* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

:root {
  --brand-yellow: #e2ff00;
  --brand-white: #ffffff;
  --bg-dark: #1e1e2d; /* Fondo oscuro del contenedor */
  --card-bg: #292935; /* Fondo de cada tarjeta */
  --accent-gradient: linear-gradient(135deg, #d4fc79 0%, #96e6a1 100%);
  --text-main: #ffffff;
  --text-muted: #a0a0b0;
}
/* --- CAMBIO 1: Hacemos el header más pequeño --- */
header {
  background-color: var(--brand-yellow);
  position: sticky;
  top: 0;
  z-index: 10;
  height: 160px;               /* 🔑 header pequeño */
  padding: 0 40px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}



.header-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- CAMBIO 3: Hacemos el logo más grande --- */
.logo-img {
  margin-top: 40px;
  max-width: 690px;
  max-height: 350px;
  display: block;
}

/* --- BUSCADOR --- */
.search-container {
  display: flex;
  background: var(--brand-white);
  border: 2px solid var(--brand-black);
  border-radius: 50px;
  overflow: hidden;
  margin-top: 10px;
  width: 100%;
}

.search-select {
  background: #eee;
  border: none;
  border-right: 1px solid #ccc;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 700;
  outline: none;
  width: 120px;
}

.search-input {
  flex: 1;
  border: none;
  padding: 10px 15px;
  font-size: 14px;
  outline: none;
  min-width: 0;
}

/* --- MENÚ HAMBURGUESA (Solo móvil) --- */
.hamburger {
  display: block;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--card-bg);
  margin: 5px 0;
  border-radius: 3px;
  transition: var(--transition);
}

/* --- MENÚ LATERAL (Móvil) --- */
.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background: var(--brand-white);
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  transition: right 0.4s ease-in-out;
}

.nav-menu.active {
  right: 0;
}

.close-menu {
  align-self: flex-end;
  font-size: 30px;
  cursor: pointer;
  font-weight: bold;
}

.btn {
  padding: 15px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  align-items: center;
  border: 2px solid var(--card-bg);
}

.btn-register {
  background: var(--card-bg);
  color: var(--brand-yellow);
}
.btn-login {
  background: var(--brand-white);
  color: var(--brand-black);
}
.btn-explore {
  background: transparent;
  color: var(--brand-black);
}

/* Capa oscura de fondo */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
  z-index: 1000;
}

.overlay.active {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* --- DISEÑO DESKTOP (PC) --- */
@media (min-width: 1024px) {
  header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    padding: 10px 5%;
  }

  .header-top {
    width: auto;
  }
  .hamburger {
    display: none;
  }

  .search-container {
    margin-top: 0;
    max-width: 500px;
  }

  .nav-menu {
    position: static;
    flex-direction: row;
    width: auto;
    height: auto;
    background: none;
    box-shadow: none;
    padding: 0;
    margin-left: auto;
    transition: none;
  }

  .close-menu {
    display: none;
  }

  .btn {
    padding: 10px 20px;
    font-size: 12px;
  }
}

.nav-bottom {
    padding-block: 16px;
    background: #dfd10c;
    justify-content: center;
    align-items: center;
    gap: 10px;
    li{
        list-style-type: none;
    }
    a{
        color:black;
        text-decoration: none;
    }
    img {
    height: 20px;
    border-radius: 50%;
  }
}

/* --- ESTILOS CORREGIDOS PARA LA NAVEGACIÓN INFERIOR CON EFECTO ESCALA --- */

/* Contenedor principal de la barra de navegación inferior */
.nav-bottom {
    padding-block: 16px;
    background: #dfd10c;
}

/* El contenedor de la lista */
.file-types-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

/* Estilos para el enlace (aquí aplicamos el efecto) */
.nav-bottom a {
    color: black;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 5px;
    
    transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

/* --- NUEVO: Efecto al pasar el mouse --- */
.nav-bottom a:hover {
    transform: scale(1.1); /* Escala el elemento al 110% de su tamaño original */
    background-color: rgba(0, 0, 0, 0.1); /* Mantenemos el cambio de color de fondo */
}

.nav-bottom img {
    height: 20px;
    border-radius: 50%;
    margin-right: 4px;
}

/* --- Estilos para MÓVILES Y TABLETS --- */
/* --- Estilos para tablets y móviles grandes --- */
@media (max-width: 768px) {
  .nav-bottom {
    padding-block: 10px; 
    justify-content: flex-start; 
  }

  .file-types-list {
    flex-wrap: nowrap; 
    overflow-x: auto; 
    scrollbar-width: none;
    -ms-overflow-style: none;
    
    /* --- CAMBIO CLAVE: Añadimos un gap más pequeño para móviles --- */
    gap: 10px; 
  }

  .file-types-list::-webkit-scrollbar {
    display: none;
  }
  .logo-img {
  width: 260px;
  max-height: 230px;
  margin-right: 77px;
  margin-left: -70px;
  display: block;
}
.search-container{
  display: none;
}

header{
  height: 110px;

}
.hamburger{
  margin-top: 30px;
  margin-left: 10px;
  width: 3px;
}
 }
/* --- Ajustes FINOS para pantallas MUY PEQUEÑAS (móviles) --- */
@media (max-width: 480px) {
  /* --- Estilos para la barra de navegación inferior (sin cambios) --- */
  .nav-bottom {
    padding-block: 8px;
  }
  .file-types-list {
    gap: 4px;
  }
  .nav-bottom a {
    padding: 4px 8px;
  }
  .nav-bottom img {
    height: 18px;
  }

  /* ================================================================= */
  /* --- NUEVOS AJUSTES PARA EL HEADER (LOGO Y MENÚ HAMBURGUESA) --- */
  /* ================================================================= */

  .header-top {
    gap: 5px; /* Espacio de 15px entre el logo y el menú */
  }

  .logo-img {
    max-width:90rem; /* <-- AUMENTA este valor para hacerlo más grande (ej. 240px) */
    height: auto;     /* Mantiene las proporciones */
  }

  .search-container {
    display: none; /* En móviles, el buscador a menudo va dentro del menú */
  }

  .hamburger {
    margin-left: auto; /* <-- ¡EL TRUCO DEFINITIVO! Esto lo empuja a la derecha */
  }
} 


/* ================== MARQUEE INFINITO ================== */
/* ================== NAVEGACIÓN INFERIOR CON MARQUEE ================== */
/* ================== NAVEGACIÓN INFERIOR CON MARQUEE ================== */

.nav-bottom {
  padding-block: 16px;
  background: #dfd10c;
  overflow: hidden;
}

/* Contenedor del marquee */
.marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
  display: flex;
}

/* Contenido que se mueve */
.marquee-content {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style-type: none;
  margin: 0;
  padding: 0;
  animation: scroll-left 80s linear infinite;
  flex-shrink: 0;
}

/* Pausar animación al hacer hover */
.marquee:hover .marquee-content {
  animation-play-state: paused;
}

/* Animación de desplazamiento */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Items individuales */
.file-type-item {
  list-style-type: none;
  flex-shrink: 0;
}

/* Enlaces con efecto hover - CLICKEABLES */
.nav-bottom a {
  color: black;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 8px;
  transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
  white-space: nowrap;
  cursor: pointer; /* Asegurar que se vea clickeable */
  pointer-events: auto; /* Permitir clicks */
}

.nav-bottom a:hover {
  transform: scale(1.1);
  background-color: rgba(0, 0, 0, 0.15);
}

.nav-bottom img {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  margin-right: 8px;
  object-fit: cover;
  pointer-events: none; /* Los clicks pasan al enlace padre */
}

.nav-bottom span {
  font-weight: 500;
  font-size: 14px;
  pointer-events: none; /* Los clicks pasan al enlace padre */
}

/* ================== RESPONSIVE DESIGN ================== */

/* Tablets */
@media (max-width: 768px) {
  .nav-bottom {
    padding-block: 12px;
  }
  
  .marquee-content {
    gap: 20px;
    animation-duration: 25s;
  }
  
  .nav-bottom a {
    padding: 6px 12px;
  }
  
  .nav-bottom span {
    font-size: 13px;
  }
}

/* Móviles */
@media (max-width: 480px) {
  .nav-bottom {
    padding-block: 10px;
  }
  
  .marquee-content {
    gap: 15px;
    animation-duration: 20s;
  }
  
  .nav-bottom a {
    padding: 5px 10px;
  }
  
  .nav-bottom img {
    height: 18px;
    width: 18px;
    margin-right: 6px;
  }
  
  .nav-bottom span {
    font-size: 12px;
  }
}
