
@import url('https://fonts.googleapis.com/css2?family=Edu+NSW+ACT+Cursive:wght@400..700&family=Great+Vibes&family=Imperial+Script&family=Lobster&family=Permanent+Marker&family=Salsa&family=Satisfy&display=swap');


/* Products Section */
.products {
    text-align: center;
    padding: 0px 10px;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(to bottom, #E9DFD5);
    /* animation: slideshow 15s infinite; */

}

/* Keyframes for slideshow */
/* @keyframes slideshow {
    0% {
        background-image: url("../images/3.jpeg");
    }

    50% {
        background-image: url("../images/2.jpeg");
    }

    100% {
        background-image: url("../images/1.jpeg");
    }
} */




.products h1 {

    font-size: 65px;
   font-family: 'Great Vibes', cursive;
    margin-bottom: 20px;
    color:#000;
    text-shadow: 2px 2px 6px rgba(255, 255, 255, 0.8);
    /* color: #fcebc3; */
}

.products p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #d2f8cb;
}

.btn {
    background-color: #d4af37;
    color: #0b0c10;
    padding: 12px 30px;
    border: none;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #b8972e;
    color: #fff;
}

/* Grid Layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 40px;

}

/* Card with background image */
.product-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background-color: #1f1f1f;
    padding: 20px;
    font-weight: 500;
    margin-bottom: 20px;


}



/* Dark overlay */
.product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    transition: background 0.3s ease;
}

/* Text on image */
.product-card span {
    position: relative;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    padding: 10px 15px;
    z-index: 1;
}

/* Hover effects */
.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);


}

.product-card:hover::before {
    background: rgba(0, 0, 0, 0.55);
}



/* Product Grid */
.product-grid {
    display: grid;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 equal columns */
    gap: 25px;
    /* space between cards */
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* Button-style product card */
.product-card {
    position: relative;
    display: flex;
    justify-content: center;
    height: 250px;
    border-radius: 5px;
    overflow: hidden;
    text-decoration: none;
    align-items: flex-end;


    /* Eye-catching background */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* Button effect */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Dark overlay for readability */
.product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    transition: background 0.3s ease;
}

/* Text */
.product-card span {
    position: relative;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    text-transform: capitalize;
    z-index: 1;
}

/* Hover interaction */
.product-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.product-card:hover::before {
    background: rgba(0, 0, 0, 0.55);
}


@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products h1{
    font-size: 38px;
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}














