:root{
--bg:#0f1724;
--card:#ffffff;
--muted:#6b7280;
--accent:#ef6c35;
--glass: rgba(255,255,255,0.06);
--max-width:1100px;
--radius:12px;
--gap:5px;
--shadow: 0 6px 20px rgba(2,6,23,0.5);
--fw-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
margin:0;
font-family:var(--fw-sans);
background:linear-gradient(180deg,#071027 0%, #0d1320 100%);
color:#e6eef8;
-webkit-font-smoothing:antialiased;
-moz-osx-font-smoothing:grayscale;
line-height:1.45;
}

.container{max-width:var(--max-width);margin:0 auto;padding:24px;}

header.site-header{
position:sticky;
top:12px;
z-index:40;
-webkit-backdrop-filter: blur(8px);
backdrop-filter: blur(8px);
margin-bottom:22px;
}
.nav-wrap{
display:flex;
align-items:center;
justify-content:space-between;
gap:16px;
background:linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
padding:10px;
border-radius:14px;
box-shadow:var(--shadow);
}
.brand{
display:flex;align-items:center;gap:12px;
text-decoration:none;color:inherit;
}
.logo{
width:46px;height:46px;border-radius:10px;
background:linear-gradient(135deg,#ffb86b 0%, #ef6c35 100%);
display:flex;align-items:center;justify-content:center;
color:#fff;font-weight:700;font-size:18px;
box-shadow:0 6px 18px rgba(239,108,53,0.25);
}
.brand h1{font-size:16px;margin:0}
nav.primary{
display:flex;gap:12px;align-items:center;
}
nav.primary a{
color:var(--muted);text-decoration:none;padding:8px 12px;border-radius:8px;font-size:14px;
}
nav.primary a:hover{color:#fff;background:var(--glass)}
/* Hamburger */
.menu-toggle{
display:none;
background:transparent;border:0;color:inherit;font-size:22px;padding:8px;border-radius:8px;
}
.hero-visual{
position:relative;border-radius:14px;overflow:hidden;height:360px;
display:flex;align-items:flex-end;
background-size:cover;background-position:center center;
}
.hero-visual::after{
content:"";
position:absolute;left:0;right:0;top:0;bottom:0;
background:linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.4));
}
footer.site-footer{
    margin-top:28px;padding:20px;border-radius:12px;background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    box-shadow:var(--shadow);
}
.footer-row{display:flex;justify-content:space-between;gap:18px;align-items:center;flex-wrap:wrap}
.social a{margin-right:10px;color:var(--muted);text-decoration:none}
.fab{list-style: none;font-size: 30px; color: #fff;}
.muted{color:var(--muted)}

/* Responsive tweaks */
@media (max-width:740px){
    .controls{ width:100%; margin-top:12px; }
    .search input{ width:110px; }

}
@media (max-width:420px){
    body{ padding:16px; }
    .brand h1{ font-size:16px; }
    .thumb{ height:120px; }
}

/* Responsive */
@media (max-width:1000px){
.hero{grid-template-columns:1fr}
.hero-visual{height:300px}
.featured{grid-template-columns:repeat(2,1fr)}

}
@media (max-width:700px){
.container{padding:16px}
nav.primary{display:none;flex-direction:column;gap:6px;width:100%}
.menu-toggle{display:inline-block}
.nav-wrap{flex-direction:row;align-items:center}
.hero-visual{height:220px}
.featured{grid-template-columns:1fr}

}
/* Dropdown active */
.nav-open nav.primary{display:flex;position:absolute;left:16px;right:16px;top:74px;background:linear-gradient(180deg, rgba(2,6,23,0.85), rgba(2,6,23,0.95));padding:12px;border-radius:12px;box-shadow:0 18px 40px rgba(2,6,23,0.6)}


/* MAIN CONTENT */
main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

figure {
    margin: 2rem 0;
    text-align: center;
}

figure img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

figcaption {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

section {
    background: white;
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #667eea;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

h3 {
    color: #764ba2;
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

ul, ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.8rem;
    color: #071027;
}

.intro {
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
    line-height: 1.8;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.ingredient-item {
    background: #f0f4ff;
    padding: 1rem;
    border-left: 4px solid #667eea;
    border-radius: 4px;
}

.tips {
    background: #fff3cd;
    padding: 1.5rem;
    border-radius: 4px;
    margin: 1rem 0;
    border-left: 4px solid #ffc107;
}

.related-recipes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.recipe-card {
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.recipe-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.recipe-card-content {
    padding: 1rem;
}
.recipe-card-content p{
    color: #071027;
}
.recipe-card h4 {
    color: #667eea;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.comments-section {
    margin-top: 2rem;
}

.comment {
    background: #f9f9f9;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    border-left: 4px solid #667eea;
}
.comment p{
    color: #071027;
}

.comment-author {
    font-weight: bold;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.comment-date {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 0.5rem;
}

form {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 4px;
    margin-top: 1rem;
}

form textarea, form input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    resize: vertical;
}

button {
    background: #667eea;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

button:hover {
    background: #764ba2;
}

.recipe-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.recipe-btn {
    padding: 1rem;
    background: #f0f4ff;
    border: 2px solid #667eea;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    color: #667eea;
    transition: all 0.3s ease;
}

.recipe-btn.active {
    background: #667eea;
    color: white;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    section {
        padding: 1.5rem;
    }

    .recipe-selector {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    section {
        padding: 1rem;
    }

    .recipe-selector {
        grid-template-columns: 1fr;
    }

    ul, ol {
        margin-left: 1.5rem;
    }
}