/* Base styling */
body {
    margin: 0;
    min-height: 100vh;
    font-family: Poppins, sans-serif;
}

.product-page-title {
    margin-top: 100px;
    text-align: center;
    font-size: 2em;
    color: #242723; /* same color as your banner text */
}

/* Product grid layout */
.sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 50px auto;
    max-width: 1200px;
}

/* Individual product card */
.section {
    position: relative;
}

.section img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.section img:hover {
    transform: scale(1.05);
}

/* Overlay logo image */
.image-container {
    position: relative;
    overflow: hidden;
}

.overlay-image {
    position: absolute;
    top: 20px;
    right: 20px;
    transform: scale(0.1);
    transform-origin: top right;
    filter: brightness(0) invert(1);
}

.image-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 100%);
    z-index: 1;
}

/* Text inside each product section */
.section-content {
    padding: 10px;
    text-align: center;
    margin-top: 10px;
}

.section-content p {
    font-size: 16px;
    font-weight: 400;
    margin: 10px 0;
}

.section-link {
    text-decoration: none;
    color: inherit;
}

.section-link h4,
.section-link p {
    color: inherit;
}

.section-link:hover {
    color: #2bbc3c;
}

/* Mobile responsiveness */
@media (max-width: 768px) {

    .product-page-title{
        font-size: 1.6em;
    }

    .sections {
        grid-template-columns: 1fr;
    }

    .section img {
        height: 350px;
    }

    .section-link h4 {
        margin-top: 10px;
        margin-bottom: 5px;
        font-size: 1.2em;
    }

    .section-link p {
        font-size: 0.9em;
    }
}
