/* style.css */

body {
    font-family: 'Georgia', serif;
    background-color: #fff8e1; /* Light cream background */
    color: #4a4a4a;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

h1 {
    text-align: center;
    color: #d35400; /* Warm orange color */
    margin-bottom: 30px;
    font-size: 2.5em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

form {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

input[type="text"] {
    padding: 12px;
    border: 2px solid #d35400;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input[type="text"]:focus {
    border-color: #c0392b; /* Darker red on focus */
    outline: none;
}

button {
    padding: 12px;
    background-color: #d35400;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    background-color: #c0392b; /* Darker red on hover */
    transform: scale(1.05);
}

#results {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.recipe-card {
    background-color: #f9f9f9;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

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

h2 {
    color: #d35400;
    margin-bottom: 10px;
    font-size: 1.5em;
}

h3 {
    margin: 0;
    color: #2980b9; /* Blue for recipe names */
}

img {
    border-radius: 12px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

p {
    margin: 5px 0;
}

h4 {
    margin-top: 10px;
    color: #8e44ad; /* Purple for instructions */
}

ol {
    padding-left: 20px;
}

li {
    margin-bottom: 5px;
    list-style-type: disc; /* Bullet points for instructions */
}

/* Food-themed background for the body */
body::before {
    content: '';
    background-image: url('https://example.com/food-background.jpg'); /* Replace with a food-themed background image */
    background-size: cover;
    background-position: center;
    opacity: 0.1; /* Light opacity for background */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1; /* Send background behind content */
}