@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@700&display=swap');

:root {
  /* ===== WORLDWIDE HOLIDAY BRAND COLORS ===== */
  --primary: #0F2042;         /* Deep Ocean Navy - Represents global travel */
  --primary-dark: #0A1428;    /* Dark Navy */
  --primary-light: #1A3668;   /* Royal Navy */
  --accent: #FF5A5F;          /* Sunset Coral - For high-conversion CTAs/Buttons */
  --accent-light: #FF7377;    /* Light Coral */
  --gold: #00A896;            /* Vibrant Teal - Represents worldwide tropical destinations */
  --dark: #111827;            /* Dark Charcoal */
  --dark-2: #1F2937;          /* Card Dark Backgrounds */
  --text: #2D3748;            /* Slate Text */
  --text-light: #718096;      /* Muted Text */
  --white: #fff;
  --bg-light: #F7FAFC;        /* Fresh Light Gray Background */
  --border: #E2E8F0;          /* Clean Borders */
  --success: #38A169;         /* Safe Green */
  --shadow: 0 4px 24px rgba(15,32,66,0.08);
  --shadow-hover: 0 12px 32px rgba(15,32,66,0.15);
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; }

/* ====== NAVBAR ====== */
.navbar-brand img { height: 38px; }
.navbar { background: var(--white) !important; box-shadow: 0 2px 16px rgba(0,0,0,0.05); padding: 12px 0; position: sticky; top: 0; z-index: 999; }
.navbar-nav .nav-link { font-weight: 500; color: var(--dark) !important; padding: 8px 14px !important; border-radius: var(--radius-sm); transition: all 0.2s; font-size: 0.92rem; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--gold) !important; background: rgba(0,168,150,0.06); }
.navbar-call { background: var(--gold); color: var(--white) !important; border-radius: 24px; padding: 8px 18px !important; font-weight: 600; }
.navbar-call:hover { background: #008F80 !important; color: var(--white) !important; }
.top-bar { background: var(--primary); color: var(--white); padding: 8px 0; font-size: 0.82rem; }
.top-bar a { color: var(--accent); font-weight: 600; }

/* ====== HERO ====== */
.hero { background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 50%, var(--primary) 100%); min-height: 88vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url('../images/photo-1436491865332-7a61a109cc05.jpg') center/cover; opacity: 0.15; }
.hero-content { position: relative; z-index: 2; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; color: var(--white); line-height: 1.15; }
.hero h1 span { color: var(--accent); }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin: 16px 0 0; }
.hero-badge { display: inline-block; background: var(--gold); color: var(--white); border-radius: 24px; padding: 5px 18px; font-size: 0.82rem; font-weight: 600; margin-bottom: 16px; letter-spacing: 0.5px; }

/* ====== SEARCH BOX ====== */
.search-box { background: var(--white); border-radius: var(--radius); box-shadow: 0 12px 48px rgba(15,32,66,0.18); padding: 28px 28px 22px; margin-top: 32px; position: relative; z-index: 3; }
.search-tabs .nav-link { color: var(--text); font-weight: 600; border: none; border-bottom: 3px solid transparent; border-radius: 0; padding: 10px 20px; font-size: 0.92rem; }
.search-tabs .nav-link.active { color: var(--primary); border-bottom-color: var(--primary); background: none; }
.search-tabs .nav-link i { margin-right: 6px; }
.search-form .form-label { font-size: 0.75rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.search-form .form-control, .search-form .form-select { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.93rem; font-family: 'Poppins', sans-serif; transition: border-color 0.2s; }
.search-form .form-control:focus, .search-form .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(0,168,150,0.10); }
.trip-type-pills .form-check-label { font-size: 0.85rem; font-weight: 500; cursor: pointer; }
.btn-search { background: var(--accent); color: var(--white); font-weight: 700; font-size: 1rem; border: none; border-radius: 10px; padding: 13px 36px; transition: all 0.22s; letter-spacing: 0.3px; }
.btn-search:hover { background: var(--accent-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,90,95,0.35); }
.btn-primary-cta { background: var(--primary); color: var(--white); font-weight: 700; border: none; border-radius: 10px; padding: 12px 30px; transition: all 0.22s; }
.btn-primary-cta:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(15,32,66,0.25); }

/* ====== RATINGS STRIP ====== */
.ratings-strip { background: var(--white); padding: 18px 0; border-bottom: 1px solid var(--border); }
.rating-item { text-align: center; }
.rating-item .score { font-size: 1.35rem; font-weight: 800; color: var(--primary); }
.rating-item .label { font-size: 0.75rem; color: var(--text-light); }
.rating-item .stars { color: #f5a623; font-size: 0.82rem; letter-spacing: 1px; }
.rating-divider { width: 1px; background: var(--border); height: 40px; align-self: center; }

/* ====== SECTIONS ====== */
.section-header { text-align: center; margin-bottom: 40px; }
.section-label { display: inline-block; background: rgba(0,168,150,0.08); color: var(--gold); border-radius: 24px; padding: 5px 18px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; color: var(--dark); }
.section-title span { color: var(--primary); }
.section-sub { color: var(--text-light); margin-top: 8px; font-size: 0.95rem; }

/* ====== DEAL CARDS ====== */
.deal-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: all 0.25s; border: 1.5px solid var(--border); cursor: pointer; }
.deal-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: var(--gold); }
.deal-card .card-img { height: 160px; object-fit: cover; width: 100%; }
.deal-card .airline-logo { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--bg-light); border: 1px solid var(--border); }
.deal-price { font-size: 1.45rem; font-weight: 800; color: var(--accent); }
.deal-price span { font-size: 0.78rem; font-weight: 500; color: var(--text-light); }
.deal-tag { display: inline-block; background: rgba(56,161,105,0.1); color: var(--success); border-radius: 4px; padding: 2px 8px; font-size: 0.72rem; font-weight: 700; }
.deal-route { font-size: 0.88rem; font-weight: 600; color: var(--dark); }
.deal-route .route-arrow { color: var(--gold); margin: 0 6px; }
.deal-date { font-size: 0.78rem; color: var(--text-light); }

/* ====== FEATURE CARDS ====== */
.feature-card { background: var(--white); border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow); border: 1.5px solid var(--border); transition: all 0.25s; text-align: center; }
.feature-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.feature-icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.5rem; }
.fi-blue { background: rgba(15,32,66,0.10); color: var(--primary); }
.fi-orange { background: rgba(255,90,95,0.10); color: var(--accent); }
.fi-green { background: rgba(56,161,105,0.10); color: var(--success); }
.fi-gold { background: rgba(0,168,150,0.12); color: var(--gold); }

/* ====== HOTEL & CRUISE CARDS ====== */
.h-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all 0.25s; border: 1.5px solid var(--border); background: var(--white); }
.h-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.h-card img { height: 200px; object-fit: cover; width: 100%; }
.stars-row { color: #f5a623; font-size: 0.85rem; }
.price-tag { font-weight: 800; font-size: 1.3rem; color: var(--primary); }
.price-tag small { font-size: 0.75rem; color: var(--text-light); font-weight: 400; }
.badge-deal { background: var(--accent); color: var(--white); font-size: 0.7rem; font-weight: 700; border-radius: 4px; padding: 3px 8px; }

/* ====== DEALS SECTION ====== */
.deals-grid .deal-promo { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.deal-promo img { height: 200px; object-fit: cover; width: 100%; transition: transform 0.35s; }
.deal-promo:hover img { transform: scale(1.04); }
.deal-promo-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%); padding: 20px 16px 14px; color: var(--white); }
.deal-promo-overlay h6 { font-weight: 700; margin: 0; font-size: 0.95rem; }
.deal-promo-overlay p { font-size: 0.78rem; margin: 4px 0 0; opacity: 0.9; }

/* ====== CTA BANNER ====== */
.cta-banner { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); border-radius: var(--radius); padding: 48px 40px; color: var(--white); position: relative; overflow: hidden; }
.cta-banner::after { content: '✈'; position: absolute; right: -20px; top: -20px; font-size: 160px; opacity: 0.06; }
.cta-banner h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.cta-banner p { opacity: 0.85; }

/* ====== NEWSLETTER ====== */
.newsletter { background: var(--bg-light); }
.newsletter-box { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); text-align: center; }
.newsletter-icon { width: 72px; height: 72px; background: rgba(0,168,150,0.10); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.8rem; color: var(--gold); }
.newsletter-box input { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 12px 18px; font-family: 'Poppins', sans-serif; font-size: 0.92rem; }
.newsletter-box input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(0,168,150,0.10); outline: none; }

/* ====== FOOTER ====== */
footer { background: var(--dark); color: rgba(255,255,255,0.7); }
footer .footer-top { padding: 60px 0 40px; }
footer h6 { color: var(--white); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 18px; }
footer a { color: rgba(255,255,255,0.6); font-size: 0.85rem; display: block; margin-bottom: 8px; transition: color 0.2s; }
footer a:hover { color: var(--accent); }
footer .footer-brand p { font-size: 0.85rem; line-height: 1.7; opacity: 0.7; }
.footer-bottom { background: rgba(0,0,0,0.3); padding: 16px 0; font-size: 0.8rem; }
.social-links a { display: inline-flex; width: 36px; height: 36px; background: rgba(255,255,255,0.06); border-radius: 50%; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: all 0.2s; margin-right: 8px; font-size: 0.9rem; }
.social-links a:hover { background: var(--gold); color: var(--white); }

/* ====== CRUISE PAGE ====== */
.cruise-hero { background: linear-gradient(135deg, #091730 0%, var(--primary) 60%, #1A3668 100%); position: relative; overflow: hidden; min-height: 75vh; display: flex; align-items: center; }
.cruise-hero::before { content: ''; position: absolute; inset: 0; background: url('../images/cruise/photo-1548574505-5e239809ee19.jpg') center/cover; opacity: 0.20; }
.cruise-line-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all 0.25s; border: 1.5px solid var(--border); background: var(--white); }
.cruise-line-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.cruise-line-card img { height: 180px; object-fit: cover; width: 100%; }
.cruise-badge { background: linear-gradient(135deg, var(--gold) 0%, #00C2AD 100%); color: var(--white); border-radius: 24px; padding: 4px 14px; font-size: 0.72rem; font-weight: 700; display: inline-block; }

/* ====== PAGE HERO (inner pages) ====== */
.page-hero { background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%); padding: 70px 0 50px; color: var(--white); text-align: center; position: relative; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1600&q=80') center/cover; opacity: 0.12; }
.page-hero h1 { font-family: 'Playfair Display', serif; position: relative; font-size: clamp(2rem, 4vw, 3.2rem); }
.page-hero p { position: relative; opacity: 0.85; font-size: 1.05rem; }
.breadcrumb { background: none; padding: 0; font-size: 0.85rem; position: relative; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }
.breadcrumb-item a { color: var(--accent); }
.breadcrumb-item.active { color: rgba(255,255,255,0.75); }

/* ====== FILTER SIDEBAR ====== */
.filter-box { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border: 1.5px solid var(--border); }
.filter-box h6 { font-weight: 700; color: var(--dark); margin-bottom: 14px; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.price-range input[type=range] { width: 100%; accent-color: var(--gold); }

/* ====== RESPONSIVE ====== */
@media (max-width: 991px) {
  .hero { min-height: auto; padding: 60px 0; }
  .search-box { padding: 20px 16px; }
  .cta-banner { padding: 32px 24px; }
}
@media (max-width: 767px) {
  .hero h1 { font-size: 2rem; }
  .search-tabs .nav-link { padding: 8px 12px; font-size: 0.82rem; }
  .deal-card .card-img { height: 130px; }
  footer .footer-top { padding: 36px 0 24px; }
  .rating-divider { display: none; }
}
@media (max-width: 575px) {
  .cta-banner { padding: 24px 18px; }
  .cta-banner::after { display: none; }
}

/* ====== UTILS ====== */
.bg-primary-soft { background: rgba(15,32,66,0.04); }
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.fw-800 { font-weight: 800; }
.rounded-xl { border-radius: var(--radius); }
.section-pad { padding: 72px 0; }
.section-pad-sm { padding: 48px 0; }

/* SEARCH FORM FLIGHT  */
.airport-item {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f2f2f2;
    transition: 0.2s;
}
.airport-item:hover {
    background: #f4f7fc;
}
.airport-item .code {
    font-weight: 700;
    font-size: 14px;
    color: var(--gold);
    min-width: 50px;
}
.airport-item .name {
    font-size: 14px;
    font-weight: 500;
    color: #222;
}
.airport-item .meta {
    font-size: 12px;
    color: #777;
}

/* TRAVELLER WRAPPER BOOTSTRAP FIXES */
.traveller-wrapper {
    position: relative;
}
.traveller_block {
    position: absolute;
    top: 100%;
    left: 0;
    width: 320px;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    z-index: 99999;
    display: none;
}
.counter-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.counter {
    flex: 1;
    border: 1px solid #eee;
    padding: 8px;
    border-radius: 8px;
    text-align: center;
}
.counter button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #f5f5f5;
    cursor: pointer;
}

/* cabin */
.cabinClass {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin-bottom: 8px;
}
.cabinClass li {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
}
.cabinClass li.selected {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* child age */
#child_age_box {
    margin-top: 8px;
}
.child-age-row select {
    width: 100%;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* button */
#traveller_done {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border: none;
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
}

/* IMPORTANT FIX */
.search-box,
.container,
.hero {
    overflow: visible !important;
}

/* ===== FIXED BOTTOM BAR ===== */
.splitviewStickyOuter {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 9999;
}
.splitviewSticky {
    background: var(--primary) !important;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,.25);
}

/* ===== DETAILS PANEL ===== */
.flightToggle.fa-angle-down {
    cursor: pointer;
    font-size: 28px;
    transition: transform .3s ease;
}
.flightToggle.fa-angle-down.open {
    transform: rotate(180deg);
}
body {
    padding-bottom: 120px;
}
.splitviewStickyOuter {
    position: sticky;
    bottom: 0;
    z-index: 999;
    margin-top: 20px;
}
.splitviewSticky {
    background: #111827;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 -4px 20px rgba(0,0,0,.15);
}
.flightToggle.fa-angle-down {
    cursor: pointer;
    font-size: 22px;
    transition: .3s;
}
.flightToggle.fa-angle-down.rotate {
    transform: rotate(180deg);
}
#flightTabs .nav-link {
    border: none;
    color: #666;
    font-weight: 600;
}
#flightTabs .nav-link.active {
    color: var(--gold);
    border-bottom: 3px solid var(--gold);
    background: none;
}
div#details {
    display: flex;
    justify-content: space-between;
}
.layovertime-center.mb-3 {
    color: var(--accent);
}
button.btn.btn-book.btn-sm {
    background: var(--accent);
    color: var(--white);
    font-weight: 700;
    font-size: 11px;
    border: none;
    border-radius: 10px;
    padding: 16px 17px;
    transition: all 0.22s;
    letter-spacing: 0.3px;
}
button.btn.btn-book.btn-sm:hover {
    background: var(--accent-light);
    box-shadow: 0 4px 12px rgba(255,90,95,0.3);
}
.splitviewSticky {
    display: flex;
    gap: 20px;
    align-items: center;
}
.split-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 20px;
    border-right: 1px solid rgba(255,255,255,0.2);
}
.split-item:last-child {
    border-right: none;
}