/* General styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f8;
    color: #333;
}

header {
    background-color: #2f3651;
    color: #fff;
    padding: 20px;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

h1 {
    margin: 0;
    font-size: 2.5rem;
    letter-spacing: 1px;
}

/* Product gallery section */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Product card */
.product-card {
    background: linear-gradient(145deg, #fefefe, #f2f2f2);
    border-radius: 12px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), 0px 2px 4px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    text-align: center;
    transition: transform 0.6s ease, box-shadow 0.6s ease;
    position: relative;
    transform-style: preserve-3d;
}

.product-card:hover {
    transform: rotateY(8deg) translateY(-5px);
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.2), 0px 5px 10px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 4px solid #66cdaa;
    transition: transform 0.6s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    background: #ffffff;
    border-radius: 0 0 12px 12px;
}

.product-info h2 {
    font-size: 1.6rem;
    margin: 0;
    color: #35495e;
}

.product-info p {
    margin: 10px 0 0;
    font-size: 1rem;
    color: #555;
}

.product-info span {
    font-weight: bold;
    color: #444;
}

/* Footer */
footer {
    text-align: center;
    padding: 15px;
    background-color: #35495e;
    color: #fff;
    margin-top: 20px;
}
