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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fafafa;
    color: #333;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #ff6f61;
    color: white;
    flex-wrap: wrap;
}

header .logo {
    font-size: 1.8em;
    font-weight: bold;
}

header nav {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

header input, header select {
    padding: 8px 12px;
    border-radius: 5px;
    border: none;
    font-size: 1em;
}

header input {
    width: 200px;
}

header select {
    cursor: pointer;
}

/* Hero */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../images/hero.jpg') no-repeat center center/cover;
    color: white;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2em;
}

/* Recipes */
section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: auto;
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.recipe-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

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

.recipe-card h3 {
    margin: 15px;
}

.recipe-card p {
    margin: 0 15px 15px 15px;
}

.recipe-card button {
    margin: 0 15px 15px 15px;
    padding: 10px 15px;
    background-color: #ff6347;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.recipe-card button:hover {
    background-color: #e5533d;
}

/* Recipe Grid */
section {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

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

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.recipe-card img {
