#ads_banner {
    margin-top: 100px;

    .banner_image {
        width: 100%;
        aspect-ratio: 6/2;
        border-radius: 18px;
    }
}


#latest_products {
    margin-top: 60px;

    h1 {
        margin-bottom: 20px;
    }


    #cards_container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        justify-items: center;

        @media (width < 1500px) {
            grid-template-columns: repeat(3, 1fr);
        }

        @media (width < 992px) {
            grid-template-columns: repeat(2, 1fr);
        }

        @media (width < 576px) {
            grid-template-columns: 1fr;
        }

        .product-card {
            width: 100%;
            max-width: 400px;
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;

        }

        .product-card:hover {
            transform: scale(1.05);
        }

        .product-card img {
            width: 100%;
            height: auto;
            display: block;
        }

        .product-card-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            color: var(--ternary-text);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease, transform 0.3s ease;
            transform: translateY(100%);
        }

        .product-card:hover .product-card-overlay {
            opacity: 1;
            transform: translateY(0);
        }

        .product-card-title {
            font-size: 1.5rem;
            margin-bottom: 10px;
            animation: fadeInUp 0.5s ease forwards;
        }

        .product-card-text {
            font-size: 1rem;
            text-align: center;
            padding: 0 20px;
            margin-bottom: 10px;
            animation: fadeInUp 0.7s ease forwards;
        }

        .view-btn {
            background-color: var(--ternary);

            a {
                text-decoration: none;
                color: var(--ternary-text);
            }
        }
    }

    .more_btn {
        margin-top: 30px;
        background-color: var(--ternary);
        color: var(--ternary-text);
    }


    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}


#about {
    margin-top: 60px;
    font-family: "Figtree", serif;
}