﻿/* MAIN*/
.header-container {
    text-align: center;
}

.header-container h1 {
    color: var(--red);
}

.header-container p {
    color: var(--dark-text);
}

.main-container {
    display: flex;
    flex-direction: row;
    column-gap: 5em;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.category-content {
    display: flex;
    flex-direction: column;
    width: 350px;
    text-align: center;
    margin-top: 30px;
    margin-left: 0;
}

.category-content img {
     border-radius: 10px;
     width: 350px;
     height: 190px;
     object-fit: cover;
     cursor: pointer;
     box-shadow: 0 4px 10px rgb(0, 0, 0, 0.3);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     margin-bottom: 5px;
}

.category-content img:hover {
     transform: translateY(-5px);
}

.category-section {
    margin-bottom: 60px;
    padding-left: 110px;
}


.section-title {
    color: var(--dark-text);
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}


.section-title::after {
     content: '';
     display: block;
     width: 50px;
     height: 4px;
     background-color: var(--red);
     margin-top: 5px;
     border-radius: 2px;
}

@media screen and (max-width: 768px) {
    .category-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center;
        margin-bottom: 40px; 
    }

    .main-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center; 
        gap: 15px;               
        padding: 0 10px;   
    }

    .category-content {
        width: calc(46% - 5px); 
        margin-top: 15px;
        text-align: center;
    }

    .category-content img {
        width: 100% !important; 
        height: 100px !important; 
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }

    .category-content p {
        font-size: 0.85rem;
        margin-top: 8px;
        line-height: 1.2;
        color: var(--dark-text);
        font-weight: 500;
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
}