* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tahoma', Geneva, sans-serif;
    line-height: 1.7;
    color: #0d3b66;
    background: linear-gradient(to bottom, #e3f2fd 0%, #bbdefb 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: #1565c0;
    padding: 1rem 0;
    box-shadow: 0 3px 10px rgba(13, 59, 102, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #0d47a1;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: white;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #e3f2fd;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: white;
}

/* Hero Section */
.hero {
    background: #1976d2;
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #1565c0;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.cta-button:hover {
    background: #e3f2fd;
    transform: translateY(-2px);
}

/* Recipes Section */
.recipes-section {
    padding: 70px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1565c0;
    font-weight: 600;
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.recipe-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(13, 59, 102, 0.15);
    transition: all 0.3s;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(13, 59, 102, 0.25);
}

.recipe-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.recipe-content {
    padding: 1.5rem;
}

.recipe-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1565c0;
    font-weight: 600;
}

.recipe-content p {
    color: #37474f;
    margin-bottom: 1rem;
}

.recipe-meta {
    display: flex;
    gap: 1.5rem;
    color: #1976d2;
    font-weight: 500;
}

.view-recipe-btn {
    margin-top: 1rem;
    padding: 10px 25px;
    background: #1565c0;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.view-recipe-btn:hover {
    background: #1976d2;
}

.recipe-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    background: #f5f5f5;
    border-radius: 5px;
    margin-top: 0;
}

.recipe-details.active {
    max-height: 2000px;
    transition: max-height 0.8s ease-in;
    padding: 2rem 1.5rem;
    margin-top: 1rem;
}

.recipe-section {
    margin-bottom: 2rem;
}

.recipe-section:last-child {
    margin-bottom: 0;
}

.recipe-section h4 {
    color: #1565c0;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.recipe-section ul, .recipe-section ol {
    padding-left: 1.5rem;
    color: #263238;
}

.recipe-section li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.recipe-card {
    cursor: pointer;
}

/* Footer */
footer {
    background: #1565c0;
    color: #e3f2fd;
    padding: 3rem 20px 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bbdefb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(227, 242, 253, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .recipe-grid {
        grid-template-columns: 1fr;
    }
}

