/* ============================================= */
/* 💎 Galaxi Logística — Tema Blanco + Dorado Lujo */
/* ============================================= */

/* 🎨 Variables globales */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f8f8f8;
  --color-text: #1a1a1a;
  --color-muted: #666666;
  --color-accent: #d4af37; /* Dorado elegante */
  --color-accent-hover: #c19d2b;
  --font-headline: "Poppins", "Montserrat", sans-serif;
  --font-body: "Inter", "Open Sans", sans-serif;
}

/* ============================ */
/* 🧱 BASE GLOBAL */
/* ============================ */
html, body {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a, button {
  transition: all 0.3s ease;
  text-decoration: none;
}

/* ============================ */
/* 🔝 HEADER */
/* ============================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  height: 80px;
  line-height: 80px;
  margin: 0 !important;
  padding: 0 !important;
}

#navbar a {
  color: var(--color-text);
  font-weight: 500;
}

#navbar a:hover {
  color: var(--color-accent);
}

/* Evita que el header fijo empuje el contenido */
body {
  margin-top: 0 !important;
}
header {
  margin: 0 !important;
  padding: 0 !important;
}

/* ============================ */
/* 🎥 HERO CON VIDEO */
/* ============================ */
.hero-video,
section.relative.min-h-screen {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: -90px; /* elimina el espacio entre header y video */
  background-color: #000; /* fondo oscuro mientras carga */
}

.hero-video video,
section.relative.min-h-screen video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.1) saturate(1.2);
  z-index: 0;
  background-color: #000;
}

/* Capa degradada del hero */
.hero-video::after,
section.relative.min-h-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0,0,0,0.75));
  z-index: 1;
}

/* Contenido del hero */
.hero-video .hero-content,
section.relative.min-h-screen .z-10 {
  position: relative;
  z-index: 2;
  color: #fff;
}

/* 💫 Transición suave al siguiente bloque */
.relative.min-h-screen .absolute.bottom-0 {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, #ffffff 100%);
  height: 120px;
  z-index: 2;
  pointer-events: none;
}

/* ============================ */
/* 🟨 BOTONES */
/* ============================ */
.btn-primary {
  background-color: var(--color-accent);
  color: #000;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--color-accent);
  color: #000;
}

/* ============================ */
/* 🖋️ TIPOGRAFÍA */
/* ============================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  color: var(--color-text);
  letter-spacing: 0.5px;
  margin-top: 0;
}

h1 span, h2 span, strong {
  color: var(--color-accent);
}

p {
  color: var(--color-muted);
}

/* ============================ */
/* 💎 TARJETAS / CARDS */
/* ============================ */
.card-hover {
  background-color: #fff;
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

/* ============================ */
/* 🌟 SECCIONES */
/* ============================ */
section {
  padding: 80px 20px;
  transition: background-color 0.4s ease, color 0.4s ease;
}

section.bg-light { background-color: #fff; }
section.bg-dark { background-color: #f8f8f8; }
section.bg-black { background-color: #000; color: #f5f5f5; }

section.bg-black h2 span { color: var(--color-accent); }

/* ============================ */
/* 🟡 ICONOS */
.icon-gold {
  width: 64px;
  height: 64px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.icon-gold:hover {
  background-color: var(--color-accent);
  color: #000;
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* ============================ */
/* 🦶 FOOTER */
footer {
  background-color: #f9f9f9;
  padding: 60px 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--color-text);
}

footer h4 {
  color: var(--color-accent);
  font-family: var(--font-headline);
  margin-bottom: 15px;
}

footer a {
  color: var(--color-muted);
}

footer a:hover {
  color: var(--color-accent);
}

/* ============================ */
/* 💬 WHATSAPP */
a[href*="wa.me"] {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 999;
}

a[href*="wa.me"]:hover {
  transform: scale(1.1);
  background-color: #1ebe5d;
}

/* ============================ */
/* ✨ ANIMACIONES */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s forwards;
}
@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Aparición progresiva de secciones */
.reveal-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}
.reveal-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================ */
/* 📱 RESPONSIVE */
@media (max-width: 768px) {
  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .icon-gold {
    width: 54px;
    height: 54px;
    font-size: 1.3rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  footer { text-align: center; }
}
/* 🟢 Ocultar número sobre el botón de WhatsApp */
a[href*="wa.me"]::before,
a[href*="api.whatsapp.com"]::before,
a[href*="wa.me"] span,
a[href*="api.whatsapp.com"] span {
  display: none !important;
}
