/*!* ── Hero ─────────────────────────────────── *!*/
.hero {
    background: var(--color-cakephp-lightblue);
    padding: 5rem 0 6rem;
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/*!* ── Global Search Bar ────────────────────── *!*/
.global-search {
    margin-bottom: 1.5rem;
}

.search-form .search-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: white;
    border-radius: 14px;
    padding: 1.6rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.search-input {
    flex: 1;
    margin: 0;
    border: none;
    outline: none;
    padding: 1.2rem 1.4rem;
    font-size: 2rem;
    background: transparent;
    color: var(--color-cakephp-gray);
}

.search-btn {
    margin: 0;
    font-size: 1.2rem;
    white-space: nowrap;
    background: #fc3d39;
}

/*!* ── Booking Card ─────────────────────────── *!*/
.booking-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.14);
    overflow: hidden;
    text-align: left;
    margin-top: 2rem;
}

.booking-tabs {
    display: flex;
    border-bottom: 2px solid var(--color-main-bg);
}

.tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0 1rem;
    font-size: 1.2rem;
    cursor: pointer;
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    transition: color 0.2s, border-color 0.2s;
    line-height: 1;
    margin: 0;
    outline: none;
    border: none;
    background: #fc3d39;
}

.tab-btn.active {
    border-bottom-color: var(--color-cakephp-blue);
    background: #e33437;
}

.tab-panel {
    display: none;
    padding: 1.5rem;
}

.tab-panel.active {
    display: block;
}

/*!* ── Booking Form Row ─────────────────────── *!*/
.booking-form .form-row {
    display: flex;
    gap: 0.8rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.booking-form .form-group {
    flex: 1;
    min-width: 130px;
    margin-bottom: 0;
}

.booking-form .form-group label {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-lightgray);
    margin-bottom: 0.3rem;
    letter-spacing: 0.04em;
}

.booking-form .form-input {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #dde1e7;
    border-radius: 4px;
    font-size: 1.4rem;
    color: var(--color-cakephp-gray);
    background: white;
    height: auto;
    margin: 0;
    box-shadow: none;
    transition: border-color 0.2s;
}

.booking-form .form-input:focus {
    border-color: var(--color-cakephp-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(47, 133, 174, 0.15);
}

.swap-btn {
    background: var(--color-main-bg);
    border: 1px solid #dde1e7;
    border-radius: 50%;
    width: 2.8rem;
    height: 2.8rem;
    padding: 0;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--color-cakephp-blue);
    flex-shrink: 0;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: background 0.2s;
}

.swap-btn:hover {
    background: var(--color-cakephp-lightblue);
    color: white;
}

.booking-form .search-btn {
    align-self: flex-end;
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Sections ─────────────────────────────── */
.section {
    padding: 3rem 0;
}

.section-alt {
    background: var(--color-main-bg);
    margin: 0 -1.5rem;
    padding: 3rem 1.5rem;
}

.section-title {
    font-family: "Raleway", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-headings);
    margin-bottom: 1.5rem;
}

/* ── Destinations Grid ────────────────────── */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.destination-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.destination-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.destination-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-headings);
    margin: 0 0 0.2rem;
}

.destination-info p {
    font-size: 1.4rem;
    color: var(--color-cakephp-gray);
    margin: 0 0 0.5rem;
}

.destination-price {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-cakephp-blue);
}

/* ── Deals Grid ───────────────────────────── */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.2rem;
}

.deal-card {
    background: white;
    border-radius: 8px;
    padding: 1.4rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    position: relative;
    border-top: 3px solid var(--color-cakephp-blue);
    transition: box-shadow 0.2s;
}

.deal-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.deal-tag {
    display: inline-block;
    background: var(--color-cakephp-red);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
}

.deal-route {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.deal-city {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-headings);
}

.deal-arrow {
    color: var(--color-cakephp-gray);
    font-size: 1.8rem;
}

.deal-airline {
    color: var(--color-cakephp-gray);
    font-size: 1.4rem;
    margin: 0 0 1rem;
}

.deal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.deal-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-cakephp-blue);
}

.button-small {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}


@media (max-width: 1100px) {
    .hero-content {
        padding: 0 1.5rem;
    }

    .search-form .search-row {
        flex-wrap: wrap;
    }

    .search-input {
        min-width: 0;
        width: 100%;
    }

    .search-btn {
        width: 100%;
    }

    .booking-form .form-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        align-items: end;
    }

    .booking-form .form-group {
        min-width: 0;
    }

    .swap-btn {
        display: none;
    }

    .booking-form .search-btn {
        width: 100%;
        grid-column: 1 / -1;
    }
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 768px) {
    .hero {
        padding: 2.5rem 0 3.5rem;
        margin: -1rem -1rem 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

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

    .booking-form .form-group {
        min-width: unset;
    }

    .swap-btn {
        display: none;
    }

    .booking-tabs {
        flex-wrap: wrap;
    }

    .tab-btn {
        font-size: 0.8rem;
        padding: 0.7rem 0.5rem;
    }
}
