/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #1E1F3B;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* New clustered header layout */
.nav-left, .nav-center, .nav-right { display: flex; align-items: center; }
.nav-left { gap: 1rem; }
.nav-right { gap: 1rem; margin-left: auto; }
.nav-center { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 0.75rem; }

/* Space links within left/right mini menus */
.nav-menu-left, .nav-menu-right { display: flex; align-items: center; gap: 1.5rem; }

/* Keep legacy .nav-logo usages compatible by mapping to center cluster */
.nav-logo { display: flex; align-items: center; gap: 0.75rem; }

/* Container needs to be relative to center the brand absolutely */
.nav .nav-container { position: relative; }
/* Hamburger sits inside .nav-left naturally; absolute left positioning no longer required */
.nav-hamburger { position: relative; }

.nav-logo h2 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5rem;
    font-family: 'Bodoni Moda', 'Times New Roman', serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Keep brand link color consistent (no purple visited state) */
.nav-logo h2 a {
    color: inherit;
    text-decoration: none;
}
.nav-logo h2 a:visited,
.nav-logo h2 a:hover,
.nav-logo h2 a:active {
    color: inherit;
    text-decoration: none;
}
.nav-logo h2 a:focus-visible {
    outline: 2px solid #a9c4ff;
    outline-offset: 2px;
}

.logo-brand {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Brand text image next to the icon; keep header height unchanged */
.logo-text {
    height: 30px; /* below .logo-brand to avoid increasing header height */
    width: auto;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

.nav-menu { display: flex; gap: 2rem; }

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #a9c4ff;
}

/* Hamburger (left side) */
.nav-hamburger { display: flex; align-items: center; gap: 0.75rem; margin-right: auto; }
.hamburger-btn { background: transparent; border: none; cursor: pointer; padding: 6px; display: inline-flex; flex-direction: column; gap: 4px; }
.hamburger-btn span { width: 24px; height: 2px; background: #fff; display: block; transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger-menu { position: absolute; top: 70px; left: 20px; background: #2A2B4D; border: 2px solid #3a3b63; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); padding: 0.5rem 0; min-width: 220px; display: none; z-index: 1200; }
.hamburger-menu a { display: block; padding: 0.75rem 1rem; color: #fff; text-decoration: none; font-weight: 500; }
.hamburger-menu a:hover { background: #3a3b63; }
.nav-hamburger.open .hamburger-menu { display: block; }

/* Language Selector */
.language-selector {
    position: relative;
    margin-left: 1rem;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #2A2B4D;
    border: 2px solid #3a3b63;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
}

.language-btn:hover {
    border-color: #6f86ff;
    box-shadow: 0 2px 10px rgba(111, 134, 255, 0.15);
}

.language-btn img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.language-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.language-btn.active i {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #2A2B4D;
    border: 2px solid #3a3b63;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    color: #ffffff;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
    color: #ffffff;
}

.language-option:hover {
    background: #3a3b63;
}

.language-option:first-child {
    border-radius: 8px 8px 0 0;
}

.language-option:last-child {
    border-radius: 0 0 8px 8px;
}

.language-option img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

/* Asegurar texto blanco dentro de las opciones */
.language-option span { color: #ffffff; }

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 123, 255, 0.3));
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-color: #007bff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #007bff;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Secciones */
.servicios, .flota, .contacto {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

/* Servicios */
.servicios {
    background: #f8f9fa;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.servicio-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.servicio-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

.servicio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.8), rgba(0, 86, 179, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.servicio-overlay i {
    font-size: 3rem;
    color: white;
}

.servicio-card:hover .servicio-image img {
    transform: scale(1.1);
}

.servicio-card:hover .servicio-overlay {
    opacity: 1;
}

.servicio-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
}

.servicio-card p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    line-height: 1.6;
}

/* Flota */
.flota-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
}

.flota-grid::-webkit-scrollbar {
    height: 8px;
}
.flota-grid::-webkit-scrollbar-thumb {
    background: #cbd3ff;
    border-radius: 10px;
}

.flota-item {
    flex: 0 0 80%;
    max-width: 500px;
    scroll-snap-align: start;
}

.flota-item {
    text-align: center;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.flota-item:hover {
    transform: translateY(-5px);
}

.flota-image {
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
    background: #1E1F3B;
}

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

.flota-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 123, 255, 0.8));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    text-align: center;
}

.flota-overlay h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.flota-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

.flota-item:hover .flota-image img {
    transform: scale(1.05);
}

.flota-item:hover .flota-overlay {
    opacity: 1;
}

.flota-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.flota-item p {
    color: #666;
    line-height: 1.6;
}

/* Contacto */
.contacto {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contacto-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.contacto-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contacto-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #333;
}

.contact-item i {
    margin-right: 1rem;
    color: #007bff;
    width: 20px;
}

.contact-cta {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.contact-cta p {
    margin-bottom: 1rem;
    color: #333;
}

.contact-cta .btn {
    margin-bottom: 1rem;
}

/* Formulario */
.contacto-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0.2rem;
}

/* Footer */
.footer {
    background: #1E1F3B;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #007bff;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hide the small side menus on mobile; rely on hamburger */
    .nav-menu, .nav-menu-left, .nav-menu-right { display: none; }
    .nav-hamburger { margin-right: 0; }
    /* Keep brand centered */
    .nav-center { left: 50%; transform: translateX(-50%); }
    
    .language-selector {
        margin-left: 0.5rem;
    }
    
    .language-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .language-btn img {
        width: 16px;
        height: 12px;
    }
    
    .language-dropdown {
        min-width: 120px;
    }
    
    .language-option {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .language-option img {
        width: 16px;
        height: 12px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contacto-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .servicios-grid,
    .flota-grid {
        overflow-x: auto;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .servicios,
    .flota,
    .contacto {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 1rem 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .contacto-form {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.servicio-card,
.flota-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Efectos de scroll suave */
html {
    scroll-behavior: smooth;
}

/* Estados de carga */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Mensajes de éxito/error */
.message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/***********************************************************************************************/

/* Image Preview Modal */
.image-preview-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.image-preview-modal.active {
    display: flex;
}

.image-preview-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-preview-header {
    background: #1E1F3B;
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.image-preview-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.image-preview-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.image-preview-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.image-preview-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: #f8f9fa;
}

.image-preview-image {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    display: block;
}

.image-preview-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.image-preview-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.image-preview-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.image-preview-nav:disabled:hover {
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
}

.image-preview-prev {
    left: 1rem;
}

.image-preview-next {
    right: 1rem;
}

.image-preview-counter {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.image-preview-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #666;
    font-size: 1.1rem;
}

/* Fleet items cursor pointer */
.flota-item {
    cursor: pointer;
}

.flota-item:hover {
    transform: translateY(-5px);
}

/* Mobile responsive for modal */
@media (max-width: 768px) {
    .image-preview-container {
        max-width: 95%;
        max-height: 95%;
    }
    
    .image-preview-header {
        padding: 0.75rem 1rem;
    }
    
    .image-preview-title {
        font-size: 1rem;
    }
    
    .image-preview-nav {
        padding: 0.75rem;
        font-size: 1.2rem;
    }
    
    .image-preview-prev {
        left: 0.5rem;
    }
    
    .image-preview-next {
        right: 0.5rem;
    }
    
    .image-preview-content {
        min-height: 300px;
    }
    
    .image-preview-image {
        max-height: 400px;
    }
}

/***********************************************************************************************/

/* Booking Page Styles */
.booking-hero {
    position: relative;
    min-height: 15vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1E1F3B, #2A2B4D);
    margin-top: 80px;
}

.booking-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 31, 59, 0.9), rgba(42, 43, 77, 0.8));
}

.booking-hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 800px;
    padding: 1rem;
}

.booking-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.booking-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.booking-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(30, 31, 59, 0.05), rgba(42, 43, 77, 0.02)), url('images/Background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.booking-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 249, 250, 0.4);
    z-index: 1;
}

.booking-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.booking-step {
    padding: 3rem;
}

.booking-step.hidden {
    display: none;
}

.step-header {
    text-align: center;
    margin-bottom: 3rem;
}

.step-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1E1F3B;
    margin-bottom: 0.5rem;
}

.step-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Trip Type Selection */
.trip-type-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.trip-type-option {
    position: relative;
}

.trip-type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.trip-type-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    text-align: center;
}

.trip-type-option label:hover {
    border-color: #007bff;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
}

.trip-type-option input[type="radio"]:checked + label {
    border-color: #007bff;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.trip-type-option label i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #007bff;
}

.trip-type-option input[type="radio"]:checked + label i {
    color: white;
}

.trip-type-option label span {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Route Selection */
.route-selection {
    margin-bottom: 2rem;
}

.route-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: end;
}

.airport-input {
    position: relative;
    display: flex;
    align-items: center;
}

.airport-input i {
    position: absolute;
    left: 1rem;
    color: #666;
    z-index: 2;
}

.airport-input input {
    padding-left: 3rem;
}

/* Airport Autocomplete Suggestions */
.airport-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.airport-suggestion {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f1f3f4;
    transition: background-color 0.2s ease;
}

.airport-suggestion:hover,
.airport-suggestion.selected {
    background-color: #f8f9fa;
}

.airport-suggestion:last-child {
    border-bottom: none;
}

.airport-code {
    background: #007bff;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
    min-width: 45px;
    text-align: center;
    margin-right: 0.75rem;
}

.airport-details {
    flex: 1;
}

.airport-name {
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
}

.airport-location {
    color: #666;
    font-size: 0.8rem;
}

/* Make input containers relative for absolute positioning of suggestions */
.from-group,
.to-group {
    position: relative;
}

/* Improve input styling for airport inputs */
.airport-input input {
    border-radius: 8px;
    transition: all 0.3s ease;
}

.airport-input input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    outline: none;
}

/* Loading state for airports */
.airport-input.loading::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* Mobile responsive for suggestions */
@media (max-width: 768px) {
    .airport-suggestions {
        max-height: 250px;
    }
    
    .airport-suggestion {
        padding: 0.6rem 0.8rem;
    }
    
    .airport-code {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
        min-width: 40px;
        margin-right: 0.5rem;
    }
    
    .airport-name {
        font-size: 0.85rem;
    }
    
    .airport-location {
        font-size: 0.75rem;
    }
}

.route-swap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 1rem;
}

.swap-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.swap-btn:hover {
    border-color: #007bff;
    color: #007bff;
    background: white;
    transform: rotate(180deg);
}

/* Date Selection */
.date-selection {
    margin-bottom: 2rem;
}

.date-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.date-input {
    position: relative;
    display: flex;
    align-items: center;
}

.date-input i {
    position: absolute;
    left: 1rem;
    color: #666;
    z-index: 2;
}

.date-input input {
    padding-left: 3rem;
}

.return-date-group.hidden {
    display: none;
}

/* Passenger Selection */
.passenger-selection {
    margin-bottom: 3rem;
}

.passenger-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 1rem;
    max-width: 200px;
    margin: 0 auto;
}

.counter-btn {
    background: #007bff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.counter-btn:hover {
    background: #0056b3;
    transform: scale(1.1);
}

.counter-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.passenger-counter input {
    width: 60px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

/* Search Button */
.search-button-container {
    text-align: center;
    margin-top: 2rem;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.2rem;
    border-radius: 50px;
}

/* Personal Info Form */
.personal-info-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.personal-info-form .form-group {
    margin-bottom: 1.5rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
}

.form-actions .btn {
    flex: 1;
    max-width: 200px;
}

/* Contact Section */
.booking-contact {
    padding: 3rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    border-radius: 15px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.contact-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1E1F3B;
}

.contact-item p {
    color: #666;
    font-size: 1.1rem;
}

/* Mobile Responsive for Booking */
@media (max-width: 768px) {
    .booking-title {
        font-size: 1.5rem;
    }
    
    .booking-subtitle {
        font-size: 0.9rem;
    }
    
    .booking-hero {
        min-height: 12vh;
    }
    
    .booking-hero-content {
        padding: 0.75rem;
    }
    
    .booking-section {
        background-attachment: scroll; /* Better performance on mobile */
        padding: 2rem 0;
    }
    
    .booking-step {
        padding: 2rem 1.5rem;
    }
    
    .trip-type-selection {
        grid-template-columns: 1fr;
    }
    
    .route-inputs {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .route-swap {
        order: 3;
        padding: 0;
        margin: 1rem 0;
    }
    
    .swap-btn {
        transform: rotate(90deg);
    }
    
    .swap-btn:hover {
        transform: rotate(270deg);
    }
    
    .date-inputs {
        grid-template-columns: 1fr;
    }
    
    .personal-info-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-actions .btn {
        max-width: none;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/***********************************************************************************************/

/* About Page Styles */
.about-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Use only the image like Why page to keep it clear */
    background: url('images/Backgrounds/ElyviaJet_whoweare.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: 80px;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    /* Match Why overlay for clarity: lighter, vertical gradient */
    background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.35));
}

.about-hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.about-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.about-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    line-height: 1.6;
    font-style: italic;
}

.about-content {
    padding: 5rem 0;
    background: #f8f9fa;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-main {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Contact Page Hero (match About/Why clarity) */
.contact-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('images/Backgrounds/ElyviaJet_contact.jpg') center/cover no-repeat;
    background-attachment: fixed;
    margin-top: 80px; /* account for fixed header */
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.35));
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 2rem;
}

.contact-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 3px 12px rgba(0,0,0,0.4);
}

.contact-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .contact-hero { min-height: 40vh; background-attachment: scroll; }
    .contact-title { font-size: 2.2rem; }
    .contact-subtitle { font-size: 1rem; }
}

.about-intro {
    margin-bottom: 3rem;
}

.intro-title {
    font-size: 2rem;
    font-weight: 600;
    color: #1E1F3B;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.intro-text {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.7;
}

.about-philosophy,
.about-commitment {
    margin-bottom: 3rem;
}

.about-philosophy h3,
.about-commitment h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1E1F3B;
    margin-bottom: 1rem;
}

.about-philosophy p,
.about-commitment p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.tagline {
    font-size: 1.3rem;
    font-weight: 600;
    color: #007bff;
    font-style: italic;
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    border-left: 4px solid #007bff;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-stats {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    margin-bottom: 1.5rem;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.about-values {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-values h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1E1F3B;
    margin-bottom: 1.5rem;
}

.about-values ul {
    list-style: none;
}

.about-values li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #555;
}

.about-values li i {
    color: #007bff;
    margin-right: 0.75rem;
    width: 16px;
}

.about-cta {
    background: linear-gradient(135deg, #1E1F3B, #2A2B4D);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.about-cta h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-cta p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.about-cta .btn {
    background: white;
    color: #1E1F3B;
    border: none;
}

.about-cta .btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.about-location {
    padding: 4rem 0;
    background: white;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.location-text h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #1E1F3B;
    margin-bottom: 1.5rem;
}

.location-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.location-highlights {
    display: flex;
    gap: 2rem;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.highlight-item i {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.highlight-item span {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.location-visual {
    display: flex;
    justify-content: center;
}

.location-card {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.3);
    max-width: 300px;
}

.location-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.location-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.location-card p {
    opacity: 0.9;
    font-size: 1rem;
}

/* Active navigation link */
.nav-link.active {
    color: #a9c4ff;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #a9c4ff;
    border-radius: 1px;
}

/* Mobile Responsive for About Page */
@media (max-width: 768px) {
    .about-title {
        font-size: 2.5rem;
    }
    
    .about-subtitle {
        font-size: 1.1rem;
    }
    
    .about-hero {
        min-height: 40vh;
        background-attachment: scroll;
    }
    
    .about-hero-content {
        padding: 1.5rem;
    }
    
    .about-content {
        padding: 3rem 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-main {
        padding: 2rem;
    }
    
    .intro-title {
        font-size: 1.5rem;
    }
    
    .intro-text {
        font-size: 1.1rem;
    }
    
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .location-highlights {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .highlight-item {
        flex: 1;
        max-width: 100px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/***********************************************************************************************/

/* Who We Are Page Styles */
.whoweare-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 31, 59, 0.7), rgba(42, 43, 77, 0.6)), url('images/Background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: 80px;
}

.whoweare-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 31, 59, 0.5), rgba(42, 43, 77, 0.4));
}

.whoweare-hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 900px;
    padding: 2rem;
}

.whoweare-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    font-family: 'Bodoni Moda', 'Times New Roman', serif;
    letter-spacing: 2px;
}

.whoweare-subtitle {
    font-size: 1.4rem;
    opacity: 0.95;
    line-height: 1.6;
    font-style: italic;
    font-weight: 300;
}

.whoweare-content {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(30, 31, 59, 0.02), rgba(42, 43, 77, 0.01)), url('images/Background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.whoweare-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 249, 250, 0.95);
    z-index: 1;
}

.whoweare-main {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    padding: 4rem;
    border-radius: 25px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.content-block {
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.content-block:last-child {
    margin-bottom: 0;
}

.main-heading {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1E1F3B;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 0;
    font-family: 'Bodoni Moda', 'Times New Roman', serif;
}

.intro-paragraph {
    font-size: 1.3rem;
    color: #444;
    line-height: 1.8;
    text-align: center;
    font-weight: 400;
    margin: 0;
}

.main-paragraph {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    text-align: justify;
    margin: 0;
    text-indent: 2em;
}

.signature .tagline {
    font-size: 1.8rem;
    font-weight: 600;
    color: #007bff;
    font-style: italic;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    border-left: 5px solid #007bff;
    margin: 0;
    font-family: 'Bodoni Moda', 'Times New Roman', serif;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.1);
}

.cta-section {
    text-align: center;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid #e9ecef;
}

.cta-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1E1F3B;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive for Who We Are Page */
@media (max-width: 768px) {
    .whoweare-title {
        font-size: 2.8rem;
    }
    
    .whoweare-subtitle {
        font-size: 1.2rem;
    }
    
    .whoweare-hero {
        min-height: 50vh;
        background-attachment: scroll;
    }
    
    .whoweare-hero-content {
        padding: 1.5rem;
    }
    
    .whoweare-content {
        padding: 3rem 0;
        background-attachment: scroll;
    }
    
    .whoweare-main {
        padding: 2.5rem 1.5rem;
        margin: 0 1rem;
    }
    
    .main-heading {
        font-size: 1.8rem;
    }
    
    .intro-paragraph {
        font-size: 1.1rem;
    }
    
    .main-paragraph {
        font-size: 1.1rem;
        text-align: left;
        text-indent: 1em;
    }
    
    .signature .tagline {
        font-size: 1.4rem;
        padding: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* ...existing code... */

/* Mobile responsive adjustments for background */
@media (max-width: 768px) {
    .booking-hero {
        background-attachment: scroll; /* Better performance on mobile */
        min-height: 40vh;
    }
    
    /* ...existing mobile styles... */
}

/***********************************************************************************************/

/* Why Elyvia Jet Styles */
.why-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 31, 59, 0.8), rgba(42, 43, 77, 0.7)), url('images/Background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: 80px;
}

.why-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 31, 59, 0.5), rgba(42, 43, 77, 0.4));
}

.why-hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 900px;
    padding: 2rem;
}

.why-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Bodoni Moda', 'Times New Roman', serif;
}

.why-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.why-content {
    padding: 5rem 0;
    background: #f8f9fa;
}

.why-intro {
    position: relative;
    background: url('images/Backgrounds/ElyviaJet_whyus.jpg') center/cover no-repeat;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-intro-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.35));
}

.why-intro-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    max-width: 1000px;
}

.why-title-main {
    font-family: 'Bodoni Moda', 'Times New Roman', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 3px 12px rgba(0,0,0,0.4);
}

.why-intro-paragraph {
    font-size: 1.15rem;
    line-height: 1.9;
    margin: 0.5rem auto;
    opacity: 0.95;
}

.why-signature {
    margin-top: 1.25rem;
    font-size: 1.25rem;
    font-style: italic;
}

.why-lead {
    text-align: center;
    padding: 3rem 0 2rem;
}

.why-lead-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1E1F3B;
}

.why-lead-text {
    font-size: 1.05rem;
    color: #555;
}

.why-triptych {
    padding-bottom: 3rem;
}

.why-triptych-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

.why-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.why-card-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.why-card-body {
    padding: 1.25rem 1.25rem 1.5rem;
}

.why-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1E1F3B;
    margin-bottom: 0.5rem;
}

.why-card-text {
    color: #555;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .why-intro { min-height: 60vh; }
    .why-title-main { font-size: 2.5rem; }
    .why-triptych-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
    .why-intro { min-height: 50vh; }
    .why-title-main { font-size: 2rem; }
    .why-intro-paragraph { font-size: 1rem; }
    .why-triptych-grid { grid-template-columns: 1fr; }
    .why-card-image img { height: 200px; }
}

/***********************************************************************************************/
/* Trending Destinations Styles */
.trending-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30,31,59,0.7), rgba(42,43,77,0.6)), url('images/Backgrounds/ElyviaJet_JetFlying.jpg');
    background-size: cover;
    background-position: center;
    margin-top: 80px;
}

.trending-hero-overlay { position: absolute; inset: 0; }
.trending-hero-content { color: #fff; text-align: center; z-index: 1; padding: 2rem; }
.trending-title { font-size: 3rem; font-weight: 700; margin-bottom: 0.5rem; }
.trending-subtitle { font-size: 1.1rem; opacity: 0.95; }

.trending-content { padding: 4rem 0; background: #f8f9fa; }
.trend-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; background: #fff; border-radius: 16px; padding: 1.5rem; box-shadow: 0 10px 24px rgba(0,0,0,0.06); margin-bottom: 2rem; }
.trend-row.reverse { grid-template-columns: 1fr 1.2fr; }
.trend-text h3 { font-size: 1.5rem; color: #1E1F3B; margin-bottom: 0.5rem; }
.trend-text p { color: #555; line-height: 1.7; }
.trend-image img { width: 100%; height: 280px; object-fit: cover; border-radius: 12px; display: block; }

@media (max-width: 768px) {
    .trending-title { font-size: 2.2rem; }
    .trend-row, .trend-row.reverse { grid-template-columns: 1fr; }
    .trend-image img { height: 220px; }
}

/* Homepage teaser for Trending */
.trending-home { background: white; padding: 70px 0; }
.trending-home-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.trending-home-item { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 24px rgba(0,0,0,0.06); text-align: center; }
.trending-home-item img { width: 100%; height: 150px; object-fit: cover; display: block; }
.trending-home-item h3 { margin: 0.75rem 0 1rem; color: #1E1F3B; font-size: 1.1rem; }
.trending-home-cta { text-align: center; margin-top: 1.5rem; }

.why-slices {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.why-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.why-row.reverse {
    grid-template-columns: 1fr 1.2fr;
}

.why-text h3 {
    font-size: 1.6rem;
    color: #1E1F3B;
    margin-bottom: 0.75rem;
}

.why-text p {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
}

.why-image img {
    width: 100%;
    height: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Homepage teaser */
.why-home {
    background: white;
    padding: 80px 0;
}

.why-teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.why-teaser-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-teaser-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
}

.why-teaser-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.why-teaser-card h3 {
    font-size: 1.2rem;
    margin: 1rem 1rem 0.5rem;
    color: #1E1F3B;
}

.why-teaser-card p {
    color: #666;
    margin: 0 1rem 1.25rem;
}

.why-teaser-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .why-hero {
        min-height: 40vh;
        background-attachment: scroll;
    }
    .why-title { font-size: 2.2rem; }
    .why-subtitle { font-size: 1rem; }
    .why-row {
        grid-template-columns: 1fr;
    }
    .why-image img { max-height: 220px; }
    .why-content { padding: 3rem 0; }
}

/* Flota Image Gallery Styles */
.flota-image-gallery {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
}

.flota-image-gallery .flota-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.flota-image-gallery .flota-image.active {
    opacity: 1;
    z-index: 1;
}

.flota-image-gallery .flota-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery Navigation */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
}

.flota-item:hover .gallery-nav {
    opacity: 1;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}

/* Gallery Indicators */
.gallery-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.gallery-indicators .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.gallery-indicators .indicator.active {
    background: white;
    width: 30px;
    border-radius: 5px;
}

.gallery-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-nav {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .gallery-indicators .indicator {
        width: 8px;
        height: 8px;
    }
    
    .gallery-indicators .indicator.active {
        width: 24px;
    }
}