/* ============================================================
   ticketing.css — Premium Flight Ticketing Page Styles
   Westwide Travel & Tours
   ============================================================ */

/* ----------------------------------------------------------
   1. HERO SECTION
   ---------------------------------------------------------- */
.ticketing-hero {
    position: relative;
    min-height: 460px;
    background-image: url('https://images.unsplash.com/photo-1483450388369-9ed95738483c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.ticketing-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0,26,77,0.82) 0%, rgba(0,51,153,0.68) 60%, rgba(0,10,40,0.88) 100%);
    backdrop-filter: blur(1px);
}

.ticketing-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px 80px;
    max-width: 800px;
    margin: 0 auto;
}

.ticketing-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(230, 145, 56, 0.18);
    border: 1px solid rgba(230, 145, 56, 0.4);
    color: #E69138;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 22px;
}

.ticketing-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.ticketing-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.82);
    margin-bottom: 36px;
    line-height: 1.7;
    font-weight: 400;
}

.ticketing-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 28px;
    border-radius: 50px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
}

.ticketing-hero-pill span {
    opacity: 0.45;
    font-size: 1.1rem;
}

/* ----------------------------------------------------------
   2. TRUST STRIP
   ---------------------------------------------------------- */
.ticketing-trust-strip {
    background: #fff;
    border-bottom: 1px solid #e8edf5;
    padding: 18px 0;
}

.ticketing-trust-strip .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.tts-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #374151;
}

.tts-item i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eef2ff;
    color: #3b5fc0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.tts-divider {
    width: 1px;
    height: 28px;
    background: #dde3ee;
}

/* ----------------------------------------------------------
   3. AIRLINES SECTION
   ---------------------------------------------------------- */
.ticketing-airlines-section {
    padding: 60px 0 50px;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

.ticketing-airlines-section .section-title {
    font-size: 1.8rem;
    color: #001a4d;
    font-weight: 800;
    margin-bottom: 8px;
}

.ticketing-airlines-section .section-desc {
    color: #64748b;
    margin-bottom: 40px;
}

.airline-cards-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 0;
}

.airline-card {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 16px;
    padding: 22px 32px;
    min-width: 160px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 12px rgba(0,26,77,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: default;
}

.airline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,26,77,0.12);
    border-color: #c7d4f0;
}

.airline-card i {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.airline-card .airline-name {
    font-weight: 800;
    font-size: 1.15rem;
    white-space: nowrap;
}

/* ----------------------------------------------------------
   4. SEARCH FLIGHTS SECTION
   ---------------------------------------------------------- */
.ticketing-search-section {
    padding: 0 0 70px;
    background: #f5f7fb;
}

.ticketing-search-card {
    max-width: 900px;
    margin: -40px auto 0;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,26,77,0.11), 0 4px 16px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,26,77,0.06);
    padding: 44px 44px 40px;
    position: relative;
    z-index: 10;
}

.ticketing-search-card .search-heading {
    font-size: 1.75rem;
    font-weight: 800;
    color: #001a4d;
    margin-bottom: 6px;
}

.ticketing-search-card .search-subtext {
    font-size: 0.93rem;
    color: #64748b;
    margin-bottom: 32px;
}

/* Form grid */
.flight-form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.flight-form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

.flight-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.flight-input-wrap {
    position: relative;
}

.flight-input-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
    transition: color 0.2s;
}

.flight-input-wrap input,
.flight-input-wrap select {
    width: 100%;
    height: 54px;
    padding: 0 18px 0 44px;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    font-size: 0.97rem;
    color: #1e293b;
    background: #f8faff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    box-sizing: border-box;
    font-family: inherit;
    appearance: auto;
}

.flight-input-wrap input:focus,
.flight-input-wrap select:focus {
    border-color: #3b5fc0;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59,95,192,0.1);
}

.flight-input-wrap input:focus ~ i,
.flight-input-wrap:focus-within i {
    color: #3b5fc0;
}

/* Date inputs (no left icon) */
.flight-input-wrap.no-icon input {
    padding-left: 18px;
}

/* Submit button */
.flight-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 17px 32px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    font-family: inherit;
}

.flight-submit-btn i {
    font-size: 1.3rem;
}

.flight-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
    filter: brightness(1.05);
}

.flight-submit-btn:active {
    transform: translateY(0);
}

/* ----------------------------------------------------------
   5. RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 768px) {
    .ticketing-hero {
        min-height: 360px;
    }
    .ticketing-hero-content {
        padding: 50px 16px 70px;
    }
    .ticketing-hero-pill {
        flex-direction: column;
        gap: 4px;
        font-size: 0.85rem;
        padding: 10px 20px;
    }
    .ticketing-hero-pill span { display: none; }

    .ticketing-trust-strip .container {
        gap: 20px;
    }
    .tts-divider { display: none; }

    .airline-cards-grid {
        gap: 14px;
    }
    .airline-card {
        padding: 16px 22px;
        min-width: 130px;
    }

    .ticketing-search-card {
        margin: -24px 16px 0;
        padding: 28px 22px 28px;
        border-radius: 18px;
    }

    .flight-form-grid-2,
    .flight-form-grid-3 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .ticketing-hero h1 {
        font-size: 2rem;
    }
    .ticketing-search-card .search-heading {
        font-size: 1.4rem;
    }
}
