/* CSS for Luxe Verde */

:root {
    --primary-light: #FDFDFD;
    --primary-dark: #222222;
    --accent-green: #2E3A30;
    --accent-gold: #D4AF37;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Work Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-light);
    color: var(--primary-dark);
    margin: 0;
    padding: 0;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="4" height="4" viewBox="0 0 4 4"%3E%3Cpath d="M1 3h1v1H1V3zm2-2h1v1H3V1z" fill="%23000000" fill-opacity="0.05"/%3E%3C/svg%3E');
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background-color: transparent;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

nav a {
    text-decoration: none;
    color: var(--primary-dark);
    margin-left: 2rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--accent-gold);
}

nav a:hover::after {
    width: 100%;
}

main {
    padding: 0 5%;
}

.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url('https://images.unsplash.com/photo-1517365830460-955ce3ccd263?q=80&w=2825&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: var(--primary-light);
}

.hero h1 {
    font-size: 4rem;
    margin: 0;
    color: var(--primary-light);
    text-shadow: 2px 2px 20px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-top: 1rem;
    max-width: 600px;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.5);
}

.brand-story, .sustainability {
    padding: 6rem 0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.brand-story h2, .sustainability h2 {
    font-size: 2.5rem;
}

.product-showcase {
    padding: 4rem 0;
}

.product-showcase h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.product-card {
    background-color: #fff;
    border: 1px solid #eee;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 20px 40px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.product-card h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.5rem;
}

.product-card p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

footer {
    background-color: var(--primary-dark);
    color: var(--primary-light);
    padding: 3rem 5%;
    margin-top: 6rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: var(--primary-light);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-gold);
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
    }

    nav {
        margin-top: 1rem;
    }

    nav a {
        margin: 0 1rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .brand-story, .sustainability {
        padding: 4rem 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        margin-top: 1rem;
    }

    .social-links a {
        margin: 0 0.5rem;
    }
}
