/**
 * Media Filter Buttons CSS
 * 
 * Styles the filter buttons to match the mockup
 */

/* Wrapper for the entire filter section */
.media-filter-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    flex-wrap: wrap;
}

/* "Filter Options:" label */
.filter-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

/* Container for the filter buttons */
.media-filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

/* Individual filter button */
.media-filter-btn {
    background-color: #a4344a; /* Brand burgundy background */
    color: #ffffff; /* White text */
    border: 2px solid #a4344a;
    border-radius: 25px;
    padding: 8px 20px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: inherit;
}

/* Hover state */
.media-filter-btn:hover {
    background-color: #8a2d3e; /* Darker burgundy */
    border-color: #8a2d3e;
    color: #ffffff; /* White text on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(164, 52, 74, 0.3);
}

/* Active/selected state */
.media-filter-btn.active {
    background-color: #5a1f2c; /* Even darker burgundy for active */
    border-color: #5a1f2c;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(164, 52, 74, 0.35);
}

/* Active button hover */
.media-filter-btn.active:hover {
    background-color: #4a1823; /* Darkest shade */
    border-color: #4a1823;
    color: #ffffff;
}

/* Focus state for accessibility */
.media-filter-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(164, 52, 74, 0.3);
}

/* Pressed state */
.media-filter-btn:active {
    transform: translateY(0);
}

/* Smooth transitions for sections */
[id^="media-"] {
    transition: opacity 0.4s ease;
}

/* Responsive design */
@media (max-width: 768px) {
    .media-filter-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .media-filter-buttons {
        width: 100%;
    }
    
    .media-filter-btn {
        font-size: 14px;
        padding: 7px 16px;
    }
}

@media (max-width: 480px) {
    .media-filter-btn {
        font-size: 13px;
        padding: 6px 14px;
    }
    
    .filter-label {
        font-size: 15px;
    }
}