/* 
|--------------------------------------------------------------------------
| Homepage Hero / Banner Section
|--------------------------------------------------------------------------
*/

.home-hero {
    position: relative;
    width: 100%;
    margin: 24px auto;
    max-width: 1800px;
    padding: 0 var(--container-padding);
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: var(--container-padding);
    right: var(--container-padding);
    height: 100%;
    min-height: 620px;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 620px;
    padding: 40px 0;
}

/* Left Promotional Card */
.hero-promo-card {
    width: 55%;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 48px;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-badge {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.hero-promo-card h2 {
    color: var(--color-white);
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 16px;
    font-family: var(--font-display);
}

.hero-promo-card p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 400px;
}

.promo-price-area {
    margin-bottom: 32px;
}

.price-label {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.price-value {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
}

.promo-cta {
    font-size: 16px;
    padding: 16px 32px;
    display: inline-block;
    margin-bottom: 24px;
}

.promo-disclaimer {
    font-size: 11px;
    opacity: 0.6;
}

/* Right Flight Search Panel */
.hero-search-panel {
    width: 460px;
    position: relative;
}

.hero-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
    /* Tabs touch the card */
    padding-left: 24px;
    /* Align with form */
}

.hero-tab {
    background: rgba(0, 0, 0, 0.5);
    color: var(--color-white);
    border: none;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 12px 12px 0 0;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.hero-tab.active {
    background: var(--color-white);
    color: var(--color-black);
}

/* White Form Card */
.hero-form-card {
    background: var(--color-white);
    border-radius: 18px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.hero-fields-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-location-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.hero-field {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 12px 16px;
    background: var(--color-white);
    transition: border-color var(--transition-fast);
}

.hero-field:focus-within {
    border-color: var(--color-primary);
}

.hero-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--color-muted);
    margin-bottom: 4px;
}

.hero-field input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
}

.hero-field input::placeholder {
    font-weight: 500;
    color: var(--color-border-hover);
}

.hero-swap-btn {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hero-swap-btn:hover {
    background: var(--color-background);
}

.hero-ff-link {
    text-align: right;
}

.hero-ff-link a {
    color: #0055AA;
    font-size: 13px;
    font-weight: 600;
}

.hero-submit {
    height: 56px;
    font-size: 16px;
    margin-top: 8px;
}

/* Tablet Adjustments */
@media (max-width: 1199px) {
    .hero-container {
        flex-direction: column;
        justify-content: center;
        gap: 40px;
    }

    .hero-promo-card,
    .hero-search-panel {
        width: 100%;
        max-width: 600px;
    }
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .home-hero {
        padding: 0;
        margin: 0;
    }

    .hero-bg-container {
        position: relative;
        left: 0;
        right: 0;
        border-radius: 0;
        height: 400px;
        min-height: auto;
    }

    .hero-container {
        padding: 0;
        min-height: auto;
        margin-top: -100px;
    }

    .hero-promo-card {
        width: calc(100% - 32px);
        margin: 0 auto 32px;
        padding: 32px 24px;
    }

    .hero-promo-card h2 {
        font-size: 32px;
    }

    .hero-search-panel {
        width: 100%;
    }

    .hero-tabs {
        padding-left: 16px;
    }

    .hero-form-card {
        border-radius: 0;
        padding: 24px 16px;
    }

    .hero-swap-btn {
        right: 16px;
    }
}

/* 
|--------------------------------------------------------------------------
| Multi-City View Styling
|--------------------------------------------------------------------------
*/

.hidden-form {
    display: none;
}

.active-form {
    display: block;
}

.hero-container.multicity-active .hero-promo-card {
    display: none;
    /* Hide promo card on multicity */
}

.hero-container.multicity-active .hero-search-panel {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-container.multicity-active .hero-tabs {
    justify-content: flex-end;
    padding-right: 32px;
}

.multicity-rows-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.multicity-row {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-light-gray);
    gap: 24px;
}

.multicity-row:last-child {
    border-bottom: none;
    margin-bottom: 16px;
}

.mc-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-muted);
    width: 24px;
    text-align: center;
}

.mc-fields {
    display: flex;
    flex: 1;
    gap: 16px;
}

.mc-fields .hero-field {
    flex: 1;
    border: none;
    border-bottom: 1px solid transparent;
    border-radius: 0;
    padding: 8px 0;
}

.mc-fields .hero-field:focus-within {
    border-bottom: 1px solid var(--color-primary);
}

.mc-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 150px;
    justify-content: flex-end;
}

.btn-text {
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.btn-text:hover {
    color: var(--color-primary);
}

.btn-icon {
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    color: var(--color-primary);
}

.mc-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-light-gray);
}

.mc-pax {
    width: 300px;
    border: none;
    border-bottom: 1px solid var(--color-light-gray);
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
}

.mc-submit {
    min-width: 200px;
    height: 52px;
    background-color: #331199;
    /* Deep blue/purple as seen in screenshot */
}

.mc-submit:hover {
    background-color: #220077;
}

@media (max-width: 767px) {
    .multicity-row {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
        padding-left: 32px;
    }

    .mc-number {
        position: absolute;
        left: 0;
        top: 24px;
    }

    .mc-fields {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .mc-fields .hero-field {
        border: 1px solid var(--color-border);
        border-radius: 8px;
        padding: 12px 16px;
    }

    .mc-footer {
        flex-direction: column;
        gap: 24px;
    }

    .mc-pax,
    .mc-submit {
        width: 100%;
    }
}

/* 
|--------------------------------------------------------------------------
| Flight Deals / Flight Specials Section
|--------------------------------------------------------------------------
*/

.flight-deals-section {
    background-color: var(--color-white);
    padding: 64px 0;
}

.flight-deals-container {
    max-width: 1400px;
    margin: 0 auto;
}

.flight-deals-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

.flight-deals-titles h2 {
    font-size: 32px;
    font-weight: 800;
    color: #111827;
    /* Dark navy/black */
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.flight-deals-titles .subtitle {
    font-size: 18px;
    color: var(--color-muted);
}

.departure-selector {
    color: #4F46E5;
    /* Blue/purple accent */
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.flight-deals-tabs {
    display: flex;
    gap: 8px;
}

.deal-tab {
    background: transparent;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-muted);
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.deal-tab:hover {
    color: #111827;
}

.deal-tab.active {
    background-color: #F3F4F6;
    /* Light gray pill */
    color: #111827;
}

.flight-deals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.flight-deal-card {
    position: relative;
    display: block;
    height: 375px;
    border-radius: 16px;
    overflow: hidden;
    transform: translateY(0);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.flight-deal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.deal-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.flight-deal-card:hover .deal-card-img {
    transform: scale(1.05);
}

.deal-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.1) 70%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.deal-card-top {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pin-icon {
    color: var(--color-white);
}

.deal-card-title {
    color: var(--color-white);
    font-size: 20px;
    font-weight: 700;
}

.deal-card-bottom {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 2;
}

.price-pill {
    background-color: var(--color-white);
    border-radius: 30px;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.trip-type {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.trip-price {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.flight-deals-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
}

.disclaimer-box {
    background-color: #F9FAFB;
    /* Very light gray */
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 13px;
    color: var(--color-muted);
    flex: 1;
    margin-right: 48px;
}

.disclaimer-box a {
    color: #4F46E5;
    font-weight: 500;
}

.view-all-deals-cta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
}

.view-all-deals-cta:hover {
    color: #4F46E5;
}

/* Responsive */
@media (max-width: 1024px) {
    .flight-deals-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .flight-deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .flight-deals-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .disclaimer-box {
        margin-right: 0;
    }

    .view-all-deals-cta {
        align-self: flex-end;
    }
}

@media (max-width: 767px) {
    .flight-deals-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 24px;
        /* for scrollbar */
        gap: 16px;
    }

    .flight-deal-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }

    .flight-deals-tabs {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .deal-tab {
        white-space: nowrap;
    }
}

/* 
|--------------------------------------------------------------------------
| Your Whole Trip, Handled (Carousel Section)
|--------------------------------------------------------------------------
*/

.trip-handled-section {
    background-color: var(--color-white);
    padding: 80px 0;
    overflow: hidden;
    /* Hide horizontal overflow of container */
}

.trip-handled-container {
    max-width: 1550px;
    margin: 0 auto;
    padding-left: var(--container-padding);
}

.trip-handled-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    padding-right: var(--container-padding);
}

.trip-handled-titles h2 {
    font-size: 32px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.trip-handled-titles .subtitle {
    font-size: 18px;
    color: var(--color-muted);
}

.carousel-controls {
    display: flex;
    gap: 12px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background-color: var(--color-white);
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-btn:hover:not(:disabled) {
    background-color: #F3F4F6;
}

.carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background-color: #F9FAFB;
}

.carousel-viewport {
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 600ms cubic-bezier(0.25, 1, 0.5, 1);
    /* Smooth easing */
    /* Add some padding to the right so the last item doesn't touch the edge */
    padding-right: var(--container-padding);
}

.carousel-slide {
    flex: 0 0 480px;
    display: flex;
}

/* Desktop 3.5 cards logic is natural based on container width vs 480px */

.trip-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    display: block;
    width: 100%;
    color: var(--color-white);
}

.vertical-card {
    height: 690px;
}

.stacked-slide {
    flex-direction: column;
    gap: 20px;
}

.stacked-card {
    flex: 1;
    /* Split height equally */
    height: 335px;
    /* (690 - 20) / 2 */
}

.coral-bg {
    background-color: #E64949;
    /* Coral/red from reference */
}

.coral-bg h3 {
    color: var(--color-white);
}

.card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bottom-content {
    justify-content: flex-end;
}

.centered-content {
    justify-content: center;
    align-items: center;
}

.card-content h3 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
    color: var(--color-white);
}

.card-content p {
    font-size: 18px;
    font-weight: 500;
    opacity: 0.9;
}

.red-pill {
    align-self: flex-start;
    background-color: #E64949;
    color: var(--color-white);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.white-pill {
    align-self: flex-start;
    background-color: var(--color-white);
    color: #111827;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
}

.terms-text {
    font-size: 12px;
    opacity: 0.7;
    margin-top: auto;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .carousel-slide {
        flex: 0 0 400px;
    }

    .vertical-card {
        height: 560px;
    }

    .stacked-card {
        height: 270px;
    }

    .card-content {
        padding: 32px;
    }

    .card-content h3 {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    .trip-handled-section {
        padding: 48px 0;
    }

    .trip-handled-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .carousel-slide {
        flex: 0 0 85%;
    }

    .vertical-card {
        height: 480px;
    }

    .stacked-card {
        height: 230px;
    }

    .card-content {
        padding: 24px;
    }

    .card-content h3 {
        font-size: 24px;
    }
}

/* 
|--------------------------------------------------------------------------
| Promotional Banner Section
|--------------------------------------------------------------------------
*/
.promo-banner-section {
    padding: 64px 0 80px;
    background-color: var(--color-white);
}

.promo-banner-container {
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 64px;
    min-height: 380px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.promo-banner-left {
    background-color: #E64949;
    /* Red color matching reference */
    color: var(--color-white);
    padding: 48px;
    width: 32%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.promo-banner-left h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

.promo-banner-bottom-text {
    font-size: 16px;
    font-weight: 500;
}

.promo-banner-right {
    width: 68%;
    position: relative;
    overflow: hidden;
}

.promo-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.promo-badge-top {
    position: absolute;
    top: 32px;
    left: 32px;
    z-index: 2;
}

.deposit-pill {
    background-color: var(--color-white);
    color: #E64949;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 30px;
}

.promo-bottom-row {
    position: absolute;
    bottom: 32px;
    left: 32px;
    right: 32px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.promo-tc {
    color: var(--color-white);
    font-size: 12px;
    font-weight: 600;
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-black);
    font-weight: 700;
    border-radius: 4px;
    padding: 12px 24px;
}

.btn-white:hover {
    background-color: #f3f4f6;
}

/* Fees Summary */
.fees-summary-container {
    max-width: 1400px;
    margin: 0 auto;
    font-size: 11px;
    line-height: 1.6;
    color: var(--color-text);
}

.fees-summary-container h4 {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-text);
}

.fees-block {
    margin-bottom: 16px;
}

.fees-block h5 {
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
}

.fees-list {
    margin-bottom: 8px;
}

.fees-disclaimer {
    opacity: 0.8;
}

.fees-summary-container a {
    color: #4F46E5;
    /* Blue link */
    text-decoration: none;
}

.fees-summary-container a:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .promo-banner-container {
        flex-direction: column;
    }

    .promo-banner-left {
        width: 100%;
        min-height: 200px;
    }

    .promo-banner-right {
        width: 100%;
        min-height: 300px;
    }
}

/* 
|--------------------------------------------------------------------------
| FAQ Accordion Section
|--------------------------------------------------------------------------
*/
.faq-accordion-container {
    max-width: 1400px;
    margin: 64px auto 0;
    border-top: 1px solid var(--color-light-gray);
}

.faq-item {
    border-bottom: 1px solid var(--color-light-gray);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    cursor: pointer;
    text-align: left;
}

.faq-question .chevron {
    color: var(--color-muted);
    transition: transform var(--transition-fast);
}

.faq-question.active .chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease;
    padding: 0;
}

.faq-question.active+.faq-answer {
    max-height: 200px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 13px;
    color: var(--color-muted);
}

/* ==========================================================================
   QUOTE SECTION
   ========================================================================== */
.quote-section {
    padding: 64px 0;
    background-color: #f9fafb;
    border-top: 1px solid #f3f4f6;
}

.quote-header {
    text-align: center;
    max-width: 768px;
    margin: 0 auto 48px;
}

.badge-red {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: #CC1B2D;
    padding: 4px 14px;
    border-radius: 9999px;
    display: inline-block;
    margin-bottom: 12px;
}

.quote-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #CC1B2D;
    margin-bottom: 16px;
}

.quote-header p {
    font-size: 16px;
    color: #4b5563;
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .quote-grid {
        grid-template-columns: 2fr 1fr;
        gap: 48px;
    }
}

.quote-form-col {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    color: #111827;
    transition: all 0.2s;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #CC1B2D;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(204, 27, 45, 0.1);
}

.trip-type-selector {
    display: flex;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 4px;
}

.trip-type-btn {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.trip-type-btn.active {
    background: #fff;
    color: #CC1B2D;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

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

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .form-row-3 {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.form-row-name {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
@media (max-width: 639px) {
    .form-row-name .form-group {
        flex: 1 1 100% !important;
    }
}

.sidebar-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
}

.summary-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.summary-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.summary-label {
    font-size: 14px;
    color: #6b7280;
}

.summary-value {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.summary-disclaimer {
    font-size: 12px;
    color: #9ca3af;
    font-style: italic;
    background: #f9fafb;
    padding: 12px;
    border-radius: 8px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-item {
    display: flex;
    gap: 12px;
}

.info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(204, 27, 45, 0.1);
    color: #CC1B2D;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-text h5 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.info-text p {
    font-size: 14px;
    color: #6b7280;
}

.trusted-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.trusted-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.trusted-header p {
    font-size: 12px;
    color: #6b7280;
}

.trusted-badge {
    background: #f3f4f6;
    color: #374151;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
}

.trusted-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.logo-box {
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.logo-box img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

.logo-box:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.trusted-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
    font-size: 12px;
}

.trusted-footer span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #059669;
    font-weight: 500;
}

/* Modal CSS */
.quote-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 24px;
}

.quote-modal.hidden {
    display: none;
}

.quote-modal-content {
    background: #fff;
    border-radius: 16px;
    max-width: 450px;
    width: 100%;
    padding: 32px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.modal-close-btn:hover {
    color: #4b5563;
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.quote-modal-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.modal-tag {
    display: inline-block;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 9999px;
    margin-bottom: 24px;
}

.quote-modal-content p {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.modal-contact-info {
    background: #f9fafb;
    padding: 16px;
    border-radius: 8px;
    color: #374151;
    font-size: 14px;
    margin-bottom: 24px;
}

.modal-action-btn {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
}

/* Flight Deals Section */
.flight-deals-section {
    background-color: #f9fafb;
    padding: 64px 0;
}

.deals-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.deals-titles .eyebrow-text {
    font-size: 12px;
    font-weight: 700;
    color: #4F46E5;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    display: block;
}

.deals-titles h2 {
    font-size: 32px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
}

.deals-titles .subtitle {
    font-size: 16px;
    color: #4b5563;
}

.deals-cta {
    font-weight: 600;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
}

.deals-viewport {
    overflow: hidden;
    width: 100%;
}

.deals-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease-out;
}

.deal-card {
    flex: 0 0 calc(25% - 15px);
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 420px;
    display: flex;
    flex-direction: column;
}

.deal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.1);
}

.deal-img-wrapper {
    position: relative;
    height: 55%;
    overflow: hidden;
}

.deal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.deal-card:hover .deal-img {
    transform: scale(1.05);
}

.deal-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.deal-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.deal-route {
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.deal-dest {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 2px;
}

.deal-country {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: auto;
}

.deal-price-wrapper {
    margin-bottom: 16px;
}

.deal-price-label {
    display: block;
    font-size: 12px;
    color: #6b7280;
}

.deal-price {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
}

.reserve-btn {
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    padding: 10px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transition: all 0.2s;
}

.carousel-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.deals-prev-btn {
    left: -24px;
}

.deals-next-btn {
    right: -24px;
}

/* Hot Deals For You */
.hot-deals-section {
    background: #fff;
    padding: 64px 0 96px;
}

.hot-deals-header {
    margin-bottom: 40px;
}

.hot-deals-header .eyebrow-text {
    font-size: 12px;
    font-weight: 700;
    color: #4F46E5;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 8px;
}

.hot-deals-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #111827;
}

.hot-deals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hot-deal-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 450px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.hot-deal-card:hover {
    transform: translateY(-5px);
}

.hot-deal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hot-deal-card:hover .hot-deal-img {
    transform: scale(1.03);
}

.hot-deal-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 40%, transparent 100%);
}

.hot-deal-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px;
    color: #fff;
}

.hot-deal-cabin {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.hot-deal-route {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
}

.hot-deal-trip {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 24px;
    display: block;
}

.hot-deal-price-box {
    display: flex;
    flex-direction: column;
}

.hot-deal-label {
    font-size: 12px;
    opacity: 0.8;
}

.hot-deal-price {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    margin: 4px 0;
}

.hot-deal-unit {
    font-size: 11px;
    opacity: 0.7;
    letter-spacing: 0.05em;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .deal-card {
        flex: 0 0 calc(33.333% - 13.333px);
    }
    .hot-deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .deals-track {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 24px;
    }
    .deal-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
    .carousel-btn {
        display: none;
    }
    .hot-deals-grid {
        grid-template-columns: 1fr;
    }
}

/* Prevent horizontal overflow scrolling */
html, body {
    overflow-x: hidden;
}