/*
 Theme Name:   Betheme Child
 Template:     betheme
 Version:      1.0
 Description:  Child theme for Nairobi Websites ecommerce starter
*/

/* ===== HERO SLIDER ===== */
.home-hero {
    margin-bottom: 50px;
}

/* ===== CATEGORIES ===== */
.home-categories {
    padding: 50px 0;
}
.home-categories .categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}
.home-categories .category-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}
.home-categories .category-item h3 {
    text-align: center;
    margin-top: 15px;
}

/* ===== FEATURED PRODUCTS ===== */
.home-featured-products {
    padding: 50px 0;
}
.home-featured-products .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}
.home-featured-products .product-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}
.home-featured-products .product-item h3 {
    font-size: 1.1em;
    margin: 10px 0 5px;
}
.home-featured-products .product-item .price {
    color: #0073aa;
    font-weight: bold;
}

/* ===== INFO BLOCKS ===== */
.home-info-blocks {
    padding: 50px 0;
}
.home-info-blocks .info-blocks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}
.home-info-blocks .info-block img {
    max-width: 80px;
    margin-bottom: 15px;
}
.home-info-blocks .info-block h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

/* ===== HOMEPAGE BANNERS ===== */
.home-banners {
    padding: 50px 0;
}
.home-banners .banner-item {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    border-radius: 5px;
    overflow: hidden;
}
.home-banners .banner-content {
    background: rgba(0,0,0,0.5);
    padding: 20px;
    text-align: center;
    color: #fff;
    border-radius: 5px;
}
.home-banners .banner-content h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
}
.home-banners .banner-content p {
    margin-bottom: 15px;
}
.home-banners .banner-content .btn {
    background: #0073aa;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

/* ===== TESTIMONIALS ===== */
.home-testimonials {
    padding: 50px 0;
    background: #f8f8f8;
}
.home-testimonials .testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}
.home-testimonials .testimonial-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 15px;
}
.home-testimonials .testimonial-item p {
    font-style: italic;
    margin-bottom: 10px;
}
.home-testimonials .testimonial-item h4 {
    font-weight: bold;
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 768px) {
    .home-categories .categories-grid,
    .home-featured-products .products-grid,
    .home-info-blocks .info-blocks-grid,
    .home-testimonials .testimonials-slider {
        grid-template-columns: 1fr 1fr;
    }
}
@media screen and (max-width: 480px) {
    .home-categories .categories-grid,
    .home-featured-products .products-grid,
    .home-info-blocks .info-blocks-grid,
    .home-testimonials .testimonials-slider {
        grid-template-columns: 1fr;
    }
}
