/* ========================================
   HOMEMADE PRESERVES - WEBSITE STYLES
   ======================================== */

/* Basic Reset & Fonts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-color: #fdfbf7;
}

/* Container - keeps content centered */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HERO SECTION (Top Banner)
   ======================================== */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('jam.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero .tagline {
    font-size: 1.4rem;
    font-style: italic;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: 60px 0;
    background-color: #fff;
}

.about h2 {
    text-align: center;
    font-size: 2rem;
    color: #8b4513;
    margin-bottom: 40px;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.about-content img {
    width: 300px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-text {
    flex: 1;
    min-width: 280px;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */
.products {
    padding: 60px 0;
    background-color: #f9f5ed;
}

.products h2 {
    text-align: center;
    font-size: 2rem;
    color: #8b4513;
    margin-bottom: 15px;
}

.section-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
}

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

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

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

.product-card h3 {
    color: #8b4513;
    padding: 15px 20px 10px;
    font-size: 1.3rem;
}

.product-card p {
    padding: 0 20px 20px;
    color: #666;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    color: #8b4513;
    margin-bottom: 15px;
}

.contact > .container > p {
    max-width: 500px;
    margin: 0 auto 30px auto;
    font-size: 1.1rem;
}

.contact-info {
    background: #f9f5ed;
    padding: 30px;
    border-radius: 10px;
    display: inline-block;
}

.contact-info p {
    margin: 10px 0;
    font-size: 1.1rem;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background-color: #8b4513;
    color: white;
    text-align: center;
    padding: 20px;
}

/* ========================================
   MOBILE FRIENDLY
   ======================================== */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .tagline {
        font-size: 1.1rem;
    }

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

    .about-content img {
        width: 100%;
        max-width: 300px;
    }
}
