/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #fcf8f3;
    color: #1e1e2a;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 12px;
}

/* ===== HEADER ===== */
.site-header {
    background: #1e1e2a;
    color: #fff;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.main-nav a {
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 30px;
    transition: 0.3s;
    font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a.active {
    background: #f39c12;
    color: #1e1e2a;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #1e1e2a 0%, #2d2d44 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    border-bottom: 6px solid #f39c12;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 640px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #f39c12;
    color: #1e1e2a;
}

.btn-primary:hover {
    background: #e67e22;
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid #f39c12;
    color: #f39c12;
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: #f39c12;
    color: #1e1e2a;
}

/* ===== RECIPES SECTION ===== */
.recipes-section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.recipe-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.recipe-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.card-image {
    font-size: 4rem;
    text-align: center;
    padding: 30px 0 10px;
    background: #f0ebe3;
}

.card-content {
    padding: 20px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-tag {
    background: #f39c12;
    color: #1e1e2a;
    font-weight: 700;
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 30px;
    align-self: flex-start;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.card-content p {
    color: #555;
    flex: 1;
    margin-bottom: 16px;
}

/* ===== FACTS ===== */
.facts-section {
    background: #1e1e2a;
    color: #fff;
    padding: 50px 0;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    margin-top: 20px;
}

.fact-item {
    background: rgba(255,255,255,0.05);
    padding: 24px;
    border-radius: 16px;
}

.fact-icon {
    font-size: 2.4rem;
    display: block;
    margin-bottom: 10px;
}

/* ===== RECIPE PAGE ===== */
.recipe-page {
    padding: 40px 0 60px;
}

.recipe-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.recipe-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    color: #777;
    margin-bottom: 24px;
    font-weight: 500;
}

.gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}

.gallery img:first-child {
    grid-row: span 2;
    height: 412px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin-bottom: 30px;
    border-radius: 16px;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.recipe-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 30px;
}

.ingredients ul {
    list-style: none;
    padding: 0;
}

.ingredients li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.instructions ol {
    padding-left: 24px;
}

.instructions li {
    margin-bottom: 12px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #1e1e2a;
    color: #aaa;
    padding: 30px 0;
    text-align: center;
    border-top: 2px solid #333;
}

.footer-tagline {
    margin-top: 6px;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        width: 100%;
        margin-top: 16px;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .main-nav.open {
        display: block;
    }
    .mobile-menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
    .recipe-title {
        font-size: 2rem;
    }
    .recipe-content {
        grid-template-columns: 1fr;
    }
    .gallery {
        grid-template-columns: 1fr 1fr;
    }
    .gallery img:first-child {
        grid-row: span 1;
        height: 200px;
    }
    .gallery img {
        height: 150px;
    }
}