/* ============================================================
   HOME PAGE — YELLOW THEME UI
   ============================================================ */

:root {
    --brand:        #f5c518;
    --brand-dark:   #d4a800;
    --brand-light:  #ffe066;
    --accent:       #ffb300;
    --dark:         #2d2d2d;
    --dark2:        #3c3c3c;
    --dark3:        #4a4a4a;
    --text:         #444444;
    --text-muted:   #6c757d;
    --white:        #ffffff;
    --light-bg:     #fffdf0;
    --border:       #f0e68c;
    --shadow-sm:    0 2px 8px rgba(0,0,0,.08);
    --shadow-md:    0 8px 24px rgba(0,0,0,.12);
    --shadow-lg:    0 20px 60px rgba(0,0,0,.18);
    --radius:       12px;
    --radius-lg:    20px;
    --transition:   all .3s cubic-bezier(.4,0,.2,1);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero-modern {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark);
}

.hero-banner-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    background-size: cover;
    background-position: center;
}
.banner-slide.active { opacity: 1; }
.banner-slide.clickable { cursor: pointer; }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(45,45,45,.88) 0%,
        rgba(45,45,45,.60) 60%,
        rgba(245,197,24,.20) 100%);
    z-index: 1;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2d2d2d 0%, #4a4a4a 50%, #3d3b2b 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0 50px;
}

/* Hero text */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(245,197,24,.15);
    border: 1px solid rgba(245,197,24,.45);
    color: var(--brand-light);
    padding: .35rem 1rem;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: .75rem;
    text-shadow: 0 2px 20px rgba(0,0,0,.4);
}

.hero-title span {
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,.8);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Banner dots */
.banner-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}
.banner-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    border: 2px solid rgba(255,255,255,.6);
    cursor: pointer;
    transition: var(--transition);
}
.banner-dot.active {
    background: var(--brand);
    border-color: var(--brand);
    width: 28px;
    border-radius: 5px;
}

/* ── SEARCH CARD ──────────────────────────────────────────── */
.search-card-compact {
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    box-shadow: 0 25px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(245,197,24,.15);
}

/* Trip tabs */
.trip-tabs-compact {
    display: flex;
    gap: .5rem;
    margin-bottom: 1.25rem;
    background: #fdf9e3;
    padding: .3rem;
    border-radius: 10px;
    width: fit-content;
}

.trip-tab-compact {
    padding: .45rem 1.25rem;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-weight: 600;
    font-size: .85rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: .4rem;
}
.trip-tab-compact:hover { color: var(--brand-dark); }
.trip-tab-compact.active {
    background: var(--brand);
    color: #4a4a4a;
    box-shadow: 0 4px 12px rgba(245,197,24,.45);
}

/* Search row */
.search-row-compact {
    display: flex;
    align-items: flex-end;
    gap: .75rem;
    flex-wrap: wrap;
}

.search-field-compact {
    flex: 1;
    min-width: 160px;
}

.search-field-compact label {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: .4rem;
}
.search-field-compact label i { color: var(--brand-dark); font-size: .8rem; }

.form-select-compact,
.form-control-compact {
    width: 100%;
    padding: .7rem 1rem;
    border: 2px solid #f0e68c;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 500;
    color: var(--text);
    background: white;
    transition: var(--transition);
    appearance: none;
}
.form-select-compact:focus,
.form-control-compact:focus {
    border-color: var(--brand);
    outline: none;
    box-shadow: 0 0 0 4px rgba(245,197,24,.18);
}

/* Select2 override */
.select2-container--default .select2-selection--single {
    height: 44px !important;
    border: 2px solid #f0e68c !important;
    border-radius: 10px !important;
    display: flex;
    align-items: center;
    padding: 0 .75rem;
    font-size: .9rem;
    font-weight: 500;
    transition: var(--transition);
}
.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--brand) !important;
    box-shadow: 0 0 0 4px rgba(245,197,24,.18) !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px !important;
    padding-left: 0 !important;
    color: var(--text);
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px !important;
}
.select2-dropdown {
    border: 2px solid var(--brand) !important;
    border-radius: 10px !important;
    box-shadow: var(--shadow-lg) !important;
    overflow: hidden;
}
.select2-container--default .select2-results__option--highlighted {
    background: var(--brand) !important;
    color: #4a4a4a !important;
}

/* Search button */
.btn-search-compact {
    padding: .7rem 2.5rem;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #4a4a4a;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: .5rem;
    box-shadow: 0 6px 20px rgba(245,197,24,.45);
    letter-spacing: .3px;
}
.btn-search-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245,197,24,.55);
    background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 100%);
}
.btn-search-compact:active { transform: translateY(0); }

/* Filters row */
.filters-row-compact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f0e68c;
    flex-wrap: wrap;
}

.filter-compact {
    display: flex;
    align-items: center;
    gap: .4rem;
    cursor: pointer;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}
.filter-compact:hover { color: var(--brand-dark); }
.filter-compact input {
    width: 16px; height: 16px;
    cursor: pointer;
    accent-color: var(--brand);
}
.filter-compact span i { color: var(--brand-dark); margin-right: .2rem; }

.trending-compact {
    margin-left: auto;
    font-size: .82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: .4rem;
}
.trending-compact i { color: var(--brand); }
.trending-compact span { font-weight: 500; }

/* ── TRUST STRIP ──────────────────────────────────────────── */
.trust-strip {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: rgba(255,255,255,.85);
    font-size: .88rem;
    font-weight: 500;
}
.trust-item i {
    font-size: 1.2rem;
    color: var(--brand);
    filter: drop-shadow(0 0 6px rgba(245,197,24,.5));
}

/* ── STATS BAR ────────────────────────────────────────────── */
.stats-bar {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    padding: 1.5rem 0;
}
.stat-item {
    text-align: center;
    color: #4a4a4a;
    padding: .5rem 1rem;
}
.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}
.stat-label {
    font-size: .8rem;
    opacity: .75;
    font-weight: 600;
    margin-top: .2rem;
    display: block;
}

/* ── SECTION COMMONS ──────────────────────────────────────── */
.section-pad { padding: 70px 0; }
.section-pad-sm { padding: 50px 0; }

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(245,197,24,.12);
    color: var(--brand-dark);
    border: 1px solid rgba(245,197,24,.35);
    padding: .3rem .9rem;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: .75rem;
}

.section-title-lg {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: .5rem;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: .95rem;
    margin-bottom: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.view-all-link {
    color: var(--brand-dark);
    font-weight: 600;
    font-size: .88rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .3rem;
    transition: var(--transition);
    white-space: nowrap;
}
.view-all-link:hover { color: var(--brand); gap: .6rem; }

/* ── SECTION ONE IMAGES ───────────────────────────────────── */
.section-one-images-section { background: white; }

.section-one-image-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: white;
    border: 1px solid #f0e68c;
}
.section-one-image-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(245,197,24,.25);
    border-color: var(--brand);
}
.section-one-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 62%;
    overflow: hidden;
    background: var(--light-bg);
}
.section-one-image-wrapper img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.section-one-image-card:hover .section-one-image-wrapper img { transform: scale(1.08); }
.section-one-image-content { padding: 1.25rem 1.5rem 1.5rem; }
.section-one-image-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: .4rem;
}
.section-one-image-subtitle {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ── OFFERS ───────────────────────────────────────────────── */
.offers-section { background: var(--light-bg); }

.offers-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.offer-card {
    border-radius: var(--radius);
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}
.offer-card::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 100px; height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
}
.offer-card::after {
    content: '';
    position: absolute;
    bottom: -20px; left: -20px;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
}
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.offer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: .4rem;
    position: relative;
    z-index: 1;
}
.offer-description {
    font-size: .88rem;
    opacity: .9;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.offer-code {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.25);
    border: 1.5px dashed rgba(255,255,255,.5);
    padding: .4rem .9rem;
    border-radius: 6px;
    font-size: .82rem;
    position: relative;
    z-index: 1;
}

/* ── WHY CHOOSE US ────────────────────────────────────────── */
.why-choose-section { background: white; }

.benefit-card {
    background: white;
    border: 2px solid #f0e68c;
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}
.benefit-card:hover {
    border-color: var(--brand);
    box-shadow: 0 8px 30px rgba(245,197,24,.25);
    transform: translateY(-4px);
}
.benefit-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: #4a4a4a;
}
.benefit-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: .5rem;
}
.benefit-desc {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ── POPULAR ROUTES ───────────────────────────────────────── */
.popular-routes-section { background: var(--light-bg); }

.route-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #f0e68c;
    height: 100%;
}
.route-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(245,197,24,.25);
    border-color: var(--brand);
}
.route-image {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5c518, #d4a800);
}
.route-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.route-card:hover .route-image img { transform: scale(1.1); }
.route-badge {
    position: absolute;
    top: 10px; right: 10px;
    background: var(--brand);
    color: #4a4a4a;
    font-size: .72rem;
    font-weight: 700;
    padding: .25rem .6rem;
    border-radius: 20px;
}
.route-content { padding: 1.25rem; }
.route-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: .5rem;
}
.route-details {
    display: flex;
    gap: 1rem;
    font-size: .8rem;
    color: var(--text-muted);
    margin-bottom: .75rem;
}
.route-details i { color: var(--brand-dark); margin-right: .2rem; }
.route-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.route-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand-dark);
}
.route-footer .btn {
    font-size: .8rem;
    font-weight: 700;
    padding: .35rem .9rem;
    border-radius: 8px;
    background: var(--brand);
    border-color: var(--brand);
    color: #4a4a4a;
    transition: var(--transition);
}
.route-footer .btn:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    transform: translateY(-1px);
}

/* ── HOW IT WORKS ─────────────────────────────────────────── */
.how-it-works-section {
    background: linear-gradient(135deg, #2d2d2d 0%, #4a4a4a 100%);
    color: white;
}
.how-it-works-section .section-title-lg { color: white; }
.how-it-works-section .section-subtitle { color: rgba(255,255,255,.6); }
.how-it-works-section .section-eyebrow {
    background: rgba(245,197,24,.15);
    border-color: rgba(245,197,24,.4);
    color: var(--brand-light);
}

.work-step {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}
.work-step::after {
    content: '';
    position: absolute;
    top: 3rem; right: -10%;
    width: 20%;
    height: 2px;
    background: linear-gradient(90deg, rgba(245,197,24,.5), transparent);
}
.work-step:last-child::after { display: none; }

.step-number {
    width: 36px; height: 36px;
    background: var(--brand);
    color: #4a4a4a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 800;
    margin: 0 auto .75rem;
    box-shadow: 0 4px 15px rgba(245,197,24,.5);
}
.step-icon {
    width: 72px; height: 72px;
    background: rgba(245,197,24,.1);
    border: 1px solid rgba(245,197,24,.25);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--brand);
    margin: 0 auto 1.25rem;
    transition: var(--transition);
}
.work-step:hover .step-icon {
    background: rgba(245,197,24,.2);
    border-color: rgba(245,197,24,.5);
    color: var(--brand-light);
    transform: scale(1.1);
}
.step-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: .5rem;
}
.step-desc {
    font-size: .85rem;
    color: rgba(255,255,255,.6);
    line-height: 1.6;
    margin: 0;
}

/* ── MOBILE APP ───────────────────────────────────────────── */
.mobile-app-section {
    background: white;
    padding: 70px 0;
}
.app-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(245,197,24,.12);
    color: var(--brand-dark);
    border: 1px solid rgba(245,197,24,.35);
    padding: .3rem .9rem;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: .75rem;
}
.app-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: .75rem;
}
.app-description {
    font-size: .95rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
    line-height: 1.7;
}
.app-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
    margin-bottom: 2rem;
}
.app-feature {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .88rem;
    font-weight: 500;
    color: var(--text);
}
.app-feature i { color: var(--brand-dark); font-size: 1rem; }
.app-mockup {
    background: linear-gradient(135deg, #fffdf0 0%, #fef9c3 100%);
    border-radius: var(--radius-lg);
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--brand);
    box-shadow: var(--shadow-md);
    border: 2px solid #f0e68c;
}

/* ── NEWSLETTER ───────────────────────────────────────────── */
.newsletter-section {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    padding: 60px 0;
}
.newsletter-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: .5rem;
}
.newsletter-text {
    color: rgba(26,26,46,.75);
    font-size: .95rem;
    margin: 0;
}
.newsletter-input {
    padding: .75rem 1.25rem;
    border: none;
    border-radius: 10px 0 0 10px;
    font-size: .9rem;
    flex: 1;
}
.newsletter-input:focus { outline: none; box-shadow: none; }
.newsletter-btn {
    padding: .75rem 1.75rem;
    background: #1a1a2e;
    color: var(--brand);
    border: none;
    border-radius: 0 10px 10px 0;
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.newsletter-btn:hover { background: #0d1117; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 992px) {
    .hero-modern { min-height: 560px; }
    .search-row-compact { flex-direction: column; align-items: stretch; }
    .search-field-compact { min-width: 100%; }
    .btn-search-compact { width: 100%; justify-content: center; }
    .filters-row-compact { flex-direction: column; align-items: flex-start; gap: .75rem; }
    .trending-compact { margin-left: 0; }
    .trust-strip { gap: 1.25rem; }
    .work-step::after { display: none; }
    .app-features { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .hero-modern { min-height: 500px; }
    .hero-content { padding: 40px 0 30px; }
    .search-card-compact { padding: 1.25rem; }
    .trip-tabs-compact { width: 100%; }
    .trip-tab-compact { flex: 1; justify-content: center; }
    .stats-bar .row > div { border-bottom: 1px solid rgba(26,26,46,.1); }
    .stats-bar .row > div:last-child { border-bottom: none; }
}

/* ── ANIMATIONS ───────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: fadeInUp .8s ease both; }
.animate-delay-1 { animation-delay: .15s; }
.animate-delay-2 { animation-delay: .3s; }
