/* ==========================================================================
   DRUMMER VULGARIS - GERMÁN SIMÁN
   Estilos Principales | Dark Luxury, Jazz & Motorcycle Adventure
   ========================================================================== */

:root {
  /* Paleta de Colores Principal */
  --bg-main: #0a0b0e;
  --bg-surface: #111319;
  --bg-surface-elevated: #181b24;
  --bg-glass: rgba(18, 20, 28, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(245, 158, 11, 0.5);

  /* Acentos de Marca (Llama, Sabian Bronze, Asfalto) */
  --accent-gold: #f59e0b;
  --accent-fire: #ea580c;
  --accent-amber: #d97706;
  --accent-bronze: #b45309;
  --accent-glow: rgba(245, 158, 11, 0.25);
  --road-cyan: #06b6d4;

  /* Tipografías */
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Texto */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Transiciones y Sombras */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px rgba(245, 158, 11, 0.2);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Three.js Canvas de Fondo */
#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

/* Contenedor de contenido por encima de Three.js */
.app-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Tipografía General */
h1, h2, h3, h4, .brand-font {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  line-height: 1.1;
}

.display-title {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 650px;
  font-weight: 400;
  margin-bottom: 3rem;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
  position: relative;
}

/* Header & Barra de Navegación Flotante */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: var(--transition-smooth);
  padding: 1.25rem 0;
}

.navbar.scrolled {
  padding: 0.75rem 0;
  background: rgba(10, 11, 14, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.brand-sub {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  font-family: var(--font-heading);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-heading);
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-nav-cta {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Botón Hamburguesa Móvil */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.75rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tag {
  margin-bottom: 1.25rem;
}

.hero-headline {
  margin-bottom: 1.5rem;
}

.hero-headline .highlight-gold {
  color: var(--accent-gold);
  text-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 580px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* Hero Badge & Visual Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 460px;
}

/* Resplandor ambiental de fondo que fusiona la foto con Three.js */
.hero-card-stack::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  right: -10%;
  bottom: -10%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(225, 29, 72, 0.08) 45%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.hero-main-image-wrap {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.25);
  background: radial-gradient(circle at top, #1a1d28 0%, #0c0e14 100%);
}

.hero-main-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(12, 14, 20, 0.1) 0%,
    rgba(12, 14, 20, 0) 40%,
    rgba(12, 14, 20, 0.6) 80%,
    rgba(12, 14, 20, 0.95) 100%
  );
}

.hero-main-image-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  filter: contrast(1.05) brightness(0.95);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.hero-main-image-wrap:hover img {
  transform: scale(1.03);
  filter: contrast(1.1) brightness(1.02);
}

.hero-floating-badge {
  position: absolute;
  z-index: 2;
  bottom: 15px;
  left: 20px;
  right: 20px;
  background: rgba(12, 14, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 0.85rem 1.25rem;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.badge-pulse-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-fire));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

.badge-text-primary {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.1;
}

.badge-text-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Breakpoints Principales
   ========================================================================== */

/* Tablets & Pantallas Medianas (<= 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-visual {
    order: -1;
    max-width: 520px;
    margin: 0 auto;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-headline {
    text-align: center;
  }

  .hero-description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-main-image-wrap img {
    height: 380px;
    object-position: center 20%;
  }

  /* Menú responsive en tablet y móvil */
  .navbar .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 15, 22, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem 1.75rem 2rem;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(245, 158, 11, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
    z-index: 100;
  }

  .navbar .nav-links.open {
    display: flex;
    animation: mobileNavSlide 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

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

  .navbar .nav-link {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    border-radius: 10px;
  }

  .navbar .nav-link:hover,
  .navbar .nav-link:active,
  .navbar .nav-link.active {
    background: rgba(245, 158, 11, 0.12);
    color: var(--accent-gold);
  }

  .navbar .nav-link::after {
    display: none;
  }

  .mobile-nav-cta {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-subtle);
  }

  .mobile-nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
  }

  .mobile-toggle:active {
    transform: scale(0.92);
    background: rgba(245, 158, 11, 0.15);
    border-color: var(--accent-gold);
  }

  .nav-actions .btn-primary,
  .nav-actions .lang-switcher {
    display: none;
  }

  .mobile-lang-wrap {
    display: flex;
  }
}

/* Celulares y Móviles (<= 768px) */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  section {
    padding: 4.5rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  .display-title {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .section-title {
    font-size: clamp(1.85rem, 6.5vw, 2.6rem);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .section-subtitle {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .hero-section {
    padding-top: 5rem;
    min-height: auto;
  }

  .hero-logo-large {
    width: 110px;
    height: 110px;
    margin-bottom: 1.25rem;
  }

  .hero-headline {
    margin-bottom: 1.25rem;
  }

  .hero-description {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .hero-main-image-wrap img {
    height: 320px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-floating-badge {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 0.65rem 0.95rem;
    gap: 0.75rem;
    border-radius: 14px;
  }

  .badge-pulse-icon {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
    border-radius: 10px;
  }

  .badge-text-primary {
    font-size: 0.95rem;
  }

  .badge-text-sub {
    font-size: 0.75rem;
  }
}

/* Celulares Pequeños (<= 480px) */
@media (max-width: 480px) {
  html {
    font-size: 14.5px;
  }

  section {
    padding: 3.5rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  .brand-title {
    font-size: 1.15rem;
  }

  .brand-sub {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
  }

  .hero-section {
    padding-top: 4.5rem;
  }

  .hero-logo-large {
    width: 95px;
    height: 95px;
  }

  .hero-main-image-wrap img {
    height: 270px;
  }

  .hero-floating-badge {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 0.5rem 0.75rem;
    gap: 0.6rem;
    border-radius: 12px;
  }

  .badge-pulse-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    border-radius: 8px;
  }

  .badge-text-primary {
    font-size: 0.88rem;
  }

  .badge-text-sub {
    font-size: 0.68rem;
  }
}
