
.top-product {
    position: relative;
    display: flex;
    padding: 4rem 2rem;
   /* background-image: url('../images/leaves.jpg'); /* Replace with your background image URL 
    background-size: cover; /* Ensure the image covers the full section */
    background-color: #f2f3ee;
    background-position: center; /* Center the image */
    background-repeat: no-repeat;
    width: 100%; /* Ensures the section spans the full width */
    color: white; /* Adjust text color to contrast the background */
    text-align: center;
    /*max-height: 100vh;*/
    /*background-color: red;*/
}

.product-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
     /*background-color: red;*/
}

.product-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
}

.product-description {
    /*flex: 1;*/
    max-width: 600px;
    text-align: left;
}

.product-description h3 {
    font-size: 2rem;
    color: #2c1810;
    margin-bottom: 1rem;
}

.product-description p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-description .btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #2c1810;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.product-description .btn:hover {
    background-color: #4a2b1d;
}
.product-image {
    overflow: hidden; /* Ensures the zoomed image doesn't go outside its container */
    border-radius: 8px;
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
    /*opacity: 0.1;*/
}

.product-image img {
    width: 100%;
    transition: transform 5s ease; /* Smooth zoom effect */
    transform: scale(1); /* Default scale */
    border-radius: 8px;
}

/* Apply the zoom effect */
.zoom-in.active img {
    transform: scale(1.5); /* Zoom the image */
}


