/* Rehla Jordania - Premium Homepage Design System */
:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    /* Authentic Jordan Tourism Color Palette */
    --terra-primary: #c85a32;
    --terra-dark: #a94420;
    --terra-light: #f7ede8;
    --sand-accent: #d39035;
    --sand-bg: #fbf8f3;
    --sand-card: #ffffff;
    --sand-dark: #eee4d5;
    --olive-dark: #1b261f;
    --olive-forest: #2d4739;
    --text-primary: #1e2420;
    --text-secondary: #5a645e;
    --text-muted: #849089;
    --border-light: rgba(180, 150, 120, 0.18);
    --shadow-sm: 0 4px 12px rgba(27, 38, 31, 0.05);
    --shadow-md: 0 12px 28px rgba(27, 38, 31, 0.08);
    --shadow-lg: 0 24px 48px rgba(27, 38, 31, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-pill: 50px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--sand-bg);
    overflow-x: hidden;
}

/* ==========================================================================
   1. Hero Section & Header
   ========================================================================== */
.hero-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background-image:
        linear-gradient(180deg, rgba(16, 24, 20, 0.72) 0%, rgba(20, 30, 24, 0.85) 100%),
        url("https://explore.rehlat.ae/static/media/searchdestination/thingstodo/images/al'_aqabah/wadi_rum/large_39908031201_be0a5577ff_k.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
}

.home-header {
    width: 100%;
    z-index: 10;
}

.home-brand {
    display: flex;
    align-items: center;
    color: #ffffff;
    gap: 12px;
}

.home-brand:hover {
    color: #ffffff;
}

.brand-icon-wrap {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--terra-primary), var(--sand-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(200, 90, 50, 0.35);
}

.brand-icon {
    width: 22px;
    height: 22px;
    color: #ffffff;
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    display: block;
    color: #ffffff;
}

.brand-sub {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.65);
}

.home-theme-btn, .home-lang-btn {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    color: #ffffff !important;
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.65rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.home-theme-btn:hover, .home-lang-btn:hover {
    background: rgba(255, 255, 255, 0.26) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.home-theme-btn {
    width: 34px;
    height: 34px;
    padding: 0;
}

.home-lang-btn {
    min-width: 52px;
    height: 34px;
    padding: 0 0.5rem;
    font-size: 0.85rem;
}

.home-nav {
    display: flex;
    align-items: center;
}

.nav-item-pill {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
}

.nav-item-pill:hover,
.nav-item-pill.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}

.user-greeting {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.nav-cta-btn {
    background: var(--terra-primary);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(200, 90, 50, 0.4);
    transition: all 0.2s ease;
}

.nav-cta-btn:hover {
    background: var(--terra-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(200, 90, 50, 0.5);
}

/* ==========================================================================
   Hero Content & Search
   ========================================================================== */
.hero-content {
    max-width: 860px;
    z-index: 5;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: #ffffff;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.4rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.highlight-text {
    background: linear-gradient(135deg, #fce0bc 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    max-width: 680px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
}

.hero-search-card {
    background: #ffffff;
    border-radius: var(--radius-pill);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    max-width: 680px;
    width: 100%;
}

.search-icon {
    color: var(--text-muted);
    width: 22px;
    height: 22px;
}

.hero-search-input {
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    padding: 0.6rem 0.8rem;
}

.hero-search-input::placeholder {
    color: #9aa59e;
    font-size: 0.95rem;
}

.hero-search-btn {
    background: var(--terra-primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.6rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(200, 90, 50, 0.35);
}

.hero-search-btn:hover {
    background: var(--terra-dark);
    transform: translateY(-1px);
}

.hero-quick-tags {
    margin-top: 1.5rem;
}

.quick-tag {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
}

.quick-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

.scroll-indicator {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.scroll-indicator:hover {
    color: #ffffff;
}

.bounce-icon {
    width: 20px;
    height: 20px;
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

/* ==========================================================================
   2. Curated Experiences Section
   ========================================================================== */
.themes-section {
    background-color: var(--sand-bg);
}

.max-w-700 {
    max-width: 700px;
}

.section-kicker {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--terra-primary);
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.4rem;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--olive-dark);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-subheading {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.theme-card {
    background: var(--sand-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.theme-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.theme-card-img-wrap {
    position: relative;
    height: 190px;
    overflow: hidden;
}

.theme-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.theme-card:hover .theme-card-img-wrap img {
    transform: scale(1.06);
}

.theme-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(27, 38, 31, 0.75);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.28rem 0.75rem;
    border-radius: var(--radius-pill);
    letter-spacing: 0.02em;
}

.theme-card-body {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.theme-card-body h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--olive-dark);
    margin-bottom: 0.5rem;
}

.theme-card-body p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.theme-link {
    color: var(--terra-primary);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
}

.theme-link:hover {
    color: var(--terra-dark);
    transform: translateX(3px);
}

/* ==========================================================================
   3. Platform Features
   ========================================================================== */
.features-section {
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.feature-box {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    transition: transform 0.2s ease;
}

.feature-box:hover {
    transform: translateY(-4px);
}

.feature-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--terra-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.feature-icon {
    width: 26px;
    height: 26px;
    color: var(--terra-primary);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--olive-dark);
    margin-bottom: 0.6rem;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   4. Call To Action Banner
   ========================================================================== */
.cta-banner-section {
    background: var(--sand-bg);
}

.cta-card {
    background: linear-gradient(135deg, var(--olive-dark) 0%, #2d3b32 100%);
    border-radius: var(--radius-lg);
    color: #ffffff;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 90, 50, 0.3) 0%, transparent 70%);
}

.cta-card-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
}

.cta-card-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
}

.btn-terra-primary {
    background: var(--terra-primary);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-pill);
    border: none;
    box-shadow: 0 4px 16px rgba(200, 90, 50, 0.4);
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-terra-primary:hover {
    background: var(--terra-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(200, 90, 50, 0.5);
}

.btn-terra-secondary {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-terra-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================================================
   5. Footer
   ========================================================================== */
.home-footer {
    background: #ffffff;
    border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-search-card {
        border-radius: var(--radius-lg);
    }

    .hero-search-card .d-flex {
        flex-direction: column;
    }

    .hero-search-btn {
        width: 100%;
        justify-content: center;
    }
}
