* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Verdana', sans-serif;
    line-height: 1.65;
    color: #4a148c;
    background: linear-gradient(to bottom, #f3e5f5 0%, #e1bee7 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, #7b1fa2 0%, #6a1b9a 100%);
    padding: 1.2rem 0;
    box-shadow: 0 7px 25px rgba(123, 31, 162, 0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid #ab47bc;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: white;
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.3rem;
}

.nav-links a {
    color: #f3e5f5;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    padding: 6px 12px;
}

.nav-links a:hover {
    color: #ce93d8;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
    color: white;
    padding: 115px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 3.6rem;
    margin-bottom: 1.3rem;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #7b1fa2;
    padding: 16px 46px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* Recipes Section */
.recipes-section {
    padding: 85px 20px;
}

.section-title {
    text-align: center;
    font-size: 3.2rem;
    margin-bottom: 3.5rem;
    color: #7b1fa2;
    font-weight: 800;
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.recipe-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(123, 31, 162, 0.2);
    transition: all 0.3s;
    border: 3px solid #e1bee7;
}

.recipe-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(123, 31, 162, 0.35);
    border-color: #ab47bc;
}

.recipe-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.recipe-content {
    padding: 2rem;
}

.recipe-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.7rem;
    color: #7b1fa2;
    font-weight: 800;
}

.recipe-content p {
    color: #6a1b9a;
    margin-bottom: 1.2rem;
}

.recipe-meta {
    display: flex;
    gap: 1.8rem;
    color: #9c27b0;
    font-weight: 700;
}

.view-recipe-btn {
    margin-top: 1.2rem;
    padding: 13px 32px;
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
}

.view-recipe-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(156, 39, 176, 0.4);
}

.recipe-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    background: #f3e5f5;
    border-radius: 15px;
    margin-top: 0;
}

.recipe-details.active {
    max-height: 2000px;
    transition: max-height 0.8s ease-in;
    padding: 2.5rem 2rem;
    margin-top: 1.2rem;
}

.recipe-section {
    margin-bottom: 2rem;
}

.recipe-section:last-child {
    margin-bottom: 0;
}

.recipe-section h4 {
    color: #7b1fa2;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
}

.recipe-section ul, .recipe-section ol {
    padding-left: 1.8rem;
    color: #4a148c;
}

.recipe-section li {
    margin-bottom: 0.9rem;
    line-height: 1.65;
}

.recipe-card {
    cursor: pointer;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #7b1fa2 0%, #6a1b9a 100%);
    color: #f3e5f5;
    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: 800;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.7rem;
}

.footer-section a {
    color: #ce93d8;
    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(243, 229, 245, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-content h2 {
        font-size: 2.4rem;
    }
    
    .recipe-grid {
        grid-template-columns: 1fr;
    }
}

