/* Variables de color */
:root {
    --color-blanco: #ffffff;
    --color-negro: #000000;
    --color-gris-claro: rgba(255, 255, 255, 0.1);
    --color-gris-medio: rgba(255, 255, 255, 0.2);
    --color-gris-oscuro: rgba(0, 0, 0, 0.8);
    --gradient-elegante: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.85));
    --gradient-header: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.85));
    --sombra-suave: 0 8px 32px rgba(0, 0, 0, 0.1);
    --sombra-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
    --sombra-boton: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

body {
    font-family: 'Noto Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.8;
    color: #333;
    overflow-x: hidden;
    padding-top: 0;
}

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

/* Header Responsive */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(13px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    height: 80px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.129);
}

.nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    gap: 5px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    color: #ffffff;
    margin-top: -1rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: -2rem;
    margin-top: 0.9rem;
}

.nav-links li {
    position: relative;
}

/* Estilos por defecto para el header (home) */
.nav-links a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-size: 18px;
}
.nav-links a::after {
    background-color: #ffffff;
}

/* Estilos para las páginas específicas */
.fly-with-us-page .nav-links a,
.buy-sell-page .nav-links a,
.testimonials-page .nav-links a,
.contact-page .nav-links a {
    color: #000000;
}

/* Estilos para el hover en las páginas específicas */
.fly-with-us-page .nav-links a::after,
.buy-sell-page .nav-links a::after,
.testimonials-page .nav-links a::after,
.contact-page .nav-links a::after {
    background-color: #000000;
}

/* Estilos para el botón CTA en las páginas específicas */
.fly-with-us-page .cta-btn,
.buy-sell-page .cta-btn,
.testimonials-page .cta-btn,
.contact-page .cta-btn {
    color: #000000;
    border: 1px solid #000000;
}

.fly-with-us-page .cta-btn:hover,
.buy-sell-page .cta-btn:hover,
.testimonials-page .cta-btn:hover,
.contact-page .cta-btn:hover {
    color: #000000;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #000000;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}
/* Estilos para el botón CTA */
.cta-btn {
    display: inline-block;
    background: transparent;
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #ffffff;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    bottom: 7px;
    margin-left: auto;
}

.cta-btn:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.801);
    border-radius: 10px;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.377), transparent);
    transform: translateX(-100%);
    transition: transform 0.9s ease;
}

.cta-btn:hover::before {
    transform: translateX(100%);
}

/* Mostrar/Ocultar según resolución */
.desktop-only {
    display: inline-block;
}

.mobile-only {
    display: none;
}
i{
    color: #ffffff;
}

.mobile-quote-icon {
    display: none; /* Oculto por defecto en desktop */
}

/* Sección de transición */
.hero-about-transition {
    height: 100px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.256), var(--color-blanco));
    position: relative;
    z-index: 0;
}

/* Footer */
.footer {
    background: #000000;
    color: #ffffff;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, #ffffff, transparent);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    text-decoration: none;
    display: block;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 1.2rem;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    justify-content: center;
    width: 100%;
}

.social-links a {
    color: #ffffff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}
    /* Responsive Adjustments */
    @media (max-width: 1400px) {
        .desktop-only{
            left: 20px;
        }
        .cta-btn {
            left: -10px;
        }
        .nav-links {
            gap: 0.9rem;
            min-height: auto;
    }

    }
    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            height: 100%;
            padding: 0 1rem;
        }
        .header {
        height: 80px;
    }

    .nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        height: 100%;
        padding: 0 1rem;
    }

    .nav-toggle {
        display: block !important;
        font-size: 1.5rem;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        color: #ffffff !important;
    }

    .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0 !important;
    }

    .logo img {
        height: 35px;
        margin-top: 0 !important;
    }

    .mobile-quote-icon {
        display: inline-block !important;
        cursor: pointer;
        padding: 0.5rem;
        font-size: 1.5rem;
        color: #ffffff;
        text-decoration: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 60%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        overflow-y: auto;
        align-items: center;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 100%;
        left: 0;
        background: rgba(0,0,0,0.95);
        z-index: 1000;
        padding: 0;
        margin: 0;
    }
    
    .nav-links.active li {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 60px;
        position: relative;
        margin: 0;
        padding: 0;
    }
    
    .nav-links.active a {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0.5rem 1rem;
        position: relative;
        z-index: 2;
        cursor: pointer;
        min-height: 60px;
        font-size: 2rem;
        padding: 2rem;
    }
    
    .nav-links.active a::after {
        content: '';
        position: absolute;
        bottom: 10px;
        right: 0;
        margin: 0 auto;
        height: 2px;
        background: #fff;
        transition: width 0.3s ease;
    }
    
    
    .nav-links.active .coming-soon-message {
        z-index: 3;
    }
    
    .nav-links a {
        right: 0;
        text-align: center;
    }
    
    .nav-links li {
        position: relative;
        margin: 0;
        padding: 0;
    }
    
    .nav-links a {
        position: relative;
        z-index: 1;
        cursor: pointer;
    }

    /* Estilos para el hover en las páginas específicas */
    .fly-with-us-page .nav-links a::after,
    .buy-sell-page .nav-links a::after,
    .testimonials-page .nav-links a::after,
    .contact-page .nav-links a::after {
        background-color: #ffffff;
    }

    .cta-btn {
        display: none !important;
    }
        .contact-content {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-info,
    .contact-form {
        min-width: 100%;
    }

    .contact-info .social-links {
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a:hover {
        transform: none;
    }

    .social-links {
        justify-content: center;
    }
    .nav-toggle,
    .nav-toggle i,
    .mobile-quote-icon,
    .mobile-quote-icon i {
        color: #000 !important;
    }
    
    .fly-with-us-page .nav-links a,
    .buy-sell-page .nav-links a,
    .testimonials-page .nav-links a,
    .contact-page .nav-links a {
        color: #ffffff;
    }
}

    /* Top Routes Section */
.top-routes {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.routes-title {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 500;
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 0 15px;
}

.route-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.route-card:hover {
    transform: translateY(-3px);
}

.route-image {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.route-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.route-card:hover .route-image img {
    transform: scale(1.05);
}

.route-info {
    padding: 12px;
    text-align: center;
}

.route-info h4 {
    color: #ffffff;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}



/* Popular Routes Section */
.popular-routes {
    padding: 60px 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
}

.popular-routes .section-title {
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-weight: 500;
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 15px;
}

.route-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.route-card:hover {
    transform: translateY(-5px);
}

.route-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.route-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.route-card:hover .route-image img {
    transform: scale(1.05);
}

.route-info {
    padding: 15px;
    text-align: center;
}

.route-info h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 992px) {
    .routes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .popular-routes {
        padding: 40px 0;
    }

    .routes-grid {
        grid-template-columns: 1fr;
    }
    
    .route-image {
        height: 200px;
    }

    .popular-routes .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
}

/* Estilos para el header en la página de inicio */
body:has(.fondo-video) .navbar-nav .nav-link,
body:has(.fondo-video) .navbar-brand,
body:has(.fondo-video) .navbar-toggler,
body:has(.fondo-video) .navbar-toggler-icon {
    color: white !important;
}

body:has(.fondo-video) .navbar-toggler {
    border-color: white;
}

body:has(.fondo-video) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Estilos específicos para los iconos móviles en el index */
@media (max-width: 768px) {
    body:has(.fondo-video) .nav-toggle i,
    body:has(.fondo-video) .mobile-quote-icon i {
        color: white !important;
    }
}

/* Estilos para el header en la página de booking (index-page) */
body.index-page .navbar-nav .nav-link,
body.index-page .navbar-brand,
body.index-page .navbar-toggler,
body.index-page .navbar-toggler-icon {
    color: white !important;
}

body.index-page .navbar-toggler {
    border-color: white;
}

body.index-page .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Estilos específicos para los iconos móviles en la página de booking */
@media (max-width: 768px) {
    body.index-page .nav-toggle i,
    body.index-page .mobile-quote-icon i {
        color: white !important;
    }
}

/* Estilos para el mensaje "Próximamente" */
.coming-soon-message {
    background-color: #333; /* Fondo oscuro */
    color: white; /* Texto blanco */
    padding: 5px 10px;
    border-radius: 5px;
    position: absolute;
    white-space: nowrap;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    opacity: 1; /* Para la animación de desvanecimiento */
    transition: opacity 0.5s ease-out;
    top: calc(100% + 5px); /* Se posiciona 5px debajo del li */
}

/* --- Estilos para la Modal de Éxito Genérica --- */
#successModal .modal-content {
    background-color: #ffffff;
    color: #1a1a1a;
    border-radius: 8px;
}

#successModal .modal-header {
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
}

#successModal .modal-title {
    font-weight: 600;
}

#successModal .modal-body {
    padding: 1.5rem;
    font-size: 1rem;
}

#successModal .btn-close {
    filter: invert(0); /* Asegura que el botón de cerrar sea visible sobre fondo blanco */
}

/* --- Estilos para la Modal de Quote --- */
#quoteModal .modal-content {
    background: var(--gradient-elegante);
    color: var(--color-blanco);
    border: none;
    border-radius: 15px;
    box-shadow: var(--sombra-suave);
    backdrop-filter: blur(10px);
}

#quoteModal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem 1rem;
    background: transparent;
}

#quoteModal .modal-title {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--color-blanco);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#quoteModal .btn-close {
    filter: invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#quoteModal .btn-close:hover {
    opacity: 1;
}

#quoteModal .modal-body {
    padding: 2rem;
    background: transparent;
}

#quoteModal .form-label {
    color: var(--color-blanco);
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

#quoteModal .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--color-blanco);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

#quoteModal .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    color: var(--color-blanco);
    outline: none;
}

#quoteModal .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

#quoteModal textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

#quoteModal .btn-primary {
    background: transparent;
    border: 2px solid var(--color-blanco);
    color: var(--color-blanco);
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 1rem;
}

#quoteModal .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

#quoteModal .btn-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-blanco);
    color: var(--color-blanco);
    transform: translateY(-2px);
    box-shadow: var(--sombra-boton);
}

#quoteModal .btn-primary:hover::before {
    transform: translateX(100%);
}

#quoteModal .btn-primary:active {
    transform: translateY(0);
}

/* Responsive para la modal */
@media (max-width: 768px) {
    #quoteModal .modal-dialog {
        margin: 1rem;
    }
    
    #quoteModal .modal-header {
        padding: 1rem 1.5rem 0.5rem;
    }
    
    #quoteModal .modal-body {
        padding: 1.5rem;
    }
    
    #quoteModal .modal-title {
        font-size: 1.25rem;
    }
    
    #quoteModal .form-control {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
}