/* HERO */
.hero-section{
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background-image: url('/static/images/carousel2.png');
    background-size: cover;
    overflow: hidden;
}



/* BACKGROUND SLIDER */

.hero-section::before{

    content: "";

    position: absolute;

    inset: 0;

    background-size: cover;

    background-position: center;

    animation: heroSlider 18s infinite;

    z-index: 0;

    transition: background-image 1s ease;
}



/* OVERLAY */

.hero-overlay{

    position: absolute;

    inset: 0;

    background: rgba(0,0,0,0.55);

    z-index: 1;
}



/* CONTENT */

.hero-content{

    position: relative;

    z-index: 2;

    color: white;

    max-width: 700px;
}



/* ANIMATION */

@keyframes heroSlider{

    0%{

        background-image: url('/static/images/carousel2.png');
    }

    33%{

        background-image: url('/static/images/Design-2.png');
    }

    66%{

        background-image: url('/static/images/Design-4.png');
    }

    100%{

        background-image: url('/static/images/frigo.jpg');
    }
}
/* END HERO */

.hero-overlay{

    position: absolute;

    inset: 0;

    background: rgba(0,0,0,0.55);
}


.hero-content{

    position: relative;

    z-index: 2;

    max-width: 750px;

    color: white;
}


.hero-badge{

    display: inline-block;

    padding: 10px 18px;

    background-color: rgba(255,255,255,0.15);

    border-radius: 50px;

    margin-bottom: 25px;

    backdrop-filter: blur(8px);
}


.hero-content h1{

    font-size: 62px;

    font-weight: 800;

    line-height: 1.2;

    margin-bottom: 25px;
}


.hero-content p{

    font-size: 20px;

    line-height: 1.8;

    margin-bottom: 35px;

    opacity: 0.95;
}


.hero-actions{

    display: flex;

    gap: 18px;
}


.primary-btn,
.secondary-btn{

    height: 58px;

    padding: 0 32px;

    border-radius: 14px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-decoration: none;

    font-weight: 600;

    transition: 0.3s ease;
}


.primary-btn{

    background-color: #B85A17;

    color: white;
}


.primary-btn:hover{

    background-color: #C96A24;
}


.secondary-btn{

    background-color: white;

    color: #02407F;
}



/* SECTION */

section{

    padding: 90px 0;
}


.section-title{

    text-align: center;

    margin-bottom: 60px;
}


.section-title span{

    color: #B85A17;

    font-weight: 700;

    letter-spacing: 1px;
}


.section-title h2{

    font-size: 42px;

    color: #02407F;

    margin-top: 12px;

    font-weight: 800;
}



/* CATEGORIES */

.categories-grid{

    display: grid;

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

    gap: 30px;
}


.category-card{

    background-color: white;

    border-radius: 24px;

    overflow: hidden;

    text-decoration: none;

    transition: 0.4s ease;

    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}


.category-card:hover{

    transform: translateY(-8px);
}


.category-image{

    height: 280px;

    overflow: hidden;
}


.category-image img{

    width: 100%;

    height: 100%;

    object-fit: cover;
}


.category-content{

    padding: 30px;
}


.category-content h3{

    color: #02407F;

    font-size: 30px;

    margin-bottom: 15px;

    font-weight: 700;
}


.category-content p{

    color: #666;

    line-height: 1.8;
}



/* ADVANTAGES */

.advantages-grid{

    display: grid;

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

    gap: 25px;
}


.advantage-card{

    background-color: white;

    padding: 40px 30px;

    border-radius: 22px;

    text-align: center;

    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}


.advantage-icon{

    font-size: 42px;

    margin-bottom: 18px;
}


.advantage-card h3{

    color: #02407F;

    margin-bottom: 14px;
}


.advantage-card p{

    color: #666;

    line-height: 1.7;
}



/* PRODUCTS */

.products-grid{

    display: grid;

    grid-template-columns: repeat(auto-fill,minmax(270px,1fr));

    gap: 25px;
}


.product-card{

    background-color: white;

    border-radius: 22px;

    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0,0,0,0.05);

    transition: 0.3s ease;
}


.product-card:hover{

    transform: translateY(-8px);
}


.product-image{
    display: block;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f7f7f7;
}

.product-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.product-card:hover .product-image img{
    transform: scale(1.05);
}


.product-content{

    padding: 24px;
}


.product-category{

    color: #B85A17;

    font-size: 13px;

    font-weight: 700;
}


.product-title{

    font-size: 21px;

    margin: 14px 0;

    color: #1E1E1E;

    line-height: 1.5;
}


.product-price{

    color: #02407F;

    font-size: 28px;

    font-weight: 800;

    margin-bottom: 20px;
}


.details-btn{

    width: 100%;

    height: 52px;

    border-radius: 14px;

    background-color: #02407F;

    color: white;

    text-decoration: none;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: 600;
}



/* CTA */

.cta-card{

    background: linear-gradient(
        135deg,
        #02407F,
        #1D6AA4
    );

    padding: 70px;

    border-radius: 28px;

    text-align: center;

    color: white;
}


.cta-card h2{

    font-size: 42px;

    margin-bottom: 20px;

    font-weight: 800;
}


.cta-card p{

    font-size: 18px;

    line-height: 1.8;

    max-width: 700px;

    margin: auto auto 35px;
}


.cta-btn{

    display: inline-flex;

    align-items: center;

    justify-content: center;

    height: 58px;

    padding: 0 35px;

    border-radius: 14px;

    background-color: #B85A17;

    color: white;

    text-decoration: none;

    font-weight: 600;
}



/* MOBILE */

@media(max-width:992px){

    .categories-grid,
    .advantages-grid{

        grid-template-columns: 1fr;
    }

    .hero-content h1{

        font-size: 48px;
    }
}


@media(max-width:768px){

    section{

        padding: 70px 0;
    }

    .hero-content h1{

        font-size: 38px;
    }

    .hero-content p{

        font-size: 17px;
    }

    .hero-actions{

        flex-direction: column;
    }

    .section-title h2{

        font-size: 32px;
    }

    .cta-card{

        padding: 45px 25px;
    }

    .cta-card h2{

        font-size: 30px;
    }
}