@charset "UTF-8";

/* ==========================================================================
   BLACK IRON - ESTILOS OFICIALES & SISTEMA DE DISEÑO
   ========================================================================== */

:root {
  --bi-black: #0a0b0e;
  --bi-dark: #12141a;
  --bi-card: #181b22;
  --bi-card-hover: #1f232c;
  --bi-border: #262a36;
  --bi-orange: #ff6600;
  --bi-orange-hover: #ff7e24;
  --bi-gold: #f59e0b;
  --bi-text: #f3f4f6;
  --bi-muted: #9ca3af;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bi-black);
  color: var(--bi-text);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2, h3, .font-heading {
  font-family: 'Barlow Semi Condensed', 'Inter', sans-serif;
  letter-spacing: -0.01em;
}

/* Barra superior de Marcas Hermanas (Estilo Crossmaster / Dowen Pagio) */
.sister-brands-bar {
  background: #060709;
  border-bottom: 1px solid #1f232d;
}

.brand-pill-active {
  background: #ff6600;
  color: #000000;
  font-weight: 800;
}

.brand-pill-inactive {
  background: rgba(255, 255, 255, 0.05);
  color: #9ca3af;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.brand-pill-inactive:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* Vidrio y Navegación */
.glass-nav {
  background: rgba(10, 11, 14, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(24, 27, 34, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   HERO CAROUSEL ESTILO LÜSQTOFF (Banners Grandes Imponentes)
   ========================================================================== */
.hero-carousel-container {
  position: relative;
  width: 100%;
  height: 580px;
  background: #0a0b0e;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero-carousel-container {
    height: 520px;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 6s ease-out;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1.04);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 11, 14, 0.95) 0%, rgba(10, 11, 14, 0.85) 45%, rgba(10, 11, 14, 0.4) 100%);
}

@media (max-width: 768px) {
  .hero-slide-overlay {
    background: linear-gradient(180deg, rgba(10, 11, 14, 0.6) 0%, rgba(10, 11, 14, 0.92) 65%, rgba(10, 11, 14, 0.98) 100%);
  }
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(18, 20, 26, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.carousel-arrow:hover {
  background: #ff6600;
  border-color: #ff6600;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
}

.carousel-dot {
  height: 8px;
  width: 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.carousel-dot.active {
  width: 36px;
  background: #ff6600;
  box-shadow: 0 0 12px rgba(255, 102, 0, 0.6);
}

.text-gradient-orange {
  background: linear-gradient(135deg, #ff944d 0%, #ff6600 50%, #e05500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Botones */
.btn-primary {
  background: linear-gradient(135deg, #ff7e24 0%, #ff6600 100%);
  color: #ffffff;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff944d 0%, #ff7e24 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #f3f4f6;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Tarjetas de Rubro & Pestaña Desplegable Inline */
.rubro-card-btn {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #14171e;
  border: 1px solid #262a36;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.rubro-card-btn:hover {
  transform: translateY(-4px);
  border-color: #ff6600;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 16px rgba(255, 102, 0, 0.2);
}

.rubro-card-btn.rubro-active {
  border-color: #ff6600 !important;
  box-shadow: 0 0 25px rgba(255, 102, 0, 0.45) !important;
  background: #1c202a;
}

.rubro-card-btn.rubro-active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid #ff6600;
  z-index: 30;
}

.rubro-inline-drawer {
  animation: drawerSlideDown 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes drawerSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tarjetas de Producto */
.product-card {
  background-color: var(--bi-card);
  border: 1px solid var(--bi-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 102, 0, 0.55);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5), 0 0 16px rgba(255, 102, 0, 0.15);
}

/* Visor Lightbox & Zoom */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-container {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 0.75rem;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.lightbox-img.zoomed {
  transform: scale(1.8);
  cursor: zoom-out;
}

.lightbox-nav-btn {
  backdrop-filter: blur(8px);
  user-select: none;
}


/* Feed de Instagram & Redes */
.insta-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 1 / 1;
  background: #14171e;
  border: 1px solid #262a36;
  transition: all 0.3s ease;
}

.insta-card:hover {
  transform: scale(1.04);
  border-color: #ff6600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.insta-card:hover .insta-overlay {
  opacity: 1;
}

/* WhatsApp Flotante */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: #25d366;
  color: white;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

/* Modales */
.modal-backdrop {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0b0e;
}
::-webkit-scrollbar-thumb {
  background: #262a36;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ff6600;
}
