/* ============================================
   Jetlivo - Premium Light Theme
   Skyscanner / Booking.com inspired design
   ============================================ */

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

:root {
    --blue-primary: #0081c9;
    --blue-light: #e8f4fd;
    --blue-mid: #b3d9f4;
    --sky: #f0f8ff;
    --white: #ffffff;
    --gray-100: #f7f9fc;
    --gray-200: #eef2f7;
    --gray-400: #a0aec0;
    --gray-700: #4a5568;
    --gray-900: #1a202c;
    --orange: #ff6b35;
    --green: #00b386;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 40px rgba(0, 129, 201, 0.12);
    --radius: 14px;
    --radius-sm: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--gray-100);
    color: var(--gray-900);
    line-height: 1.6;
    font-size: 15px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: var(--gray-900);
}

.logo span {
    color: var(--blue-primary);
}

.nav-links {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
    background: var(--blue-light);
    color: var(--blue-primary);
}

/* ===== HERO ===== */
.hero {
    padding-top: 64px;
    min-height: 500px;
    background: linear-gradient(160deg, #def2ff 0%, #f0f8ff 45%, #fff5ee 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 120px;
}

/* Subtle background shapes */
.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 129, 201, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.07) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    border-radius: 50%;
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding: 3rem 2rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--blue-light);
    color: var(--blue-primary);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.3px;
    border: 1px solid var(--blue-mid);
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.hero h1 em {
    font-style: normal;
    color: var(--blue-primary);
}

.hero p {
    font-size: 1.05rem;
    color: var(--gray-700);
    max-width: 540px;
    margin: 0 auto;
}

/* ===== SEARCH CARD ===== */
.search-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -90px;
    padding: 0 1.5rem 3rem;
    display: flex;
    justify-content: center;
}

.search-card {
    width: 100%;
    max-width: 1100px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 50px rgba(0, 129, 201, 0.14), 0 2px 10px rgba(0, 0, 0, 0.06);
    padding: 1.5rem 2rem 2rem;
    border: 1px solid rgba(0, 129, 201, 0.1);
    min-height: 140px;
}

/* ===== WIDGET OVERRIDES ===== */
#tpwl-search {
    width: 100%;
}

#tpwl-tickets {
    width: 100%;
}

/* ===== FEATURES SECTION ===== */
.features {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-icon.blue {
    background: var(--blue-light);
    color: var(--blue-primary);
}

.feature-icon.orange {
    background: #fff2ec;
    color: var(--orange);
}

.feature-icon.green {
    background: #e6f9f5;
    color: var(--green);
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--gray-900);
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--gray-400);
    line-height: 1.55;
}

/* ===== POPULAR DESTINATIONS ===== */
.destinations-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem 5rem;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--blue-primary);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.75rem;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.dest-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
    text-decoration: none;
    color: var(--gray-900);
    display: block;
}

.dest-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.dest-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, var(--blue-light), var(--blue-mid));
}

.dest-img-placeholder {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    transition: transform 0.3s ease;
}

.dest-card:hover .dest-img-placeholder {
    transform: scale(1.08);
}

.dest-info {
    padding: 0.9rem 1rem;
}

.dest-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.dest-price {
    font-size: 0.82rem;
    color: var(--blue-primary);
    font-weight: 600;
    margin-top: 0.2rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    color: #a0aec0;
    padding: 3rem 2rem;
    text-align: center;
    font-size: 0.85rem;
}

.footer a {
    color: var(--blue-mid);
    text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding-bottom: 100px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .search-card {
        padding: 1rem;
    }

    .search-wrapper {
        margin-top: -70px;
        padding: 0 1rem 3rem;
    }
}