/**
 * assets/css/landing-pages.css
 * Dedicated Landing Pages Styling for Flights, Hotels, Bus, and Holidays
 * Design System: Enjoy Holiday Hub Red (#E72E2E), Navy (#14213D), Clean White (#FFFFFF)
 * Inspired by MakeMyTrip and EaseMyTrip Leading UX Patterns
 */

/* Sub-Header Horizontal Service Category Nav - Deprecated & Hidden (Consolidated into main header) */
.ehh-category-nav-bar {
    display: none !important;
}

.ehh-category-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.ehh-category-nav-list::-webkit-scrollbar {
    display: none;
}

.ehh-cat-item {
    flex-shrink: 0;
}

.ehh-cat-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    color: #475569;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 3.5px solid transparent;
    transition: all 0.2s ease;
}

.ehh-cat-link i {
    font-size: 20px;
    color: #64748B;
    transition: all 0.2s ease;
}

.ehh-cat-link:hover {
    color: #E72E2E;
}
.ehh-cat-link:hover i {
    color: #E72E2E;
    transform: translateY(-2px);
}

.ehh-cat-item.active .ehh-cat-link {
    color: #E72E2E;
    border-bottom-color: #E72E2E;
}
.ehh-cat-item.active .ehh-cat-link i {
    color: #E72E2E;
}

/* Landing Page Hero Header */
.landing-hero {
    position: relative;
    padding: 55px 0 75px;
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(20, 33, 61, 0.88) 0%, rgba(20, 33, 61, 0.72) 100%);
    z-index: 1;
}

.landing-hero-content {
    position: relative;
    z-index: 2;
}

.landing-title {
    font-size: 38px;
    font-weight: 800;
    color: #FFFFFF !important;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.landing-title span {
    color: #E72E2E !important;
}

.landing-subtitle {
    font-size: 16px;
    color: #E2E8F0 !important;
    margin-bottom: 28px;
    max-width: 680px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* Horizontal Search Box Wrapper */
.landing-search-box {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 24px 28px;
    box-shadow: 0 20px 45px rgba(20, 33, 61, 0.18);
    color: #14213D;
    position: relative;
}

.landing-search-row {
    display: flex;
    align-items: stretch;
    gap: 12px;
    width: 100%;
}

.landing-field {
    flex: 1 1 0;
    min-width: 0;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    padding: 10px 14px;
    transition: all 0.2s ease;
    position: relative;
}

.landing-field:hover {
    border-color: #CBD5E1;
    background: #FAFCFF;
}

.landing-field:focus-within {
    border-color: #E72E2E !important;
    box-shadow: 0 0 0 3px rgba(231, 46, 46, 0.12) !important;
}

.landing-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.landing-label i {
    color: #E72E2E;
    font-size: 12px;
}

.landing-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    font-weight: 700;
    color: #14213D;
    padding: 0;
    margin: 0;
}
.landing-input::placeholder {
    color: #94A3B8;
    font-weight: 400;
}

.landing-input-sub {
    font-size: 11.5px;
    color: #64748B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

/* Swap Icon Button */
.landing-swap-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    color: #E72E2E;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    align-self: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
}
.landing-swap-btn:hover {
    background: #E72E2E;
    color: #FFFFFF;
    border-color: #E72E2E;
    transform: rotate(180deg);
}

/* Search Submit Button */
.landing-search-btn {
    background: #E72E2E;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 0 32px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(231, 46, 46, 0.35);
    white-space: nowrap;
}
.landing-search-btn:hover {
    background: #cf1b1b;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(231, 46, 46, 0.45);
}

/* Badge Strip Below Search */
.landing-badges-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}
.landing-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    background: #F1F5F9;
    color: #475569;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.landing-badge-pill i {
    color: #E72E2E;
}
.landing-badge-pill:hover {
    background: #E2E8F0;
    color: #14213D;
}

/* Theme Filter Pills (for Holidays/Tours) */
.theme-pills-wrap {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}
.theme-pill-btn {
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.theme-pill-btn:hover,
.theme-pill-btn.active {
    background: #E72E2E;
    color: #FFFFFF;
    border-color: #E72E2E;
    box-shadow: 0 4px 12px rgba(231, 46, 46, 0.25);
}

/* Section Header */
.landing-section {
    padding: 60px 0;
}
.landing-sec-header {
    text-align: center;
    margin-bottom: 40px;
}
.landing-sec-title {
    font-size: 30px;
    font-weight: 800;
    color: #14213D;
    margin-bottom: 6px;
}
.landing-sec-title span {
    color: #E72E2E;
}
.landing-sec-subtitle {
    color: #64748B;
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
}

/* Cards Grid */
.landing-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(20, 33, 61, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.landing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(20, 33, 61, 0.12);
    border-color: #CBD5E1;
}

.landing-card-img-wrap {
    position: relative;
    height: 190px;
    overflow: hidden;
}
.landing-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.landing-card:hover .landing-card-img {
    transform: scale(1.05);
}

.landing-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #E72E2E;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.landing-card-body {
    padding: 18px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.landing-card-price {
    font-size: 20px;
    font-weight: 800;
    color: #E72E2E;
}

@media (max-width: 991px) {
    .landing-search-row {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .landing-field {
        width: 100% !important;
    }
    .landing-swap-btn {
        display: none !important;
    }
    .landing-search-btn {
        width: 100% !important;
        padding: 14px 20px !important;
    }
    .landing-title {
        font-size: 28px !important;
    }
}
