/* Global Styles (header, footer, etc.) */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fafafa;
    background: linear-gradient(to right, #dda8bd, #d8a9b4);  /* Gradient background */
    background-size: cover;
    background-position: center center;
    min-height: 100vh;  /* Allow body to stretch beyond viewport height */
    display: flex;
    flex-direction: column;
    color: #fff;
}

header {
    background-color: #f4f4f4;
    padding: 20px 0;
    border-bottom: 2px solid #e1e1e1;
}

header .logo h1 {
    font-size: 36px;
    text-align: center;
    color: #333;
    margin: 0;
    font-weight: 700;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    font-size: 16px;
    color: #555;
}

nav ul li a:hover {
    color: #a87b8d;
}

/* Main content area, allowing it to grow and push footer down */
.main-content {
    flex-grow: 1; /* Allow content to expand */
    padding-bottom: 80px; /* Prevent content from being hidden behind the footer */
}

/* About Section */
.about {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    color: #454545;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about h2, .about h3 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center; /* Centering titles */
}

.about p {
    font-size: 18px;
    color: #454545;
    margin: 10px 0;
    line-height: 1.8;
    text-align: left;
    max-width: 900px;
    margin: 20px auto;
}

/* Container for the about section */
.about .container {
    width: 100%;
    margin: 0 auto;
    max-width: 900px;
}

.image-gallery {
    margin-top: 40px;
}

.image-gallery h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Product card setup */
.product-card {
    width: 250px;
    height: 350px;  /* Fixed height for consistency */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center image within card */
    align-items: center;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #fff; /* Background for each card */
    overflow: hidden;
}

/* The wrapper for the image to ensure it fits properly */
.product-card .image-wrapper {
    width: 100%;
    height: 100%;  /* Image takes up 100% of the card height */
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;  /* Ensures the full image is visible */
    border-radius: 8px;
}

/* Remove text inside the card, text will be outside the card */
.product-card p {
    display: none;  /* Hide the text inside the card */
}

/* Contact Us section */
.contact-us {
    margin-top: 40px;
    margin-bottom: 40px;  /* Add margin at the bottom to give space from footer */
}

.contact-us h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.contact-btn {
    background-color: #a87b8d;
    padding: 12px 30px;
    text-decoration: none;
    font-size: 18px;
    color: white;
    border-radius: 25px;
    transition: background-color 0.3s;
}

.contact-btn:hover {
    background-color: #8a5f6d;
}

/* Footer */
footer {
    background-color: #f4f4f4;
    color: #333;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    position: relative;
    z-index: 9999; /* Ensure footer stays in front */
    width: 100%;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .gallery {
        flex-direction: column;
        align-items: center;
    }

    .gallery img {
        width: 80%;
    }

    .about p {
        font-size: 16px; /* Slightly smaller text on mobile */
    }
}