/* ==========================================================
   CATEGORIES SECTION
   Cozinha das Manas
========================================================== */

/* ==========================
   SECTION
========================== */

.home-categories{

    padding:80px 0;

    background:#f8f6f1;

}

/* ==========================
   HEADING
========================== */

.section-heading{

    text-align:center;

    max-width:760px;

    margin:0 auto 60px;

}

.section-subtitle{

    display:inline-block;

    margin-bottom:14px;

    padding:8px 18px;

    border-radius:999px;

    background:rgba(212,175,55,.12);

    color:#b8860b;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:1px;

    font-size:.85rem;

}

.section-heading h2{

    font-size:2.5rem;

    color:#17361e;

    margin-bottom:18px;

}

.section-heading p{

    color:#666;

    line-height:1.8;

    font-size:1.05rem;

}
/* ==========================
   CATEGORY GRID
========================== */

.category-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:24px;

}

/* ==========================
   CATEGORY CARD
========================== */

.category-card{

    position:relative;

    display:flex;

    flex-direction:column;

    overflow:hidden;

    background:#ffffff;

    border-radius:22px;

    text-decoration:none;

    transition:.35s ease;

    box-shadow:0 12px 28px rgba(0,0,0,.08);

}

.category-card:hover{

    transform:translateY(-8px);

    box-shadow:0 22px 45px rgba(0,0,0,.15);

}

/* ==========================
   CATEGORY IMAGE
========================== */

.category-image{

    width:100%;

    height:165px;

    object-fit:cover;

    display:block;

    transition:transform .4s ease;

}

.category-card:hover .category-image{

    transform:scale(1.05);

}
/* ==========================
   CARD CONTENT
========================== */

.category-content{

    padding:18px;

    display:flex;

    flex-direction:column;

    flex:1;

}

.category-icon{

    font-size:2rem;

    margin-bottom:12px;

}

.category-title{

    font-size:1.35rem;

    font-weight:700;

    color:#17361e;

    margin-bottom:10px;

}

.category-description{

    color:#666;

    font-size:.95rem;

    line-height:1.7;

    margin-bottom:16px;

    flex:1;

}

/* ==========================
   BUTTON
========================== */

.category-button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    padding:12px 18px;

    border-radius:999px;

    background:#17361e;

    color:#ffffff;

    font-weight:700;

    transition:.3s ease;

    width:max-content;

}

.category-card:hover .category-button{

    background:#D4AF37;

    color:#17361e;

}
/* ==========================
   RESPONSIVE
========================== */

@media (max-width:992px){

    .category-grid{

        grid-template-columns:repeat(2,1fr);

        gap:20px;

    }

    .section-heading{

        margin-bottom:45px;

    }

    .section-heading h2{

        font-size:2.1rem;

    }

}

@media (max-width:768px){

    .home-categories{

        padding:60px 0;

    }

    .category-grid{

        grid-template-columns:1fr;

    }

    .category-image{

        height:220px;

    }

    .category-content{

        padding:20px;

    }

    .section-heading h2{

        font-size:1.9rem;

    }

}

@media (max-width:480px){

    .section-heading{

        margin-bottom:35px;

    }

    .section-heading h2{

        font-size:1.7rem;

    }

    .section-heading p{

        font-size:.95rem;

    }

    .category-image{

        height:190px;

    }

}