/* Marhaba Holidays - Modern Bright Luxury Travel Design System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Titan+One&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --primary-light: #fbbf24;
    --navy-top: #0b1a30;
    --navy-brand: #154273;
    --navy-dark: #070f1e;
    --body-bg: #f8fafc;
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --text-main: #0f172a;
    --text-muted: #64748b;
}

.font-marhaba {
    font-family: 'Titan One', cursive, sans-serif;
    letter-spacing: 0.04em;
}

.marhaba-subtext {
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.18em;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--body-bg);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Header & Navigation */
.header-topbar {
    background-color: var(--navy-top);
    color: #cbd5e1;
    width: 100%;
}

.main-navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
    width: 100%;
}

/* Cards & Components - Sharp Corners Inspo Design */
.travel-card,
.testimonial-glass-card,
.dest-card,
.package-card,
.card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0 !important;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.travel-card img:not(.rounded-full),
.dest-card img:not(.rounded-full),
.testimonial-glass-card img:not(.rounded-full) {
    border-radius: 0 !important;
}

.rounded-full,
img.rounded-full {
    border-radius: 9999px !important;
}

.travel-card-hover:hover,
a.travel-card:hover,
button.travel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.12), 0 0 15px rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
}

.badge-discount {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

/* Modals display enforcement */
.modal-backdrop {
    z-index: 99999 !important;
}
.modal-backdrop.hidden,
div.modal-backdrop.hidden {
    display: none !important;
}
.modal-backdrop.flex,
div.modal-backdrop.flex {
    display: flex !important;
}

/* Swiper Core Structural Layout */
.swiper {
    width: 100%;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
    display: block;
}

.swiper-wrapper {
    position: relative;
    /* NOTE: Do NOT set width here — Swiper sets it dynamically for multi-card layouts */
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.swiper-slide {
    flex-shrink: 0;
    height: auto;
    position: relative;
    box-sizing: border-box;
}

/* Cards inside swiper slides stretch to full height */
.swiper-slide .travel-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Swiper Custom Navigation Arrows (Featured & Testimonials) */
.featured-nav-arrow, .testimonials-nav-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.featured-nav-arrow:hover {
    background: #f59e0b;
    color: #0b1a30;
    border-color: #f59e0b;
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

.testimonials-nav-arrow {
    background: rgba(11, 26, 48, 0.85);
    border: 1.5px solid rgba(245, 158, 11, 0.4);
    color: #f59e0b;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.testimonials-nav-arrow:hover {
    background: #f59e0b;
    color: #0b1a30;
    border-color: #f59e0b;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

/* Luxury Modern Glassmorphic Testimonial Card */
.testimonial-glass-card {
    background: rgba(11, 26, 48, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-glass-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 25px rgba(245, 158, 11, 0.25);
}

.testimonial-avatar {
    position: relative;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.6), 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.testimonial-glass-card:hover .testimonial-avatar {
    transform: scale(1.06);
    box-shadow: 0 0 0 4px #f59e0b, 0 10px 25px rgba(245, 158, 11, 0.4);
}

/* Swiper Pagination Bullets */
.swiper-pagination-bullet {
    background: #cbd5e1 !important;
    opacity: 0.8 !important;
    transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
    background: #f59e0b !important;
    width: 24px !important;
    border-radius: 6px !important;
    opacity: 1 !important;
}

/* Modal Engine Guaranteed Display */
.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(7, 15, 30, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    z-index: 999999 !important;
}

.modal-backdrop.flex {
    display: flex !important;
}

.modal-backdrop.hidden {
    display: none !important;
}

