/* =========================================
   1. VARIABLES Y RESET (MAESTRO MODO OSCURO)
   ========================================= */
:root {
  --bg-principal: #0a0a0a;       
  --bg-secundario: #111111;      
  --texto-principal: #ffffff;    
  --texto-secundario: #aaaaaa;   
  --borde-color: #222222;        
  --input-bg: #1a1a1a;           
  --input-texto: #ffffff;        
  --acento-oro: #d4af37;
  --acento-oro-hover: #b8952e;
  --footer-bg: #050505; 
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-principal);
  color: var(--texto-principal);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

/* =========================================
   2. TIPOGRAFÍA
   ========================================= */
h1, h2, h3, h4 {
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--texto-principal);
  transition: color 0.4s ease;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--texto-secundario);
  transition: color 0.4s ease;
}

/* =========================================
   3. NAVBAR (SIEMPRE OSCURA Y ELEGANTE)
   ========================================= */
.navbar {
  background-color: var(--bg-secundario) !important;
  border-bottom: 1px solid var(--borde-color);
  padding: 1.2rem 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  font-size: 1.7rem;
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: 1px;
}

.navbar nav ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.navbar nav a {
  font-weight: 500;
  font-size: 1rem;
  color: #ffffff !important;
  transition: color 0.3s ease;
}

.navbar nav a:hover {
  color: var(--acento-oro) !important;
}

/* Contenedor principal Header */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px; 
    gap: 20px;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img {
    max-height: 120px !important; 
    width: auto !important;
    border-radius: 50%;
    object-fit: contain;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.header-nav ul {
    display: flex;
    align-items: center;
    gap: 30px; 
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav ul li a {
    white-space: nowrap !important;
    font-weight: 600;
    text-decoration: none;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* --- HEADER CONTACT INFO (Nuevo añadido) --- */
.header-contact {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-right: 20px;
    border-right: 1px solid var(--borde-color);
    padding-right: 20px;
}

.header-contact a {
    color: var(--texto-principal);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-contact a i {
    color: var(--acento-oro); 
    font-size: 1.1rem;
}

.header-contact a:hover {
    color: var(--acento-oro);
}

.btn-login, .btn-book {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: 45px !important; 
    padding: 0 20px !important; 
    border-radius: 4px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-transform: uppercase !important;
    white-space: nowrap !important; 
    box-sizing: border-box !important;
    line-height: 1 !important;
    margin: 0 !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login {
    border: 2px solid var(--acento-oro) !important;
    color: var(--acento-oro) !important;
    background: transparent !important;
}

.btn-login:hover {
    background: var(--acento-oro) !important;
    color: #000 !important;
}

.btn-book {
    background-color: var(--acento-oro) !important;
    color: #000 !important;
    border: 2px solid var(--acento-oro) !important;
    text-decoration: none !important;
}

.btn-book:hover {
    background-color: var(--acento-oro-hover) !important;
    border-color: var(--acento-oro-hover) !important;
}

/* =========================================
   4. BOTONES Y FORMULARIOS GLOBALES
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 32px;
  border-radius: 6px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
  background-color: var(--acento-oro);
  color: #000000 !important; 
  border-color: var(--acento-oro);
}
.btn-primary:hover {
  background-color: var(--acento-oro-hover);
  border-color: var(--acento-oro-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.btn-outline-dark,
.btn-outline-light {
  background: transparent;
  color: var(--texto-principal) !important;
  border-color: var(--texto-principal) !important;
}

.btn-outline-dark:hover,
.btn-outline-light:hover {
  background-color: var(--texto-principal) !important;
  color: var(--bg-principal) !important; 
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

input, select, textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--borde-color);
  border-radius: 6px;
  background-color: var(--input-bg);
  color: var(--input-texto);
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  outline: none;
  transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--acento-oro);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15); 
}

::placeholder {
  color: var(--texto-secundario);
  opacity: 0.6;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px var(--input-bg) inset !important;
  -webkit-text-fill-color: var(--input-texto) !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* =========================================
   5. ANIMACIONES AL HACER SCROLL (REVEAL)
   ========================================= */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s ease-out; }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.8s ease-out; }
.reveal-right.active { opacity: 1; transform: translateX(0); }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* =========================================
   6. SECCIONES DIVIDIDAS Y HÉROES ESPECIALES
   ========================================= */
.split-container {
  display: flex;
  width: 100%;
  min-height: 400px;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0 auto;
}

.split-container .image-column {
  flex: 1;
  width: 50%;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.split-container img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.contact-hero {
    padding: 6rem 0;
    background: var(--bg-secundario);
    color: var(--texto-principal);
    text-align: center;
}

/* =========================================
   7. RESERVAS (PLATAFORMA WIDGET)
   ========================================= */
.booking-widget-section {
    padding: 60px 0 0 0;
}

.premium-widget-wrapper {
    background-color: var(--bg-secundario);
    border: 1px solid var(--acento-oro);
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 20px rgba(212, 175, 55, 0.15);
    min-height: 800px;
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}

.premium-widget-header {
    background: var(--bg-secundario);
    border-bottom: 1px solid var(--borde-color);
    padding: 20px;
    text-align: center;
}

.premium-widget-header h2 {
    color: var(--acento-oro);
    font-family: 'Times New Roman', serif;
    font-size: 2rem;
    letter-spacing: 2px;
    margin: 0;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.trust-badges span {
    font-size: 0.85rem;
    color: var(--texto-secundario);
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-badges i {
    color: var(--acento-oro);
}

.ores-container-vip {
    padding: 30px;
    background: transparent;
}

/* =========================================
   8. MODAL DE LOGIN CORPORATIVO
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.modal-content {
    background-color: var(--bg-secundario);
    border: 2px solid var(--acento-oro);
    border-radius: 8px;
    padding: 30px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.8);
}

.close-modal {
    position: absolute;
    top: 5px;
    right: 20px;
    color: var(--texto-principal);
    font-size: 35px;
    cursor: pointer;
    transition: color 0.2s ease;
    font-weight: bold;
}

.close-modal:hover {
    color: var(--acento-oro);
}

.modal-header-title {
    color: var(--acento-oro);
    margin-bottom: 5px;
    text-align: center;
    font-family: 'Times New Roman', serif;
}

.modal-subtitle {
    color: var(--texto-secundario);
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.modal-widget-container {
    background: transparent;
    padding: 15px;
    border-radius: 5px;
    min-height: 320px;
    width: 100%;
}

/* =========================================
   9. FOOTER VIP (Sin estilos en línea)
   ========================================= */
.footer-vip {
    background-color: var(--footer-bg);
    color: var(--texto-principal);
    padding: 60px 20px;
    text-align: center;
    border-top: 3px solid var(--acento-oro);
}

.footer-vip-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
    text-align: left;
}

.footer-col.center {
    text-align: center;
}

.footer-logo {
    width: 160px;
    margin-bottom: 15px;
    border-radius: 50%;
}

.footer-desc {
    color: var(--texto-secundario);
    font-size: 14px;
    line-height: 1.6;
}

.footer-col h3 {
    color: var(--texto-principal);
    border-bottom: 1px solid var(--borde-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: var(--texto-secundario);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--acento-oro);
}

.footer-contact-info {
    font-size: 14px;
    color: var(--texto-secundario);
    margin: 5px 0;
}

.footer-contact-link {
    color: var(--acento-oro);
    text-decoration: none;
}

.footer-socials {
    margin-top: 15px;
}

.footer-socials a {
    color: var(--acento-oro);
    font-size: 24px;
    margin-right: 15px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-socials a:hover {
    opacity: 0.8;
}

.footer-copyright {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--borde-color);
    font-size: 12px;
    color: var(--texto-secundario);
    text-align: center;
}

/* =========================================
   CORRECCIONES FINALES VIP (Flota y Servicios)
   ========================================= */

/* 1. Forzar fondo transparente/oscuro en las tarjetas de Flota (Index y vista Flota) */
.fleet-card, 
.vehicle-card-full, 
.card-gallery, 
.card-details {
    background-color: var(--bg-secundario) !important;
    border-color: var(--borde-color) !important;
}

/* Evitar el cuadrado blanco tras los vehículos PNG */
.card-gallery img, 
.thumbnails-row img {
    background-color: transparent !important;
}

.thumbnails-row {
    background-color: var(--bg-principal) !important;
}

/* =========================================
   PORTADA PRINCIPAL (INICIO) - TAMAÑO VIP
   ========================================= */
.hero {
    
    min-height: 95vh; 
    padding: 6rem 0;
    
    
    display: flex;
    align-items: center; 
    width: 100%;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 30px;
}

/* --- RESPONSIVO PARA CELULAR --- */
@media (max-width: 900px) {
    .hero {
        min-height: auto; 
        padding: 5rem 0;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
}


/* =========================================
   SECCIÓN DIVIDIDA (SERVICIOS) - 50% MÁS GRANDE
   ========================================= */
.services-split {
    display: flex;
    width: 100%;
    /* Aquí está la magia: ocupa el 75% de la altura de la pantalla */
    min-height: 75vh; 
}

.split-image {
    width: 50%;
    background-size: cover;
    background-position: center;
    /* Al no tener una altura fija, heredará los 75vh de la sección padre */
}

.split-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 5rem; /* Aumentamos el espacio interno (padding) para darle elegancia */
    background-color: var(--bg-secundario); /* Aseguramos el fondo oscuro */
}

/* --- RESPONSIVO PARA CELULAR --- */
@media (max-width: 900px) {
    .services-split {
        flex-direction: column;
        min-height: auto; /* En móvil dejamos que el contenido dicte el tamaño */
    }
    
    .split-image {
        width: 100%;
        min-height: 45vh; /* Le damos una buena altura a la imagen en celular */
    }
    
    .split-content {
        width: 100%;
        padding: 4rem 20px;
        align-items: center;
        text-align: center;
    }
}


/* =========================================
   10. RESPONSIVO GLOBAL Y MÓVIL
   ========================================= */


html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }

    /* Ocultar botones amarillos de flota en celular */
    .slider-btn { display: none !important; }

    /* Arreglar el Widget de Reservas aplastado */
    .premium-widget-wrapper { min-height: auto; padding: 10px 0; }
    .ores-container-vip { padding: 10px; }
}

@media (max-width: 900px) {
    /* HEADER ULTRA COMPACTO */
    .header-container {
        flex-direction: column;
        gap: 10px;
        padding: 10px !important;
        min-height: auto;
    }
    
    .header-logo img {
        max-height: 65px !important; /* Logo más pequeño */
    }
    
    .header-nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center; /* Centra los links, evita que uno quede colgado */
        gap: 8px 15px; 
        width: 100%;
    }
    
    .header-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Mostrar redes e info del header en celular (Petición del cliente) */
    .header-contact {
        display: flex !important;
        width: 100%;
        justify-content: center;
        border-right: none; /* Quitamos la línea vertical en móvil */
        padding-right: 0;
        margin-right: 0;
        margin-bottom: 10px;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .btn-login, .btn-book {
        height: 40px !important; /* Botones más delgados */
        font-size: 13px !important;
        padding: 0 15px !important;
    }

    /* FOOTER CENTRADO */
    .footer-vip-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .footer-col {
        text-align: center !important;
    }
    .footer-logo {
        margin: 0 auto 15px auto !important; /* Centra el logo */
    }
    .footer-desc {
        text-align: center !important;
    }
    .footer-contact-info {
        text-align: center;
    }
    .footer-socials {
        justify-content: center;
        display: flex;
    }
}

/* =========================================
   11. PÁGINAS LEGALES (Terms & Privacy)
   ========================================= */
.legal-section {
    padding: 6rem 0;
    background-color: var(--bg-principal);
}

.legal-container {
    max-width: 800px; /* Ancho ideal para lectura */
    margin: 0 auto;
}

.legal-container h1 {
    color: var(--acento-oro);
    border-bottom: 1px solid var(--borde-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.legal-container h2 {
    font-size: 1.6rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--texto-principal);
}

.legal-container h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--texto-principal);
}

.legal-container p {
    color: var(--texto-secundario);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-container ul {
    list-style-type: disc; /* Restauramos los puntos de la lista */
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: var(--texto-secundario);
}

.legal-container ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}