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

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

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

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

header nav ul {
    display: flex;
    list-style: none;
}

header nav ul li {
    margin-left: 25px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

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

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

.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;
}

/* About and Contact */
#about, #contact {
    background-color: #f9f9f9;
    border-radius: 10px;
}

#contact form {
    display: flex;
    flex-direction: column;
}

#contact input, #contact textarea {
    margin-bottom: 15px;
    padding: 10px;
    font-size: 1em;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#contact button {
    background-color: #ff6347;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

#contact button:hover {
    background-color: #e5533d;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
}
