/* General Section Styling */
section {
    margin: 20px auto;
    padding: 20px;
    max-width: 1200px;
}

/* Hero/Search Section */
#search-hero {
    background: #FF6F3C; /* Primary orange */
    color: #fff;
    text-align: center;
    padding: 50px 20px;
    border-radius: 10px;
}

#search-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

#search-hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

#search-hero .search-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

#search-hero .search-bar input {
    width: 60%;
    padding: 10px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#search-hero .search-bar button {
    background: #fff;
    color: #FF6F3C; /* Orange text */
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#search-hero .search-bar button:hover {
    background: #FFE1D3; /* Light coral */
}

/* Results Section */
#results {
    background: #f9f9f9; /* Neutral background */
    text-align: center;
    padding: 20px 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#results h2 {
    font-size: 2rem;
    color: #FF6F3C; /* Orange */
    margin-bottom: 20px;
}

#results .cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

#results .card {
    background: #fff; /* White card background */
    padding: 20px;
    width: 250px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #FF6F3C; /* Orange border accent */
}

#results .card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

#results .card p {
    font-size: 1rem;
    color: #555;
}

/* Filters Section */
.filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.filters select {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
}

.filters select:focus {
    border-color: #FF6F3C; /* Highlight on focus */
    outline: none;
}

.filter-button {
    background: #FF6F3C; /* Orange button */
    color: #fff;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.filter-button:hover {
    background: #E65C2F; /* Darker orange */
}

/* Clear Filters Button Styling */
.clear-button {
    background: #FF6F3C; /* Primary orange */
    color: #fff;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 10px; /* Adds spacing if needed */
}

.clear-button:hover {
    background: #E65C2F; /* Darker orange on hover */
    transform: translateY(-2px); /* Subtle hover animation */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
}

.clear-button:active {
    background: #CC5A26; /* Even darker orange on click */
    transform: translateY(0); /* Remove hover animation */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Pressed shadow */
}

/* Responsive Design for Hero/Search Section */
@media (max-width: 768px) {
    #search-hero {
        padding: 30px 10px;
    }

    #search-hero h1 {
        font-size: 1.8rem; /* Adjust font size for smaller screens */
    }

    #search-hero p {
        font-size: 1rem; /* Slightly smaller paragraph text */
        margin-bottom: 15px; /* Adjust spacing */
    }

    #search-hero .search-bar {
        flex-direction: column; /* Stack elements vertically */
        gap: 15px; /* Add spacing between stacked elements */
    }

    #search-hero .search-bar input {
        width: 90%; /* Reduce width for better fit */
    }

    .filters {
        flex-direction: column; /* Stack filters vertically */
        gap: 15px; /* Add spacing between filters */
    }

    .filters select {
        width: 90%; /* Adjust dropdown width */
    }

    .clear-button {
        width: 90%; /* Ensure the button fits nicely */
        margin-top: 15px; /* Add spacing from other elements */
    }
}
