/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    background-color: #0f172a;
    min-height: 620px;
}

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

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-carousel .carousel-item {
    height: 100%;
    min-height: 620px;
}

.hero-text-col {
    padding: 160px 0 100px;
    position: relative;
    z-index: 2;
}

.hero-overlay-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.hero-overlay-container .container {
    pointer-events: auto;
}

.hero-overlay-container .search-container {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 5%;
    z-index: 4;
}

.e-ticket-badge {
    background: #ef4444;
    padding: 6px 18px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Search Container */
.search-container {
    background: var(--dark-navy);
    border-radius: 16px;
    padding: 24px 30px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.search-container h2 {
    color: #ef4444;
    font-size: 1.35rem;
    letter-spacing: 0.5px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #cbd5e1;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.05rem;
    color: #94a3b8;
    z-index: 2;
}

.search-container .form-control,
.search-container .form-select {
    padding: 10px 14px 10px 42px;
    border: 1.5px solid #475569;
    border-radius: 8px;
    font-size: 0.9rem;
    background-color: #334155;
    color: white;
}

.search-container .form-control:focus,
.search-container .form-select:focus {
    background-color: #334155;
    color: white;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

.swap-btn {
    background: #334155;
    border: 1.5px solid #64748b;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: #e2e8f0;
}

.swap-btn:hover {
    background: #14b8a6;
    color: white;
    transform: rotate(180deg);
}

/* Passenger Dropdown Custom */
.passenger-dropdown {
    position: relative;
}

.passenger-select {
    cursor: pointer;
    padding: 10px 14px 10px 42px;
    border: 1.5px solid #475569;
    border-radius: 8px;
    font-size: 0.9rem;
    background-color: #334155;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.passenger-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0f172a;
    border-radius: 12px;
    padding: 16px;
    margin-top: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    z-index: 100;
    border: 1px solid rgba(255,255,255,0.1);
}

.passenger-dropdown.active .passenger-dropdown-content {
    display: block;
}

.passenger-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.passenger-type:last-of-type {
    border-bottom: none;
}

.passenger-controls button {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    background: rgba(255,255,255,0.12);
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.passenger-controls button:hover {
    background: #14b8a6;
}

/* Carousel Facilities (Marquee effect) */
.carousel-full-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 24px;
    animation: marquee-full 40s linear infinite;
    width: max-content;
    padding: 20px 0;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes marquee-full {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.slide-card {
    flex: 0 0 250px;
    height: 380px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.slide-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.slide-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(15, 23, 42, 0.85) 100%);
    z-index: 1;
}

.slide-card-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 2;
    padding: 40px 20px;
}

.slide-card-icon {
    background: white;
    border-radius: 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    margin: 0 auto 12px;
}

/* FAQ Custom Styles */
.faq-item {
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    transition: all 0.3s;
}
.faq-item:hover {
    border-color: var(--primary-navy);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}
.faq-icon {
    width: 28px;
    height: 28px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.accordion-button:not(.collapsed) .faq-icon {
    background: var(--primary-navy);
    color: white;
    transform: rotate(45deg);
}

/* WA Floating Button */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s;
}
.wa-float:hover {
    transform: scale(1.1);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .swap-btn {
        transform: rotate(90deg);
        margin: 8px auto;
    }
    
    .hero-section {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }
    
    .hero-carousel {
        position: relative;
        height: 380px;
        width: 100%;
    }
    
    .hero-carousel .carousel-item {
        min-height: 380px;
    }
    
    .hero-text-col {
        padding: 80px 0 60px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    
    .hero-overlay-container {
        position: relative;
        width: 100%;
        height: auto;
        padding: 0 15px;
        margin-top: -50px; /* Overlap effect */
        z-index: 5;
        margin-bottom: 50px;
        pointer-events: auto;
    }
    
    .hero-overlay-container .row {
        margin: 0;
    }
    
    .hero-overlay-container .form-col {
        padding: 0;
        width: 100%;
    }
}