:root {
    --primary-color: #1a73e8;
    /* Vibrant Blue - modern and trustworthy */
    --secondary-color: #34a853;
    /* Fresh Green - service and growth oriented */
    --accent-color: #fbbc04;
    /* Warm Yellow/Gold - highlights and CTAs */
    --text-color: #202124;
    /* Deep Gray - better readability */
    --light-text: #5f6368;
    /* Medium Gray */
    --background-color: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e8eaed;
    --border-radius: 8px;
    --font-family: 'Outfit', sans-serif;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.login-btn {
    color: var(--primary-color);
    font-weight: 600;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 50vw;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
    background-color: #f3f4f6;
}

.slider-wrapper {
    display: flex;
    width: 300%; /* 3 slides */
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.slide {
    width: 33.333%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.hero-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 20;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* Elegant Pill-shaped Search Bar */
.search-bar {
    background: white;
    padding: 0.5rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 750px;
    margin: 0 auto;
}

.search-bar i {
    color: var(--primary-color);
    margin-left: 1rem;
}

.search-bar input {
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 0.8rem 0.5rem;
    background: transparent;
    flex: 1;
}

.search-bar .divider {
    width: 1px;
    height: 30px;
    background: #eee;
}

.search-bar button {
    border-radius: 50px;
    padding: 0.8rem 2.5rem;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    transform: scale(1.02);
}

/* Mobile App-like Optimizations */
@media (max-width: 768px) {
    body {
        padding-bottom: 70px; /* Space for bottom nav */
    }

    .main-header .nav-links {
        display: none; /* Hide horizontal links on mobile */
    }

    .main-header .container {
        justify-content: center;
    }

    .hero {
        height: 100vw;
        min-height: 480px;
    }
    
    .slide {
        background-position: center; 
    }

    .hero-container {
        padding: 0 15px 40px;
    }

    .search-bar {
        flex-direction: column;
        border-radius: 24px;
        padding: 1.5rem;
        width: 100%;
        max-width: 90%;
    }

    .search-bar .divider {
        display: none;
    }

    .search-bar input {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
        font-size: 1rem;
    }

    .search-bar button {
        width: 100%;
        margin-top: 0.75rem;
        padding: 1rem;
    }

    .mobile-app-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background: white;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
        z-index: 1000;
        border-top: 1px solid var(--gray-200);
        padding: 0 5px;
        border-radius: 20px 20px 0 0;
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: var(--light-text);
        gap: 4px;
        flex: 1;
        transition: all 0.2s;
        min-width: 0;
    }

    .mobile-nav-item i {
        font-size: 1.15rem;
    }

    .mobile-nav-item span {
        font-size: 0.6rem;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        text-align: center;
    }

    .mobile-nav-item.active {
        color: var(--primary-color);
    }

    .mobile-nav-item.active i {
        transform: translateY(-2px);
    }
}

/* Hide mobile nav on desktop */
@media (min-width: 769px) {
    .mobile-app-nav {
        display: none;
    }
}

.search-bar:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.search-bar i {
    color: var(--light-text);
    font-size: 1.1rem;
    margin-left: 0.5rem;
}

.search-bar input {
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-family: var(--font-family);
    width: 100%;
    padding: 0.5rem;
    color: var(--text-color);
}

.location-input {
    width: 25%;
    font-weight: 500;
}

.divider {
    width: 1px;
    height: 32px;
    background-color: var(--gray-200);
}

.search-input {
    flex-grow: 1;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}
