* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Baskerville', serif;
    line-height: 1.8;
    color: #01579b;
    background: linear-gradient(135deg, #ffd54f 0%, #ffca28 50%, #ffc107 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: linear-gradient(to right, #01579b 0%, #0277bd 100%);
    padding: 1.5rem 0;
    box-shadow: 0 8px 30px rgba(1, 87, 155, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 5px solid #ffd54f;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #ffd54f;
    font-size: 2.7rem;
    font-weight: 700;
    font-style: italic;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: #ffd54f;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1.05rem;
}

.nav-links a:hover {
    color: white;
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0277bd 0%, #01579b 100%);
    color: white;
    padding: 120px 20px;
    text-align: center;
}

.hero-content h2 {
    font-size: 3.8rem;
    margin-bottom: 1.4rem;
    font-weight: 700;
    font-style: italic;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    background: #ffd54f;
    color: #01579b;
    padding: 18px 52px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s;
    border: 4px solid #ffca28;
}

.cta-button:hover {
    transform: scale(1.1);
    background: #ffc107;
    box-shadow: 0 12px 40px rgba(255, 193, 7, 0.6);
}

/* Recipes Section */
.recipes-section {
    padding: 90px 20px;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 3.5rem;
    color: #01579b;
    font-weight: 700;
    font-style: italic;
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.recipe-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(1, 87, 155, 0.3);
    transition: all 0.3s;
    border: 4px solid #ffd54f;
}

.recipe-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 22px 55px rgba(1, 87, 155, 0.4);
}

.recipe-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.recipe-content {
    padding: 2rem;
}

.recipe-content h3 {
    font-size: 1.7rem;
    margin-bottom: 0.8rem;
    color: #01579b;
    font-weight: 700;
}

.recipe-content p {
    color: #0277bd;
    margin-bottom: 1.2rem;
}

.recipe-meta {
    display: flex;
    gap: 2rem;
    color: #0288d1;
    font-weight: 600;
}

.view-recipe-btn {
    margin-top: 1.2rem;
    padding: 14px 34px;
    background: linear-gradient(to right, #0288d1 0%, #01579b 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.view-recipe-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(2, 136, 209, 0.5);
}

.recipe-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    background: #fff9e6;
    border-radius: 12px;
    margin-top: 0;
}

.recipe-details.active {
    max-height: 2000px;
    transition: max-height 0.8s ease-in;
    padding: 2.5rem 2rem;
    margin-top: 1.2rem;
    border: 3px solid #ffd54f;
}

.recipe-section {
    margin-bottom: 2rem;
}

.recipe-section:last-child {
    margin-bottom: 0;
}

.recipe-section h4 {
    color: #01579b;
    font-size: 1.45rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 700;
}

.recipe-section ul, .recipe-section ol {
    padding-left: 1.8rem;
    color: #0277bd;
}

.recipe-section li {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.recipe-card {
    cursor: pointer;
}

/* Footer */
footer {
    background: linear-gradient(to right, #01579b 0%, #0277bd 100%);
    color: #ffd54f;
    padding: 4rem 20px 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1.2rem;
    color: white;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.7rem;
}

.footer-section a {
    color: #ffca28;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 2px solid rgba(255, 213, 79, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .recipe-grid {
        grid-template-columns: 1fr;
    }
}

