/* ==========================================================================
   SKYTUNISIA: SKY-VIBE (Skyscanner Inspired Design System)
   Goal: Minimalist, Professional, High-Trust Aesthetic
   ========================================================================== */

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

:root {
    /* Primary Brand Colors */
    --sky-blue: #0062E3;
    --sky-navy: #05203C;
    --sky-green: #00d775;

    /* Neutral Palette */
    --sky-white: #FFFFFF;
    --sky-bg: #F1F2F8;
    --sky-grey-100: #F1F2F8;
    --sky-grey-200: #DDDDE5;
    --sky-grey-300: #B2B2BF;
    --sky-grey-400: #8D8D9E;
    --sky-grey-500: #68697F;

    /* Semantic Colors */
    --text-primary: #05203C;
    --text-secondary: #68697F;
    --cta-primary: #00d775;
    --link-color: #0062E3;

    /* Shadows & Borders */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(5, 32, 60, 0.08);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* 1. Base Reset */
body {
    background-color: var(--sky-bg) !important;
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.hero-title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700;
    color: var(--sky-navy);
}

/* 2. Navbar Styling Removed - Handled by sky-premium-complete.css */

/* 3. Hero Section (Skyscanner Gradient) */
.hero-section {
    background: linear-gradient(180deg, var(--sky-navy) 0%, #0770E3 100%) !important;
    padding: 80px 0 160px 0 !important;
    text-align: center;
    color: white;
    margin-top: 60px;
}

.hero-title {
    color: white !important;
    font-size: 2.8rem !important;
    margin-bottom: 8px !important;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.2rem !important;
    font-weight: 400;
}

/* 4. Search Component Redesign */
.search-widget-container {
    max-width: 1100px;
    margin: -100px auto 40px auto;
    padding: 0 20px;
    position: relative;
    z-index: 100;
}

.search-card {
    background: var(--sky-white) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-md) !important;
    padding: 24px !important;
    border: none !important;
}

/* 5. Content Layout & Grids */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#homepage-content {
    background: var(--sky-bg);
    padding: 40px 0;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

/* 6. Professional Cards & Deals */
.deal-card {
    background: var(--sky-white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.2s;
}

.deal-card:hover {
    box-shadow: var(--shadow-md);
}

.deal-location {
    font-weight: 700;
    font-size: 18px;
    color: var(--sky-navy);
    margin-bottom: 8px;
}

.deal-price {
    color: var(--sky-blue);
    font-size: 24px;
    font-weight: 800;
}

.deal-date {
    font-size: 12px;
    color: var(--sky-grey-500);
    margin-top: 4px;
}

/* 7. Feature Sections */
.info-section {
    padding: 60px 0;
    background: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    font-size: 32px;
    color: var(--sky-blue);
    margin-bottom: 16px;
}

/* 8. Professional Buttons & CTAs */
.btn-primary,
button[type="submit"] {
    background-color: var(--cta-primary) !important;
    color: var(--sky-navy) !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    padding: 12px 24px !important;
    font-size: 16px !important;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover,
button[type="submit"]:hover {
    background-color: #00c068 !important;
}

/* 9. Footer (Dark Navy) */
.footer {
    background-color: var(--sky-navy) !important;
    color: var(--sky-white) !important;
    padding: 80px 0 40px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer h3 {
    color: var(--sky-white) !important;
    font-size: 18px;
    margin-bottom: 24px;
    font-family: 'Outfit', sans-serif !important;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer a {
    color: var(--sky-grey-300) !important;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: var(--sky-white) !important;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--sky-grey-400);
    font-size: 13px;
}