/* CSS for Reviews Page */

.banner {
    background-color: black;
    color: white;
    text-align: center;
    padding: 50px 0;
    text-transform: uppercase;
}

.section-container {
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;
    align-items: center;
    justify-content: center;
}

.section-header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
}

.section-header-container::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: black;
    position: absolute;
    bottom: -10px;
    left: 0;
    margin-bottom: 10px;
}

.banner h1 {
    font-family: Oswald;
    font-size: 60px;
}

.filter-container {
    justify-content: center;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
}

#filter-form {
    display: flex;
    align-items:center;
    gap:10px;
    /*border: 1px solid blue;*/
}

.apply-btn {
    background: var(--primary-color);
    font-family: Oswald;
    text-transform: uppercase;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    margin-left: 20px;
}

.clear-btn {
    background: black;
    font-family: Oswald;
    text-transform: uppercase;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    margin-left: 20px;
    
}


.apply-btn:hover {
    background: #d1001f;
}

.clear-btn:hover {
    background: #4B4B4B;
}

label {
    font-family: Oswald;
    font-size: 20px;
    align-items: center;

}

.filterBlock {
    height: 100%;

    color: black;

    padding-left: 1.5rem;
    padding-right: 1.rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;

    margin: 0.5rem;

    display: flex;
    flex-direction: row;
    justify-content: space-between;

    cursor: pointer;
    
    transition: background-color 0.1s ease;
}



.filterBlock:hover {
    background-color: lightgrey;
}




#filter-form select {
    font-family: Oswald;
    font-size: 18px;
}

.reviews {
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;
    text-align: left;
}

.reviews h2 {
    margin-bottom: 10px;
    text-align: left;
}

.reviews-grid {
    display: grid;
    gap: 20px;
}

.review-card {
    background: white;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    text-align: left;
    width: 80%;
    margin: 0 auto;

}

.review-card:hover {
    transform: scale(1.03);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.review-header img {
    width: 30px;
    height: auto;
}

.stars {
    margin-top: 10px;
    color: #f4b400;
    font-size: 20px;
}




/***************************************** Media Queries for smaller screens ******************************************/
@media (max-width: 600px) {

    .banner h1 {
        font-size: 40px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card {
        width: 100%;
    }

    .filter-container {
        flex-direction: column;
        align-items: center;
    }

    #filter-form {
        flex-direction: column;
        align-items: center;
    }

    .apply-btn, .clear-btn {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
    }
}


@media (min-width: 601px) and (max-width: 900px) {
    .banner h1 {
        font-size: 50px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card {
        width: 100%;
    }

    .review-card p {
        font-size: 17px;
    }

    .filter-container {
        flex-direction: column;
        align-items: center;
    }

    #filter-form {
        flex-direction: column;
        align-items: center;
    }

    .apply-btn, .clear-btn {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
    }
}