/* Earthy & Food-Inspired Theme */
:root {
    --earth-light: #F5E7D2;       /* Light Sand */
    --earth-medium: #A68A64;      /* Taupe */
    --earth-dark: #5C4033;        /* Dark Chocolate */
    --food-accent: #E9967A;       /* Salmon */
    --background-light: #FAF9F6; /* Soft Warm White */
    --background-medium: #F0E68C;  /* Khaki - Subtle food color */
    --text-dark: #3A3A3A;          /* Dark Gray for readability */
    --text-light: #FFFFFF;        /* White text for dark backgrounds */
}

/* General Styles */
body {
    background-color: var(--background-light);
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

/* Headers */
h1, h2, h3, h4, h5, h6 {
    color: var(--earth-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Links */
a {
    color: var(--food-accent); /* Salmon color for links */
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: var(--earth-dark);
}

/* Buttons */
button, .btn {
    background: var(--food-accent);
    color: var(--text-light);
    border: 2px solid var(--earth-dark);
    padding: 12px 20px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
}

button:hover, .btn:hover {
    background: var(--earth-dark);
    color: var(--text-light);
}

/* Navbar */
.navbar-dark .navbar-nav .nav-link {
    color: var(--text-light);
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.navbar-dark .navbar-nav .nav-link:hover {
    background: var(--food-accent);
    color: var(--text-light);
}

/* Main Content */
.container {
    background-color: var(--background-medium);
    color: var(--text-dark);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 10px;
}

/* Cards */
.card {
    background-color: var(--earth-light);
    border: 1px solid var(--earth-dark);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(92, 64, 51, 0.2); /* Shadow matches earth_dark */
}

/* Forms */
input, textarea {
    background-color: var(--background-light);
    border: 1px solid var(--earth-dark);
    color: var(--text-dark);
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

input:focus, textarea:focus {
    border-color: var(--food-accent);
    outline: none;
}

/* Footer */
footer {
    background-color: var(--earth-dark);
    color: var(--text-light);
    padding: 20px;
    text-align: left;
    border-top: 2px solid var(--food-accent);
}

footer a {
    color: var(--earth-light);
}

footer a:hover {
    color: var(--food-accent);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: space-around;
}

.product-item {
    background-color: var(--background-light);
}

.product-card {
    width: 300px;
    padding: 20px;
    border: 1px solid var(--earth-dark);
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(92, 64, 51, 0.2); /* Shadow matches earth_dark */
    background-color: var(--background-light);
    text-align: center;
}

.product-card h3 {
    font-size: 1.3em;
    color: var(--earth-dark);
}

/* Call to Action */
.cta {
    background: var(--food-accent);
    color: var(--text-light);
    padding: 15px;
    font-size: 1.2rem;
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
}

.cta:hover {
    background: var(--earth-dark);
    color: var(--text-light);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(92, 64, 51, 0.8); /*rgba of earth-dark*/
    color: var(--text-light);
    padding: 15px 0;
    text-align: center;
    z-index: 1000;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Flexbox for buttons */
.button-container {
    display: flex;
    gap: 10px;
    justify-content: center;
}
