:root {
    --primary-color: #8B4513; /* SaddleBrown */
    --secondary-color: #F5DEB3; /* Wheat */
    --accent-color: #228B22; /* ForestGreen */
    --text-color: #333;
    --light-text-color: #fff;
    --heading-font: 'Lobster', cursive;
    --body-font: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fdfaf6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--light-text-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo img {
    height: 60px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

nav a:hover, nav a:focus {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--light-text-color);
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: var(--body-font);
}

.cta-button:hover {
    background-color: #1c6e1c;
    transform: translateY(-2px);
}

#hero {
    background: url('hero_background.png') no-repeat center center/cover;
    color: var(--light-text-color);
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-content h1 {
    font-family: var(--heading-font);
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

#brews, #testimonials, #safety, #recipes {
    padding: 4rem 0;
}

#recipes {
    background-color: #fdfaf6;
}

.recipe-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

#recipe-generator {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#recipe-generator .controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

#recipe-generator label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

#recipe-generator select {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-family: var(--body-font);
    font-size: 1rem;
}

#recipe-display {
    border: 2px dashed var(--secondary-color);
    border-radius: 10px;
    padding: 2rem;
    min-height: 150px;
    transition: all 0.3s ease;
}

#recipe-display.loaded {
    border-style: solid;
    border-color: var(--accent-color);
    background-color: #f8fef8;
}

#recipe-display h3 {
    text-align: left;
    margin-top: 0;
}

#recipe-display ul {
    list-style-position: inside;
    padding-left: 0;
    margin: 1rem 0;
}

#recipe-display li {
    margin-bottom: 0.5rem;
}

#safety {
    background-color: var(--secondary-color);
}

.safety-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    background: #fff;
    padding: 2rem 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.safety-content h3 {
    text-align: left;
    color: #c0392b; /* A reddish warning color */
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.safety-content h3:first-child {
    margin-top: 0;
}

.safety-content p, .safety-content ul {
    margin-bottom: 1rem;
}

.safety-content ul {
    list-style-position: inside;
    padding-left: 1rem;
}

.safety-content li {
    margin-bottom: 0.5rem;
}

.final-disclaimer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
    font-size: 0.9rem;
    text-align: center;
    color: #555;
}

h2, h3 {
    font-family: var(--heading-font);
    text-align: center;
    color: var(--primary-color);
}

h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

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

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

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

.product-card img {
    max-width: 100%;
    height: 250px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.testimonial-card blockquote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: #555;
}

.testimonial-card cite {
    font-weight: 600;
    color: var(--accent-color);
    font-style: normal;
}

#disclaimer {
    display: none; /* Hide the old disclaimer section */
}

footer {
    background: var(--primary-color);
    color: var(--light-text-color);
    text-align: center;
    padding: 1.5rem 0;
}

@media(max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }

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

    nav ul {
        justify-content: center;
    }
}