/* =========================================================
   AEROTAXI SA - style.css (CORREGIDO Y LISTO)
   - Se eliminó HTML metido dentro del CSS
   - Se corrigieron propiedades inválidas (w-100 / h-100)
   - Se eliminaron duplicados conflictivos (app-section / main-app-image / aerotaxi-card)
   - Se agregó FIX de overflow lateral (recuadro blanco a la derecha)
   ========================================================= */

/* =========================
   VARIABLES
   ========================= */
:root {
  --primary-color: #ffc107; /* Amarillo Taxi Intenso */
  --dark-color: #111111;
  --text-muted: #6c757d;
  --font-heading: "Rajdhani", sans-serif;
  --font-body: "Open Sans", sans-serif;
}

/* =========================
   FIX GLOBAL (evita recuadro/scroll lateral)
   ========================= */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* <- evita el “recuadro” y scroll horizontal */
}

img,
video,
iframe,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  font-family: var(--font-body);
  color: #444;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
  font-family: var(--font-heading);
  text-transform: uppercase;
}

/* =========================
   NAVBAR
   ========================= */
.navbar {
  transition: all 0.5s ease;
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--dark-color);
  margin: 0 5px;
  transition: color 0.3s;
}

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

.social-icons a {
  color: #fff;
  margin-left: 15px;
  transition: 0.3s;
}
.social-icons a:hover {
  color: var(--primary-color);
}

/* Scroll offset */
section[id] {
  scroll-margin-top: 90px;
}
#reservar {
  scroll-margin-top: 90px;
}

/* =========================
   HERO SECTION (KEN BURNS)
   ========================= */
.hero-wrapper {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

#heroCarousel,
.carousel-inner,
.carousel-item {
  height: 100%;
}

.carousel-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}

/* Overlay corregido (antes tenías w-100; h-100; que NO existe en CSS) */
.hero-wrapper .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding-top: 80px;
}

/* Animaciones de Entrada de Texto */
.animate-up {
  animation: fadeUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}
.delay-1 {
  animation-delay: 0.2s;
}
.delay-2 {
  animation-delay: 0.4s;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in-right {
  animation: fadeRight 1s ease-out forwards;
  opacity: 0;
  transform: translateX(50px);
  animation-delay: 0.5s;
}
@keyframes fadeRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Card de Reserva */
.booking-card {
  border-radius: 15px;
  overflow: hidden;
}

/* =========================
   SECCIÓN SOBRE NOSOTROS
   ========================= */
.about-image-wrapper {
  position: relative;
  padding-left: 20px;
  padding-bottom: 20px;
}

.experience-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 160px;
  border: 4px solid #fff;
}

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* (Opcional recomendado) Si conviertes el bus en carrusel Bootstrap */
.about-carousel {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}
.about-carousel .carousel-item img {
  width: 100%;
  height: clamp(260px, 42vw, 480px);
  object-fit: cover;
}

/* =========================
   SECCIÓN TIPOS DE TRANSPORTE
   ========================= */
.transport-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.transport-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.bg-shape {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0.1;
  transition: 0.5s;
}
.transport-card:hover .bg-shape {
  transform: scale(1.5);
  opacity: 0.2;
}

/* Flota */
.fleet-img {
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s;
}
.card:hover .fleet-img {
  transform: scale(1.05);
}

/* =========================
   SEPARADOR CHECKERBOARD
   ========================= */
.taxi-pattern-separator {
  height: 24px;
  width: 100%;
  background-image: linear-gradient(45deg, #000 25%, transparent 25%),
    linear-gradient(-45deg, #000 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #000 75%),
    linear-gradient(-45deg, transparent 75%, #000 75%);
  background-color: var(--primary-color);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}

/* Footer Link Hover */
.hover-link {
  transition: all 0.2s;
}
.hover-link:hover {
  color: var(--primary-color) !important;
  padding-left: 5px;
}

/* =========================
   SECCIÓN APP (UNIFICADA)
   ========================= */
.app-section {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  min-height: 600px;
}

.app-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 193, 7, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Contenedor app: centrado siempre */
.app-mockup-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: relative;
  width: 100%;
}

.main-app-image {
  display: block;
  margin: 0 auto;
  max-height: 550px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
  animation: appFloat 4s ease-in-out infinite;
  will-change: transform;
}

@keyframes appFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

.hover-scale {
  transition: transform 0.3s;
}
.hover-scale:hover {
  transform: translateY(-3px);
}

/* Badge flotante (si lo usas en otra sección) */
.phone-mockup-wrapper {
  position: relative;
  display: inline-block;
}
.floating-badge {
  position: absolute;
  top: 20%;
  left: -20px;
  animation: floatBadge 3s infinite ease-in-out;
}
@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* =========================
   SECCIÓN POLÍTICAS
   ========================= */
#politicas {
  position: relative;
  background-color: #333;
}

.policies-bg-image {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.policy-card {
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: none;
}
.policy-card:hover {
  transform: translateY(-10px);
}

.policy-icon-box {
  width: 80px;
  height: 60px;
  background-color: #1a1a1a !important;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.policy-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

.policy-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* =========================
   SHAPES DECORATIVOS (TIPOS)
   ========================= */
.animated-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  opacity: 0.4;
  animation: floatShape 10s infinite alternate;
}
.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-color);
  top: -50px;
  left: -50px;
}
.shape-2 {
  width: 400px;
  height: 400px;
  background: #444;
  bottom: -50px;
  right: -50px;
  animation-delay: -5s;
}

@keyframes floatShape {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

/* =========================
   DREAM CARDS (Servicios)
   ========================= */
.dream-card {
  position: relative;
  height: 420px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: flex;
  align-items: flex-end;
}

.dream-card .card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: all 0.6s ease;
  z-index: 0;
}

.dream-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.8) 50%, transparent 100%);
  z-index: 1;
}

.card-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  width: 100%;
  transform: translateY(20px);
  transition: transform 0.5s;
}

.icon-floater {
  width: 70px;
  height: 70px;
  background: var(--primary-color);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.4);
  animation: floatIcon 3s ease-in-out infinite;
  will-change: transform;
}

@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.card-title {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.card-desc {
  color: #bbb;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0.8;
}

.card-features {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
}

.btn-dream {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 20px;
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  transition: 0.3s;
  overflow: hidden;
  position: relative;
}

.dream-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.dream-card:hover .card-bg {
  opacity: 0.4;
  transform: scale(1.1);
}
.dream-card:hover .card-content {
  transform: translateY(0);
}
.dream-card:hover .icon-floater {
  background: #fff;
  color: #000;
  animation-play-state: paused;
  transform: scale(1.1);
}
.dream-card:hover .btn-dream {
  background: var(--primary-color);
  color: #000;
  box-shadow: 0 0 15px var(--primary-color);
}

.active-glow {
  border-color: rgba(255, 193, 7, 0.3);
  box-shadow: 0 0 30px rgba(255, 193, 7, 0.05);
}

/* =========================
   AEROTAXI CARD (UNIFICADA)
   ========================= */
.aerotaxi-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 40px 25px 20px 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aerotaxi-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.icon-box-black {
  background-color: #1a1a1a;
  color: var(--primary-color);
  width: 70px;
  height: 55px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.aerotaxi-card h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #111;
}

.aerotaxi-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  padding: 0 10px;
}

.aerotaxi-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 0.85rem;
  color: #444;
  font-weight: 600;
}

.aerotaxi-features li {
  margin-bottom: 8px;
}

.card-taxi-image {
  width: 120%;
  max-width: 300px;
  height: auto;
  margin-top: auto;
  margin-bottom: -10px;
  transition: transform 0.5s ease;
}

.aerotaxi-card:hover .card-taxi-image {
  transform: scale(1.05) translateY(-5px);
}

/* =========================
   SERVICIOS ESENCIALES
   ========================= */
#servicios-esenciales {
  background: #0f0f0f;
  z-index: 1;
}

.shape-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(255, 193, 7, 0.05);
  filter: blur(100px);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  z-index: -1;
}

.essential-card {
  height: 450px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.texaco-card {
  background: url("https://images.unsplash.com/photo-1545147986-a9d6f210df77?q=80&w=1000") center/cover;
}
.bancolombia-card {
  background: url("https://images.unsplash.com/photo-1601597111158-2fcee29ecad5?q=80&w=1000") center/cover;
}
.lube-card {
  background: url("https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?q=80&w=1000") center/cover;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 20%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
  transition: opacity 0.3s;
}

.essential-content {
  position: relative;
  z-index: 2;
  width: 100%;
  transform: translateY(20px);
  transition: transform 0.4s;
}

.brand-logo-container {
  height: 80px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.brand-logo {
  max-height: 60px;
  max-width: 150px;
  object-fit: contain;
}

.invert-logo {
  filter: brightness(0) invert(1);
}

.lube-icon-box {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #111;
}

.essential-card h3 {
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.essential-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  opacity: 0;
  transition: opacity 0.4s;
}

.essential-footer {
  opacity: 0;
  transition: opacity 0.4s;
}

.essential-card:hover {
  transform: scale(1.03);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(255, 193, 7, 0.2);
}
.essential-card:hover .essential-content {
  transform: translateY(0);
}
.essential-card:hover p,
.essential-card:hover .essential-footer {
  opacity: 1;
}
.essential-card:hover .card-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0.6) 100%);
}

/* =========================
   PREMIUM CARDS
   ========================= */
.fw-black {
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 15px;
}

.premium-card {
  background: #ffffff;
  border-radius: 40px;
  position: relative;
  padding: 10px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid #eee;
  height: 100%;
}

.card-inner {
  background: #ffffff;
  border-radius: 35px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: inset 10px 10px 20px #f0f0f0, inset -10px -10px 20px #ffffff;
}

.icon-floating {
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
  transition: transform 0.5s ease;
}

.icon-floating img {
  max-width: 80%;
  max-height: 80px;
  object-fit: contain;
}

.texaco-glow:hover {
  border-color: #ed1c24;
  box-shadow: 0 0 30px rgba(237, 28, 36, 0.2);
}
.bancolombia-glow:hover {
  border-color: #fdcf09;
  box-shadow: 0 0 30px rgba(253, 207, 9, 0.3);
}
.lube-glow:hover {
  border-color: #212529;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
}

.premium-card:hover {
  transform: translateY(-15px);
}
.premium-card:hover .icon-floating {
  transform: scale(1.2) translateY(-10px);
}

.features-list {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #666;
}

.features-list i {
  color: var(--primary-color);
}

.btn-impact {
  border: none;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.btn-texaco,
.btn-bancolombia,
.btn-lube {
  background: linear-gradient(45deg, #212529, #495057);
}

.btn-impact:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
  filter: brightness(1.1);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 991px) {
  .display-3 {
    font-size: 2.5rem;
  }
  .display-5 {
    font-size: 2rem;
  }

  .hero-content {
    padding-top: 20px;
    text-align: center;
  }

  .booking-card {
    margin-top: 30px;
  }

  .navbar-collapse {
    background: #fff;
    padding: 20px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .main-app-image {
    max-height: 400px;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.8rem;
  }

  .btn-lg {
    width: 100%;
    margin-bottom: 10px;
  }

  .dream-card {
    height: auto;
    min-height: 400px;
  }

  .floating-badge {
    display: none;
  }

  .essential-card {
    height: 380px;
  }
  .essential-content {
    transform: translateY(0);
  }
  .essential-card p,
  .essential-footer {
    opacity: 1;
  }
}
/* =========================
   WHATSAPP FLOAT BUTTON
   ========================= */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 62px;
  height: 62px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  z-index: 99999;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
  color: #fff;
}

/* Ajuste para móviles (evita conflicto con barras del sistema) */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 85px; /* sube el botón para no chocar con barras móviles */
    right: 15px;
    width: 58px;
    height: 58px;
    font-size: 30px;
  }
}

