/* Global Styles (header, footer, etc.) */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #dda8bd;
}

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;
}

/* Shop Section */
.shop {
    padding: 40px 20px;
    text-align: center;
}

.shop h2 {
    font-size: 30px;
    margin-bottom: 30px;
}

.filters {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.filters label {
    font-size: 16px;
}

.filters select {
    padding: 8px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

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

.product-card {
    width: 250px;
    background-color: white;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.product-card h3 {
    font-size: 20px;
    color: #333;
    margin: 15px 0;
}

.product-card p {
    font-size: 16px;
    color: #777;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.view-details-btn {
    text-decoration: none;
    color: #a87b8d;
    font-weight: bold;
    transition: color 0.3s;
}

.view-details-btn:hover {
    color: #8a5f6d;
}

/* Footer */
footer {
    background-color: #f4f4f4;
    color: #333;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scrolling if needed */
    background-color: rgba(0, 0, 0, 0.4); /* Black with opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be adjusted */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Image Gallery inside the Modal */
.modal-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.modal-images img {
    width: 150px; /* Control image size */
    height: auto;
    border-radius: 5px;
}

/* Product Card Style (keeping the same as before) */
.product-card {
    width: 250px;
    background-color: white;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 50px;
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.product-card h3 {
    font-size: 20px;
    color: #333;
    margin: 15px 0;
}

.product-card p {
    font-size: 16px;
    color: #777;
    
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.view-details-btn {
    background-color: #a87b8d;
    color: #fff;
    padding: 8px 16px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.view-details-btn:hover {
    color: #8a5f6d;
}
.add-to-cart-btn {
    background-color: #a87b8d;
    color: #fff;
    padding: 8px 16px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}
.add-to-cart-btn:hover {
    color: #8a5f6d;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .hero h2 {
        font-size: 28px;
    }

    .filters {
        flex-direction: column;
        align-items: center;
    }

    .product-list {
        flex-direction: column;
        align-items: center;
    }

    .product-card {
        width: 90%;
    }

    .shop-now-btn {
        padding: 12px 25px;
    }
}