/**
 * Solana Travel - Landing Page Styles
 * Extracted from index.html inline styles for cacheability
 */

/* ========================================
   Landing Base
   ======================================== */
.landing-page {
    min-height: 100vh;
    --landing-page-gutter: var(--page-gutter);
    background: var(--site-bg);
}

.landing-bg {
    display: none;
}

/* ========================================
   Hero Section
   ======================================== */
.hero-landing {
    position: relative;
    background: var(--site-bg);
    border-radius: 0;
    padding: clamp(24px, 4vw, 52px) var(--landing-page-gutter) 32px;
    margin-bottom: 0;
    overflow: visible;
}

.landing-page .header-glass {
    background: var(--site-bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
}

.landing-page #mobile-menu {
    background: var(--site-bg);
}

.hero-landing::before {
    content: none;
}

.hero-landing::after {
    content: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.hero-copy {
    text-align: center;
    color: #0f172a;
}

.hero-announcement {
    font-family: 'Tajawal', 'Inter', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    letter-spacing: normal;
    word-spacing: 0.12em;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 880px;
}

.hero-announcement-sub {
    display: inline-flex;
    align-items: center;
    font-size: clamp(0.95rem, 1.8vw, 1.25rem);
    font-weight: 800;
    color: #991b1b;
    margin-top: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(254, 226, 226, 0.9);
    border: 1px solid rgba(248, 113, 113, 0.55);
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.4rem, 4.2vw, 3.8rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #334155;
    margin-bottom: 24px;
    max-width: 34rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e3a8a;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(30, 64, 175, 0.18);
}

.hero-panel {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 26px;
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 30px 60px rgba(5, 16, 38, 0.35);
    margin-top: 18px;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    position: relative;
    z-index: 2;
}

/* ========================================
   Search
   ======================================== */
.search-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #d7e0ea;
    border-radius: 14px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f8fafc;
    color: #0f172a;
    caret-color: #0f172a;
}

.search-box input::placeholder {
    color: #94a3b8;
}

.search-box input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.search-box button {
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--brand-accent-400) 0%, var(--brand-accent-500) 100%);
    color: white;
    font-weight: 700;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.35);
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(var(--brand-accent-500-rgb) / 0.5);
}

.search-dropdown {
    position: fixed;
    top: 0;
    left: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
    z-index: 20;
    display: none;
    max-height: 320px;
    overflow-y: auto;
}

.search-dropdown.active {
    display: block;
}

.search-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    text-decoration: none;
    color: #0f172a;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

.search-item:last-child {
    border-bottom: none;
}

.search-item:hover {
    background: #f8fafc;
}

.search-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-item-name {
    font-weight: 700;
}

.search-item-meta {
    color: #64748b;
    font-size: 0.9rem;
}

.search-empty {
    padding: 14px 16px;
    color: #64748b;
    font-size: 0.95rem;
}

body[dir="rtl"] .search-item {
    flex-direction: row-reverse;
    text-align: right;
}

/* ========================================
   Seasonal Campaigns (Home)
   ======================================== */
.seasonal-home-section {
    width: 100%;
    margin: 0;
    padding: 24px var(--landing-page-gutter) 24px;
}

.seasonal-home-head {
    text-align: center;
    margin-bottom: 18px;
}

.seasonal-home-banner {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: clamp(18px, 2.5vw, 30px);
    background: radial-gradient(circle at top right, rgba(255, 231, 172, 0.95), transparent 55%),
        linear-gradient(135deg, #0f3d8f 0%, #1d4ed8 45%, #0ea5e9 100%);
    color: #fff;
    box-shadow: 0 20px 42px rgba(14, 56, 122, 0.26);
}

.seasonal-home-banner-clickable {
    cursor: pointer;
}

.seasonal-home-banner-clickable:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.75);
    outline-offset: 3px;
}

.seasonal-home-banner h3 {
    margin: 8px 0 6px;
    font-size: clamp(1.35rem, 2.8vw, 2rem);
    line-height: 1.2;
    font-weight: 800;
}

.seasonal-home-banner p {
    margin: 0;
    max-width: 780px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

.seasonal-banner-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.seasonal-banner-actions {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.seasonal-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.seasonal-status-active {
    background: rgba(34, 197, 94, 0.16);
    color: #d1fae5;
    border: 1px solid rgba(134, 239, 172, 0.45);
}

.seasonal-status-upcoming {
    background: rgb(var(--brand-accent-400-rgb) / 0.16);
    color: var(--brand-accent-600);
    border: 1px solid rgb(var(--brand-accent-500-rgb) / 0.45);
}

.seasonal-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 11px;
    text-decoration: none;
    font-weight: 700;
    color: #0b2f73;
    background: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.seasonal-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(6, 39, 92, 0.28);
}

.seasonal-home-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.seasonal-offer-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(203, 213, 225, 0.65);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.seasonal-offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14);
}

.seasonal-offer-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.seasonal-offer-image {
    width: 100%;
    height: 156px;
    object-fit: cover;
    display: block;
}

.seasonal-offer-content {
    padding: 12px 13px 14px;
    position: relative;
    z-index: 3;
}

.seasonal-offer-content h3 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.seasonal-offer-area {
    margin: 0;
    font-size: 0.84rem;
    color: #64748b;
}

.seasonal-offer-highlight {
    margin: 8px 0 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: #1e293b;
}

.seasonal-offer-price {
    margin-top: 11px;
    display: flex;
    align-items: baseline;
    gap: 7px;
    color: #1e3a8a;
}

.seasonal-offer-price span,
.seasonal-offer-price em {
    font-size: 0.76rem;
    color: #64748b;
    font-style: normal;
}

.seasonal-offer-price strong {
    font-size: 1.1rem;
    font-weight: 900;
}

.seasonal-offer-cta {
    margin-top: 11px;
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0f4aa4;
    background: #eff6ff;
}

.seasonal-home-footer {
    margin-top: 16px;
    text-align: center;
}

.seasonal-all-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    background: #0f3d8f;
    color: #fff;
    transition: transform 0.2s ease, background 0.2s ease;
}

.seasonal-all-link:hover {
    background: #0a2f6f;
    transform: translateY(-2px);
}

.seasonal-empty {
    margin: 0;
    color: rgba(15, 23, 42, 0.72);
}

body[dir="rtl"] .seasonal-home-banner,
body[dir="rtl"] .seasonal-offer-content,
body[dir="rtl"] .seasonal-home-head,
body[dir="rtl"] .seasonal-home-footer {
    text-align: right;
}

body[dir="rtl"] .seasonal-home-banner {
    background: radial-gradient(circle at top left, rgba(255, 231, 172, 0.95), transparent 55%),
        linear-gradient(225deg, #0f3d8f 0%, #1d4ed8 45%, #0ea5e9 100%);
}

/* ========================================
   Destination Cards
   ======================================== */
.destinations-section {
    width: 100%;
    margin: 0;
    padding: 32px var(--landing-page-gutter) 40px;
}

.landing-page .section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 40px;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.destination-card {
    position: relative;
    height: clamp(300px, 23vw, 420px);
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.destination-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.destination-card:hover img {
    transform: scale(1.1);
}

.destination-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.destination-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
}

.destination-count {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.destination-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #1e40af;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ========================================
   Category Pills
   ======================================== */
.categories-section {
    width: 100%;
    margin: 0;
    padding: 20px var(--landing-page-gutter) 60px;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: white;
    border-radius: 50px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
}

.category-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
    color: #1e40af;
}

.category-pill .icon {
    font-size: 1.5rem;
}

/* ========================================
   Features Section
   ======================================== */
.features-section {
    background: white;
    padding: 60px var(--landing-page-gutter);
}

.features-grid {
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: 20px;
    transition: all 0.3s;
}

.feature-card:hover {
    background: #f8fafc;
    transform: translateY(-5px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.75rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.feature-desc {
    color: #64748b;
    line-height: 1.6;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    width: 100%;
    margin: 0;
    padding: 60px var(--landing-page-gutter);
}

.cta-box {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 32px;
    padding: 48px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.3);
}

.cta-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-btn-primary {
    background: white;
    color: #1e40af;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ========================================
   RTL Support
   ======================================== */
[dir="rtl"] .destination-badge {
    right: auto;
    left: 20px;
}

[dir="rtl"] .category-pill,
[dir="rtl"] .cta-btn {
    flex-direction: row-reverse;
}

@media (max-width: 1500px) {
    .destinations-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .destinations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seasonal-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .hero-landing {
        padding: 18px var(--landing-page-gutter) 24px;
        border-radius: 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-announcement {
        font-size: 1.4rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-panel {
        padding: 16px;
    }

    .search-box {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .destinations-grid {
        grid-template-columns: 1fr;
    }

    .destinations-section {
        padding: 24px var(--landing-page-gutter) 32px;
    }

    .seasonal-home-section {
        padding: 20px var(--landing-page-gutter) 20px;
    }

    .seasonal-home-banner {
        border-radius: 20px;
    }

    .destination-card {
        height: 240px;
    }

    .cta-box {
        padding: 32px 24px;
        text-align: center;
        flex-direction: column;
    }

    .cta-buttons {
        width: 100%;
        flex-direction: column;
    }

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

    .seasonal-home-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out backwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
