/* ✅ Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F1EADF;
    padding-top: 80px; /* Prevents content from overlapping navbar */
}

/* ✅ Header Styling */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: white;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    height: auto;
    min-height: 60px;
    overflow: visible;
}

/* ✅ Logo */
.logo {
    width: 230px;
    height: auto;
    max-height: 50px;
    object-fit: contain;
}

/* ✅ Navigation Bar */
nav {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
    margin-right: 30px;
}

/* ✅ Navigation Links */
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

/* ✅ Nav Items */
.nav-links li {
    display: inline;
}

.nav-links li a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-weight: bold;
    padding: 14px 18px;
    border-radius: 20px;
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
    display: inline-block;
}

/* ✅ Rounded Hover Effect */
.nav-links li a:hover {
    background-color: rgba(255, 0, 0, 0.2);
    border-radius: 30px;
    padding: 18px 22px;
}

/* ✅ Product Navigation */
.product-nav {
    text-align: center;
    margin: 20px 0;
    padding-top: 20px;
}

.product-nav button {
    background-color: #000000;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 10px;
    margin: 10px;
    transition: 0.3s;
}

.product-nav button:hover {
    background-color: darkred;
}

/* ✅ Product Sections */
.product-section {
    padding: 50px 20px;
    margin: 50px auto;
    width: 70%;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* ✅ Section Headings */
.product-section h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

/* ✅ Section Text */
.product-section p {
    font-size: 18px;
    color: #555;
}

/* 📱 Responsive Fixes */
@media (max-width: 768px) {
    .product-nav {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .product-section {
        width: 90%;
    }
}
/* ✅ General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F1EADF;
}

/* ✅ Product Navigation */
.product-nav {
    text-align: center;
    margin: 120px 0 20px;
}

.product-nav button {
    background-color: red;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 10px;
    margin: 5px;
    transition: 0.3s;
}

.product-nav button:hover {
    background-color: darkred;
}

/* ✅ Product Sections */
.product-section {
    padding: 40px 20px;
    margin: 50px auto;
    width: 80%;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* ✅ Product Grid */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: center; /* Ensures all items align properly */
}

.product-grid a {
    text-decoration: none;
    color: black;
    width: 220px; /* Set a fixed width for uniform alignment */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-grid img {
    width: 100%;
    height: auto; /* Allow images to keep their natural aspect ratio */
    max-height: 200px; /* Limit height to maintain consistency */
    border-radius: 10px;
    transition: 0.3s;
    object-fit: contain; /* Ensures the entire image is shown without cropping */
}

}

.product-grid img:hover {
    transform: scale(1.05);
}

.product-grid span {
    margin-top: 10px; /* Ensures spacing below the image */
    font-weight: bold;
}

