/* NLC Store - styles.css */
:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: #b5b5b5;
  --accent: #f39c12; /* naranja vibrante */
  --accent-2: #00d1b2; /* verde/teal neón */
  --accent-3: #4da3ff; /* azul neón */
  --radius: 14px;
  --shadow-neon: 0 0 12px rgba(243, 156, 18, 0.6), 0 0 24px rgba(243, 156, 18, 0.4);
  --video-overlay: rgba(0, 0, 0, 0.65); /* Overlay para el video de fondo */
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  scroll-behavior: auto; /* nos encargamos con JS para top al cargar */
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 6rem 8rem 4rem;
  isolation: isolate;
  background-image: url('back ground.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.4) 100%);
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(1200px 400px at 50% 120%, rgba(255,255,255,0.05), transparent 60%);
  z-index: -1;
}
.hero-content { 
  text-align: left; 
  max-width: 600px;
}
.brand-title {
  font-size: clamp(4rem, 10vw, 8rem);
  margin: 0;
  letter-spacing: 0.08em;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255,255,255,0.12);
}
.tagline {
  margin: 1rem 0 3rem;
}
.tagline-text {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin: 0;
  line-height: 1.2;
  text-transform: uppercase;
}
.cta-container {
  margin-top: 2rem;
}

/* Buttons */
.cta-button {
  display: inline-block;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  border: 2px solid var(--accent-3);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 0 10px rgba(77, 163, 255, 0.5);
}
.cta-button::after {
  content: "";
  position: absolute; inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  filter: blur(14px);
  opacity: 0.35;
  z-index: -1;
  transition: opacity 0.3s ease;
}
.cta-button:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: var(--accent-3);
  box-shadow: 0 0 12px rgba(77, 163, 255, 0.6), 0 0 30px rgba(0, 163, 255, 0.25);
}
.cta-button:hover::after { opacity: 0.6; }
.cta-button.secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.2);
}

/* Sections */
.section { padding: 4rem 1rem; }
.section-title { text-align: center; margin-bottom: 1.5rem; }
.section-title h2 {
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  margin: 0 0 0.25rem;
}
.section-title p { color: var(--muted); margin: 0; }

/* Collection Section */
.collection-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.collection-item {
  flex: 1 1 45%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  background: rgba(15, 15, 15, 0.5);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 20px rgba(77, 163, 255, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.collection-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.collection-item::before {
  content: "Ver detalles";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.collection-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(77, 163, 255, 0.3);
}

.collection-item:hover::before {
  opacity: 1;
}

.collection-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.collection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.collection-item:hover .collection-image img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

.collection-info {
  padding: 1.5rem;
}

.collection-info h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.collection-info p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

/* Philosophy Section */
.philosophy {
  background: linear-gradient(to right, rgba(15, 15, 15, 0.9), rgba(25, 25, 25, 0.8));
  padding: 5rem 2rem;
  text-align: center;
}

.philosophy-content {
  max-width: 800px;
  margin: 0 auto;
}

.philosophy-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.philosophy-content p {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #e9e9e9;
  margin: 0 0 2rem;
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .collection-item {
    flex: 1 1 100%;
  }
  
  .collection-image {
    height: 250px;
  }
  
  .philosophy {
    padding: 4rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .collection-image {
    height: 200px;
  }
  
  .collection-info {
    padding: 1.2rem;
  }
  
  .collection-info h3 {
    font-size: 1.3rem;
  }
  
  .philosophy {
    padding: 3rem 1rem;
  }
  
  .philosophy-content p {
    font-size: 1rem;
  }
}

/* Footer */
.footer { padding: 2.5rem 1rem 3rem; text-align: center; border-top: 1px solid rgba(255,255,255,0.08); }
.socials { display: flex; justify-content: center; gap: 16px; margin-bottom: 0.75rem; }
.icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; color: var(--text); text-decoration: none;
  background: #0f0f0f; border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.2s ease;
}
.icon:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 0 14px rgba(243, 156, 18, 0.45), 0 0 28px rgba(0, 163, 255, 0.22);
  color: var(--accent-3);
}
.icon i { font-size: 1.1rem; }
.copy { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Reveal on scroll - Efectos mejorados */
.reveal { 
  opacity: 0; 
  will-change: opacity, transform; 
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Diferentes tipos de animaciones */
.reveal[data-reveal="fade"] { 
  transform: translateY(0) scale(0.96); 
}

.reveal[data-reveal="slide-up"] { 
  transform: translateY(40px); 
}

.reveal[data-reveal="fade-right"] { 
  transform: translateX(-40px); 
}

.reveal[data-reveal="fade-left"] { 
  transform: translateX(40px); 
}

.reveal[data-reveal="scale"] { 
  transform: scale(0.85); 
}

/* Estado visible */
.reveal.is-visible { 
  opacity: 1; 
  transform: translateY(0) scale(1) translateX(0); 
}

/* Efectos 3D */
.scroll-3d { 
  perspective: 1200px; 
  perspective-origin: 50% 20%; 
}

.section { 
  transform-style: preserve-3d; 
  will-change: transform;
  transition: transform 0.5s ease;
}
/* Refuerzo final: hover igual al estado base para que no parezca clickeable */
.card:hover { box-shadow: 0 0 16px rgba(243, 156, 18, 0.28), 0 0 28px rgba(0, 163, 255, 0.16) !important; }
.card:hover img { transform: scale(1.04) !important; filter: brightness(1.06) saturate(1.18) !important; }
.card::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  border-radius: var(--radius);
  pointer-events: none;
}
.card:hover { box-shadow: 0 0 16px rgba(243, 156, 18, 0.35), 0 0 32px rgba(0, 163, 255, 0.18); }

/* Message block */
.message { text-align: center; max-width: 860px; margin-inline: auto; }
.message p {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #e9e9e9;
  margin: 0 0 1rem;
}

/* Footer */
.footer { padding: 2.5rem 1rem 3rem; text-align: center; border-top: 1px solid rgba(255,255,255,0.08); }
.socials { display: flex; justify-content: center; gap: 16px; margin-bottom: 0.75rem; }
.icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; color: var(--text); text-decoration: none;
  background: #0f0f0f; border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.2s ease;
}
.icon:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 0 14px rgba(243, 156, 18, 0.45), 0 0 28px rgba(0, 163, 255, 0.22);
  color: var(--accent-3);
}
.icon i { font-size: 1.1rem; }
.copy { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); will-change: opacity, transform; }
.reveal[data-reveal="fade"] { transform: translateY(0) scale(0.98); }
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); transition: opacity 700ms ease, transform 700ms ease; }

/* Accessibility: focus ring */
:where(a, button, .icon, .cta-button):focus-visible { outline: 2px solid var(--accent-3); outline-offset: 3px; border-radius: 12px; }

/* Small helpers */
img { max-width: 100%; height: auto; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
  .cta-button, .icon, .card img { transition: none !important; }
}

/* Mejoras para experiencia táctil en móviles */
.touch-active {
  transform: scale(0.97);
  transition: transform 0.2s ease;
}

@media (hover: hover) {
  .cta-button:hover, 
  .nav-link:hover, 
  .collection-item:hover, 
  .product-card:hover {
    transform: translateY(-3px);
    transition: transform 0.3s ease;
  }
}

@media (hover: none) {
  .cta-button:active, 
  .nav-link:active, 
  .collection-item:active, 
  .product-card:active {
    transform: scale(0.97);
    transition: transform 0.2s ease;
  }
  
  /* Aumentar área táctil para elementos interactivos */
  .nav-link, 
  .cta-button, 
  .filter-group select,
  button {
    min-height: 44px;
    padding: 12px 16px;
  }
}

/* Ajustes adicionales para el diseño */
:root {
  /* Variables de color actualizadas */
  --accent-3: rgba(77, 163, 255, 1);
}

/* Media Queries */

/* Media Queries */
@media (max-width: 1024px) {
  .hero {
    padding: 6rem 4rem 4rem;
  }
  .brand-title {
    font-size: clamp(3rem, 8vw, 6rem);
  }
  .tagline-text {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .section { padding: 3rem 1rem; }
  .collection-container { gap: 1.5rem; }
  .collection-item { min-width: 280px; }
  .hero {
    padding: 6rem 2rem 4rem;
    background-position: 60% center;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-overlay {
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.8) 70%, rgba(0,0,0,0.7) 100%);
  }
  .philosophy { padding: 4rem 1.5rem; }
  .top-nav {
    padding: 1rem 1.5rem;
  }
  .nav-icon {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .collection-container { 
    flex-direction: column;
  }
  .collection-item {
    min-width: 100%;
  }
  .hero {
    padding: 6rem 1.5rem 4rem;
    min-height: 90vh;
    background-attachment: scroll; /* Mejor rendimiento en móviles */
    background-position: 49% center; /* Ajuste para que se vea mejor en móvil */
    background-size: cover;
  }
  .hero-overlay {
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.75) 100%);
  }
  .brand-title {
    font-size: clamp(2.5rem, 7vw, 4rem);
  }
  .tagline-text {
    font-size: clamp(1.2rem, 5vw, 2rem);
  }
  .cta-button {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1.4rem;
    font-size: 0.95rem;
  }
  .collection-image {
    height: 250px;
  }
  .philosophy-content h2 {
    font-size: 1.8rem;
  }
  .philosophy-content p {
    font-size: 1rem;
  }
  .top-nav {
    padding: 0.8rem 1rem;
  }
  .nav-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  .section-title h2 {
    font-size: 1.8rem;
  }
  .section-title p {
    font-size: 0.9rem;
  }
  .collection-info h3 {
    font-size: 1.2rem;
  }
  .collection-info p {
    font-size: 0.9rem;
  }
  .footer {
    padding: 2rem 1rem;
  }
  .copy {
    font-size: 0.85rem;
  }
}

/* Añadiendo soporte para dispositivos muy pequeños */
@media (max-width: 360px) {
  .hero {
    padding: 5rem 1rem 3rem;
  }
  .brand-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .tagline-text {
    font-size: clamp(1rem, 4vw, 1.5rem);
  }
  .collection-image {
    height: 200px;
  }
  .nav-icon {
    width: 32px;
    height: 32px;
  }
}

/* Top navigation */
.top-nav {
  position: absolute; top: 24px; right: 28px; display: flex; gap: 18px; align-items: center; z-index: 100;
}
.top-nav .nav-link { color: var(--text); text-decoration: none; font-weight: 500; opacity: 0.9; }
.top-nav .nav-link:hover { opacity: 1; }
.top-nav .nav-icon { width: 38px; height: 38px; }
.top-nav .nav-icon i { font-size: 1rem; }

/* Estilos de navegación móvil */
@media (max-width: 768px) {
  .nav-links {
    display: flex;
    gap: 1rem;
  }
}

/* Hero entry ambient light refinement */
.hero-overlay {
  background:
    radial-gradient(60vw 60vw at 22% -12%, rgba(255, 115, 0, 0.22), transparent 60%),
    radial-gradient(60vw 60vw at 78% -8%, rgba(0, 170, 255, 0.16), transparent 60%),
    radial-gradient(50vw 50vw at 50% 100%, rgba(0, 230, 170, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0));
  filter: blur(1.2px);
}
.hero-content .brand { animation: heroFade 900ms ease both; }
@keyframes heroFade { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* efecto 3D sutil mientras aparece */
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1) rotateX(0.5deg); transition: opacity 700ms ease, transform 700ms ease; }
/* transición 3D dependiente del scroll */
.section {
  will-change: transform;
}
/* Footer */
.footer { 
  padding: 2.5rem 1rem 3rem; 
  text-align: center; 
  border-top: 1px solid rgba(255,255,255,0.08); 
}

.socials { 
  display: flex; 
  justify-content: center; 
  gap: 16px; 
  margin-bottom: 0.75rem; 
}

.icon {
  width: 44px; 
  height: 44px; 
  display: grid; 
  place-items: center;
  border-radius: 50%; 
  color: var(--text); 
  text-decoration: none;
  background: #0f0f0f; 
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.2s ease;
}

.icon:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 0 14px rgba(243, 156, 18, 0.45), 0 0 28px rgba(0, 163, 255, 0.22);
  color: var(--accent-3);
}

.icon i { 
  font-size: 1.1rem; 
}

.copy { 
  color: var(--muted); 
  margin: 0; 
  font-size: 0.95rem; 
}

/* Message block */
.message { text-align: center; max-width: 860px; margin-inline: auto; }
.message p {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #e9e9e9;
  margin: 0 0 1rem;
}

/* Footer */
.footer { padding: 2.5rem 1rem 3rem; text-align: center; border-top: 1px solid rgba(255,255,255,0.08); }
.socials { display: flex; justify-content: center; gap: 16px; margin-bottom: 0.75rem; }
.icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; color: var(--text); text-decoration: none;
  background: #0f0f0f; border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.2s ease;
}
.icon:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 0 14px rgba(243, 156, 18, 0.45), 0 0 28px rgba(0, 163, 255, 0.22);
  color: var(--accent-3);
}
.icon i { font-size: 1.1rem; }
.copy { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); will-change: opacity, transform; }
.reveal[data-reveal="fade"] { transform: translateY(0) scale(0.98); }
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); transition: opacity 700ms ease, transform 700ms ease; }

/* Accessibility: focus ring */
:where(a, button, .icon, .cta-button):focus-visible { outline: 2px solid var(--accent-3); outline-offset: 3px; border-radius: 12px; }

/* Small helpers */
img { max-width: 100%; height: auto; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
  .cta-button, .icon, .card img { transition: none !important; }
}