* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff9ecd;
    --secondary-color: #f7d6e6;
    --accent-color: #b76e79;
    --text-color: #4a4a4a;
    --light-pink: #fff0f5;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-pink);
}

header {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1621303837174-89787a7d4729?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    height: 70vh;
    color: white;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(255, 158, 205, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: calc(70vh - 80px);
    text-align: center;
    padding: 0 1rem;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 4rem 5%;
    background-color: white;
}

.recipe-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border: 1px solid var(--secondary-color);
}

.recipe-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.recipe-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
}

.recipe-card:hover img {
    transform: scale(1.05);
}

.recipe-card h2 {
    font-family: 'Playfair Display', serif;
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.8rem;
    color: var(--accent-color);
}

.recipe-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-color);
}

.recipe-btn {
    display: inline-block;
    margin: 0 1.5rem 1.5rem;
    padding: 0.8rem 1.8rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.recipe-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

footer {
    text-align: center;
    padding: 2rem;
    background: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
}

/* Recipe Page Styles */
.recipe-header {
    height: auto;
    background: #333;
    margin-bottom: 2rem;
}

.recipe-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.recipe-details h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.recipe-hero-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.recipe-metadata {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.recipe-metadata span {
    background: #f5f5f5;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.recipe-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #666;
}

.ingredients, .instructions, .tips {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.ingredients h2, .instructions h2, .tips h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.ingredients h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
    color: #444;
}

.ingredients ul, .tips ul {
    list-style: none;
    padding-left: 0;
}

.ingredients li, .tips li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.instructions ol {
    padding-left: 1.2rem;
}

.instructions li {
    margin-bottom: 1rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .recipe-metadata {
        gap: 1rem;
    }
    
    .recipe-details h1 {
        font-size: 2rem;
    }
    
    .recipe-content {
        padding: 0 1rem 3rem;
    }
} 