* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    line-height: 1.6;
    color: #3d2817;
    background: linear-gradient(135deg, #fff9f0 0%, #ffe8d6 50%, #ffd4b3 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: linear-gradient(to right, #4a148c 0%, #6a1b9a 25%, #8e24aa 50%, #9c27b0 75%, #ba68c8 100%);
    padding: 1.2rem 0;
    box-shadow: 0 4px 18px rgba(74, 20, 140, 0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #f8bbd0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: white;
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-style: italic;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: #f8bbd0;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: #fff;
    transform: translateY(-2px);
    text-shadow: 0 4px 8px rgba(255,255,255,0.3);
}

.hero {
    background: linear-gradient(135deg, #4a148c 0%, #6a1b9a 25%, #8e24aa 50%, #ab47bc 75%, #ba68c8 100%);
    color: white;
    padding: 110px 20px;
    text-align: center;
    border-bottom: 5px solid #f8bbd0;
    position: relative;
}

.hero::before {
    content: '🥐';
    position: absolute;
    font-size: 13rem;
    opacity: 0.08;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 4.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    font-style: italic;
}

.hero-content p {
    font-size: 1.45rem;
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-style: italic;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #6a1b9a;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.3s;
    border: 3px solid #f8bbd0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: scale(1.08) translateY(-3px);
    background: #f8bbd0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.recipes-section {
    padding: 85px 20px;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 3rem;
    color: #6a1b9a;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
    font-style: italic;
}

.section-title::after {
    content: '';
    display: block;
    width: 180px;
    height: 5px;
    background: linear-gradient(to right, #6a1b9a 0%, #ba68c8 100%);
    margin: 20px auto 0;
    border-radius: 3px;
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    gap: 2.5rem;
}

.recipe-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(106, 27, 154, 0.25);
    transition: all 0.3s;
    border: 3px solid #e1bee7;
    cursor: pointer;
}

.recipe-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(106, 27, 154, 0.4);
    border-color: #8e24aa;
}

.recipe-card img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    transition: transform 0.3s;
}

.recipe-card:hover img {
    transform: scale(1.1);
}

.recipe-content {
    padding: 2.2rem;
}

.recipe-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #6a1b9a;
    font-weight: 700;
    font-style: italic;
}

.recipe-content p {
    color: #3d2817;
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.recipe-meta {
    display: flex;
    gap: 2rem;
    color: #8e24aa;
    font-weight: 700;
    font-size: 1.05rem;
}

.view-recipe-btn {
    margin-top: 1.3rem;
    padding: 15px 35px;
    background: linear-gradient(to right, #6a1b9a 0%, #8e24aa 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(106, 27, 154, 0.3);
}

.view-recipe-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(106, 27, 154, 0.5);
    background: linear-gradient(to right, #8e24aa 0%, #ab47bc 100%);
}

.recipe-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    border-radius: 10px;
    margin-top: 0;
}

.recipe-details.active {
    max-height: 2800px;
    transition: max-height 0.8s ease-in;
    padding: 2.5rem;
    margin-top: 1.5rem;
    border: 3px solid #ce93d8;
}

.recipe-section {
    margin-bottom: 2rem;
}

.recipe-section h4 {
    color: #6a1b9a;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.recipe-section ul, .recipe-section ol {
    padding-left: 2rem;
    color: #3d2817;
}

.recipe-section li {
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.recipe-section ol li {
    padding-left: 0.5rem;
}

footer {
    background: linear-gradient(to right, #4a148c 0%, #6a1b9a 25%, #8e24aa 50%, #9c27b0 75%, #ba68c8 100%);
    color: #f3e5f5;
    padding: 3.5rem 20px 2rem;
    margin-top: 4rem;
    border-top: 5px solid #f8bbd0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1.2rem;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    font-style: italic;
}

.footer-section p {
    line-height: 1.8;
    font-size: 1.05rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #e1bee7;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.05rem;
}

.footer-section a:hover {
    color: white;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 3px solid rgba(248, 187, 208, 0.3);
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .recipe-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
}



