/* ============================================================
   NOVA WEAR — styles.css
   Paleta : #F5F5F0 (fondo) · #00FF87 (acento) · #0A0A0A (oscuro)
   Fuentes : Bebas Neue (títulos) · Inter (cuerpo)
   Orden   : Variables → Reset → Utilidades → Componentes →
             Secciones → Footer → Responsive
============================================================ */


/* ────────────────────────────────────────────────────────
   1. VARIABLES
──────────────────────────────────────────────────────── */
:root {
  --c-bg:       #F5F5F0;
  --c-dark:     #0A0A0A;
  --c-dark-2:   #141414;
  --c-dark-3:   #1e1e1e;
  --c-accent:   #00FF87;
  --c-accent-d: #00cc6a;
  --c-muted:    #888888;
  --c-border:   #E0E0DA;

  --f-title:    'Gelasio', serif;
  --f-body:     'Gelasio', serif;

  --nav-h:      72px;
  --max-w:      1160px;
  --radius:     3px;
  --ease:       0.3s ease;
}


/* ────────────────────────────────────────────────────────
   2. RESET
──────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--f-body);
  background-color: var(--c-bg);
  color: var(--c-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, iframe {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

address {
  font-style: normal;
}


/* ────────────────────────────────────────────────────────
   3. UTILIDADES
──────────────────────────────────────────────────────── */

/* Etiqueta pequeña verde sobre los títulos */
.section-tag {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1rem;
}

/* Título de sección */
.section-title {
  font-family: var(--f-title);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1.0;
  letter-spacing: 0.025em;
  color: var(--c-dark);
  margin-bottom: 1.5rem;
}

.section-title--light {
  color: var(--c-bg);
}


/* ────────────────────────────────────────────────────────
   4. BOTONES
──────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--ease),
              color var(--ease),
              border-color var(--ease),
              transform var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

/* Verde neón sólido → vacío al hover */
.btn--primary {
  background-color: var(--c-accent);
  color: var(--c-dark);
  border-color: var(--c-accent);
}

.btn--primary:hover {
  background-color: transparent;
  color: var(--c-accent);
}

/* Contorno blanco semitransparente → sólido al hover */
.btn--outline {
  background-color: transparent;
  color: var(--c-bg);
  border-color: rgba(245, 245, 240, 0.35);
}

.btn--outline:hover {
  border-color: var(--c-bg);
  background-color: rgba(245, 245, 240, 0.08);
}


/* ────────────────────────────────────────────────────────
   5. NAVBAR
──────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background-color: transparent;
  transition: background-color var(--ease), box-shadow var(--ease);
}

/* Fondo oscuro al hacer scroll (clase añadida por JS) */
.navbar.scrolled {
  background-color: var(--c-dark);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.navbar__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.navbar__logo {
  font-family: var(--f-title);
  font-size: 1.75rem;
  letter-spacing: 0.14em;
  color: var(--c-bg);
  transition: color var(--ease);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar__logo:hover {
  color: var(--c-accent);
}

.navbar__logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  vertical-align: middle;
}

/* Links de navegación */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.navbar__nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(245, 245, 240, 0.75);
  transition: color var(--ease);
  position: relative;
}

/* Subrayado animado en los links */
.navbar__nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--c-accent);
  transition: width var(--ease);
}

.navbar__nav a:not(.navbar__cta):hover {
  color: var(--c-bg);
}

.navbar__nav a:not(.navbar__cta):hover::after {
  width: 100%;
}

/* Botón CTA del navbar */
.navbar__cta {
  background-color: var(--c-accent) !important;
  color: var(--c-dark) !important;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background-color var(--ease), color var(--ease), outline var(--ease) !important;
}

.navbar__cta::after {
  display: none !important;
}

.navbar__cta:hover {
  background-color: var(--c-accent-d) !important;
  color: var(--c-dark) !important;
  transform: translateY(-1px);
}

/* Botón hamburguesa (oculto en desktop) */
.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 32px;
  height: 32px;
}

.navbar__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--c-bg);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}

/* Animación X cuando el menú está abierto */
.navbar__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.navbar__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ────────────────────────────────────────────────────────
   6. HERO
──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--c-dark);
  overflow: hidden;
}

/* Rejilla de fondo sutil */
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      rgba(0, 255, 135, 0.04) 79px,
      rgba(0, 255, 135, 0.04) 80px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(0, 255, 135, 0.04) 79px,
      rgba(0, 255, 135, 0.04) 80px
    );
  pointer-events: none;
}

/* Resplandor verde en la esquina derecha */
.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 70% at 80% 50%,
    rgba(0, 255, 135, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Contenido centrado */
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 5rem) 2rem 6rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

/* Tag "Bomber Collection 2026" */
.hero__tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
  border: 1px solid rgba(0, 255, 135, 0.3);
  padding: 0.35rem 1rem;
  border-radius: 999px;
}

.hero__tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--c-accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* Título H1 */
.hero__title {
  font-family: var(--f-title);
  font-size: clamp(4.5rem, 12vw, 10.5rem);
  line-height: 0.92;
  letter-spacing: 0.025em;
  color: var(--c-bg);
}

.hero__title--accent {
  color: var(--c-accent);
}

/* Subtítulo */
.hero__subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 300;
  color: rgba(245, 245, 240, 0.55);
  line-height: 1.75;
  max-width: 420px;
}

/* Botones */
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

/* Indicador de scroll */
.hero__scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(245, 245, 240, 0.3);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color var(--ease);
  animation: float 2.4s ease-in-out infinite;
}

.hero__scroll:hover {
  color: rgba(245, 245, 240, 0.7);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}


/* ────────────────────────────────────────────────────────
   7. PRODUCTO ESTRELLA
──────────────────────────────────────────────────────── */
.producto {
  background-color: var(--c-dark-2);
  padding: 9rem 2rem;
}

.producto__container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

.producto__header {
  text-align: center;
}

.producto__subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(245, 245, 240, 0.5);
  margin-top: 0.75rem;
  font-style: italic;
}

/* Grid de dos imágenes */
.producto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  width: 100%;
}

.producto__img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--c-dark-3);
}

/* Imagen real */
.producto__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.producto__img-wrap:hover img {
  transform: scale(1.04);
}

/* Placeholder imagen trasera */
.producto__img-placeholder {
  aspect-ratio: 2 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 1px dashed rgba(245, 245, 240, 0.12);
  border-radius: var(--radius);
}

.producto__img-placeholder span {
  font-family: var(--f-title);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: rgba(245, 245, 240, 0.2);
}

.producto__img-placeholder p {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 245, 240, 0.15);
}

/* Etiqueta inferior de cada imagen */
.producto__img-label {
  display: block;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 245, 240, 0.35);
  padding: 0.75rem 0 0.25rem;
}

.producto__cta {
  text-align: center;
}

/* ────────────────────────────────────────────────────────
   8. ABOUT (Historia de la marca)
──────────────────────────────────────────────────────── */
.about {
  background-color: var(--c-bg);
  padding: 9rem 2rem;
}

.about__container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 6rem;
}

/* Bloque de imagen */
.about__media {
  position: relative;
  flex: 0 0 520px;
}

.about__img-wrap {
  overflow: hidden;
  border-radius: var(--radius);
}

.about__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Coloca aquí tu imagen real: <img src="img/about.jpg" ...> */
.about__img-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: var(--c-dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-title);
  font-size: 2rem;
  letter-spacing: 0.2em;
  color: rgba(245, 245, 240, 0.08);
  user-select: none;
}

/* Badge circular */
.about__badge {
  position: absolute;
  bottom: -1.4rem;
  right: -1.4rem;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background-color: var(--c-accent);
  color: var(--c-dark);
  font-family: var(--f-title);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Texto del about */
.about__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.about__body p {
  font-size: 0.97rem;
  color: #505050;
  line-height: 1.85;
  margin-bottom: 1.1rem;
}

/* Estadísticas */
.about__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.8rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
}

.stat__number {
  display: block;
  font-family: var(--f-title);
  font-size: 3rem;
  line-height: 1;
  color: var(--c-dark);
}

.stat__plus {
  font-size: 1.8rem;
  color: var(--c-accent);
}

.stat__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-muted);
  margin-top: 0.35rem;
}


/* ────────────────────────────────────────────────────────
   8. STORE
──────────────────────────────────────────────────────── */
.store {
  background-color: var(--c-dark);
  padding: 9rem 2rem;
}

.store__container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.store__header {
  text-align: center;
  margin-bottom: 5rem;
}

.store__subtitle {
  font-size: 0.95rem;
  color: rgba(245, 245, 240, 0.45);
  margin-top: 0.75rem;
  font-weight: 300;
}

/* Grid 2 columnas: info | mapa */
.store__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3.5rem;
  align-items: start;
}

/* Lista de info-cards */
.store__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.4rem 1.3rem;
  background-color: rgba(245, 245, 240, 0.03);
  border: 1px solid rgba(245, 245, 240, 0.07);
  border-radius: var(--radius);
  transition: border-color var(--ease), background-color var(--ease);
}

.info-card:hover {
  border-color: rgba(0, 255, 135, 0.25);
  background-color: rgba(0, 255, 135, 0.03);
}

.info-card > i {
  color: var(--c-accent);
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.info-card h3 {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.4rem;
}

.info-card p,
.info-card address {
  font-size: 0.87rem;
  color: rgba(245, 245, 240, 0.55);
  line-height: 1.7;
}

.info-card a {
  color: rgba(245, 245, 240, 0.55);
  transition: color var(--ease);
}

.info-card a:hover {
  color: var(--c-accent);
}

/* Mapa iframe */
.store__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(245, 245, 240, 0.07);
  height: 430px;
}

.store__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) invert(1) contrast(1.05) brightness(0.85);
}


/* ────────────────────────────────────────────────────────
   9. FOOTER
──────────────────────────────────────────────────────── */
.footer {
  background-color: #060606;
  border-top: 1px solid rgba(245, 245, 240, 0.05);
  padding: 4.5rem 2rem 2.5rem;
}

.footer__container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  text-align: center;
}

.footer__logo {
  font-family: var(--f-title);
  font-size: 2.4rem;
  letter-spacing: 0.18em;
  color: var(--c-bg);
  display: block;
}

.footer__brand p {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(245, 245, 240, 0.35);
  letter-spacing: 0.06em;
  margin-top: 0.4rem;
}

/* Iconos de redes sociales */
.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(245, 245, 240, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 245, 240, 0.45);
  font-size: 0.95rem;
  transition: border-color var(--ease), color var(--ease), transform var(--ease);
}

.footer__social a:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  transform: translateY(-3px);
}

/* Colores de marca por red social */
.social--instagram i {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.social--instagram:hover i {
  background: none;
  -webkit-text-fill-color: var(--c-accent);
}

.social--tiktok i {
  color: #FF0050;
}

.social--x i {
  color: #f5f5f0;
}

.footer__social a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.footer__copy {
  font-size: 0.72rem;
  color: rgba(245, 245, 240, 0.2);
  letter-spacing: 0.06em;
}


/* ────────────────────────────────────────────────────────
   10. ANIMACIONES DE ENTRADA AL SCROLL
──────────────────────────────────────────────────────── */

/* Estado inicial: invisible antes de entrar en pantalla */
[data-animate] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Sube desde abajo */
[data-animate="fade-up"] {
  transform: translateY(40px);
}

/* Entra desde la izquierda */
[data-animate="fade-left"] {
  transform: translateX(-40px);
}

/* Entra desde la derecha */
[data-animate="fade-right"] {
  transform: translateX(40px);
}

/* Estado final: visible. El JS añade esta clase */
[data-animate].is-visible {
  opacity: 1;
  transform: translate(0);
}

/* Retrasos escalonados para listas (cards, stats) */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }

/* Usuarios que prefieren sin animaciones (accesibilidad) */
@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ────────────────────────────────────────────────────────
   11. RESPONSIVE
──────────────────────────────────────────────────────── */

/* ── Tablet ── */
@media (max-width: 1024px) {
  .about__container {
    gap: 3.5rem;
  }
  .about__media {
    flex: 0 0 400px;
  }
}

/* ── Mobile ── */
@media (max-width: 768px) {

  /* Navbar mobile */
  .navbar__toggle {
    display: flex;
  }

  .navbar__nav {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--c-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 0;
    border-top: 1px solid rgba(245, 245, 240, 0.06);
    overflow-y: auto;
  }

  .navbar__nav.is-open {
    display: flex;
  }

  .navbar__nav a {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(245, 245, 240, 0.05);
    font-size: 0.9rem;
  }

  .navbar__nav a::after {
    display: none;
  }

  .navbar__cta {
    margin-top: 1.5rem;
    text-align: center !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: var(--radius) !important;
    width: 100%;
  }

  /* Hero mobile */
  .hero__content {
    padding: calc(var(--nav-h) + 3rem) 1.5rem 5rem;
    gap: 1.2rem;
  }

  /* Producto mobile: columna única */
  .producto {
    padding: 6rem 1.5rem;
  }

  .producto__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* About mobile: columna única */
  .about {
    padding: 6rem 1.5rem;
  }

  .about__container {
    flex-direction: column;
    gap: 4rem;
  }

  .about__media {
    flex: unset;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .about__stats {
    gap: 1.8rem;
  }

  /* Store mobile */
  .store {
    padding: 6rem 1.5rem;
  }

  .store__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .store__map {
    height: 280px;
  }
}

/* ── Mobile pequeño ── */
@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    text-align: center;
  }

  .about__stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .stat__number {
    font-size: 2.4rem;
  }
}
