@charset "UTF-8";

/* --- HERO SECTION --- */
/* Styles moved to components/hero.css */

/* --- SEARCH --- */
.search-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 12px;
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    margin-top: 20px;
}

.search-container input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    width: 150px;
    transition: border-color var(--transition-fast);
}

.search-container input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 126, 52, 0.1);
}

/* --- LISTINGS GRID --- */
.services {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.services h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* --- RESPONSIVENESS (HERO FIX) --- */
@media (max-width: 900px) {
    /* Hero styles handled in hero.css */

    /* 3. Make search box more compact */
    .search-container {
        width: 100%;
        margin-top: 15px;
        padding: 15px;
        gap: 8px;
    }


    .search-container input {
        width: 100%;
        padding: 10px;
        height: 44px;
    }
}