/* General Styles */
:root {
    --primary-color: #A31B00; /* A rich, earthy red for a warm feel */
    --secondary-color: #FFC107; /* A spicy yellow for highlights */
    --dark-color: #1a1a1a;
    --light-color: #f7f7f7;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--dark-color);
    
    /* BACKGROUND IMAGE STYLES */
    background: url('images/background-texture.jpeg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* This is the magic line for parallax */
    background-color: var(--light-color); /* Fallback color */
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 2rem;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--dark-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--dark-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('images/hero-bg.jpg') no-repeat center center/cover; /* Replace with your hero image */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.hero-content {
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 10px;
}

.hero h1 {
    font-size: 4rem;
    color: white;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #eee;
}

.cta-button {
    background: var(--primary-color);
    color: var(--light-color);
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #7a1500;
}

/* About Us Section */
.about-us, .products, .newsletter {
    padding: 4rem 0;
    text-align: center;
}

.features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.feature-item {
    flex: 1;
    max-width: 300px;
    margin: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Product Showcase */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.product-cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.product-cta:hover {
    background: var(--primary-color);
    color: var(--light-color);
}

/* Newsletter Section */
.newsletter {
    background: var(--primary-color);
    color: var(--light-color);
}

.newsletter h2 {
    color: var(--light-color);
}

#newsletter-form {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

#email-input {
    padding: 0.75rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px 0 0 5px;
    min-width: 250px;
}

#newsletter-form button {
    border-radius: 0 5px 5px 0;
    padding: 0.75rem 1.5rem;
    background: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    cursor: pointer;
}

.hidden {
    display: none;
}

/* Contact Section */
.contact-us {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 4rem 0;
    text-align: center;
}

.contact-us h2 {
    color: var(--light-color);
}

.contact-email {
    font-size: 1.25rem;
    margin-top: 1.5rem;
}

.contact-email a {
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contact-email a:hover {
    color: #FFD54F; /* A slightly lighter shade for the hover effect */
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 2rem 0;
    text-align: center;
}

footer a {
    color: var(--light-color);
    margin: 0 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }

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

    .feature-item {
        max-width: 100%;
    }

    #newsletter-form input {
        border-radius: 5px;
        margin-bottom: 0.5rem;
    }

    #newsletter-form button {
        border-radius: 5px;
    }
}