﻿.category-section {
    padding: 50px 20px;
    background: #fdf6f0;
}

    .category-section h2 {
        text-align: center;
        font-size: 36px;
        color: #ff9800;
        margin-bottom: 20px;
    }

.category-filters, .subcategory-filters {
    text-align: center;
    margin-bottom: 20px;
}

.filter-btn, .sub-btn {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    background-color: #1e3a5f;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

    .filter-btn.active, .sub-btn.active {
        background-color: #ff9800;
        color: #1e3a5f;
    }

    .filter-btn:hover, .sub-btn:hover {
        background-color: #16304d;
    }

.category-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .category-card img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        border-radius: 10px;
    }

    .category-card h3 {
        margin: 10px 0 5px;
        color: #1e3a5f;
    }

    .category-card p {
        margin-bottom: 10px;
        color: #555;
    }

    .category-card .detail-btn {
        width: 100%;
        padding: 10px;
        border: none;
        background-color: #1e3a5f;
        color: white;
        border-radius: 5px;
        cursor: pointer;
    }

        .category-card .detail-btn:hover {
            background-color: #16304d;
        }

    .category-card .details {
        display: none;
        margin-top: 10px;
        padding: 10px;
        background: #fff4e5;
        border-radius: 5px;
        color: #333;
    }

    .category-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }
