/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-image: url('https://images.unsplash.com/photo-1579546929518-9e396f3cc809?q=80&w=2000');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: -1;
}

header, main, footer {
    padding: 20px;
    position: relative;
}

header {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 30px 20px;
}

h1 {
    font-size: 2.5rem;
    margin-top: 15px;
    color: #2c3e50;
}

.tagline {
    font-style: italic;
    color: #7f8c8d;
    margin-bottom: 20px;
}

/* Logo */
.logo {
    margin-bottom: 15px;
}

/* Navigation */
nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #2980b9;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background-color 0.3s, color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    background-color: #3498db;
    color: white;
}

/* Burger Menu */
.burger-menu {
    display: none;
    cursor: pointer;
    width: 30px;
    position: absolute;
    top: 30px;
    right: 30px;
}

.bar1, .bar2, .bar3 {
    width: 30px;
    height: 3px;
    background-color: #333;
    margin: 6px 0;
    transition: 0.4s;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

section {
    margin-bottom: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h2 {
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

h3 {
    margin-top: 0;
    color: #2980b9;
}

/* Product Grid */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.product {
    flex-basis: calc(50% - 20px);
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Image Placeholders */
.image-placeholder {
    background-color: #f0f0f0;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    border-radius: 5px;
    color: #7f8c8d;
    font-style: italic;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
}

footer p {
    margin: 5px 0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .product-grid {
        flex-direction: column;
    }
    
    .product {
        flex-basis: 100%;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    nav {
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .burger-menu {
        display: block;
    }
    
    .change .bar1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .change .bar2 {
        opacity: 0;
    }

    .change .bar3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .product {
        flex-basis: calc(50% - 15px);
    }
}

@media screen and (min-width: 1025px) {
    .product-grid {
        justify-content: flex-start;
    }
    
    .product {
        flex-basis: calc(25% - 20px);
        margin-right: 20px;
    }
    
    .product:nth-child(4n) {
        margin-right: 0;
    }
}
