
:root {
    --bg-main: #0f1115;
    --bg-secondary: rgba(25, 28, 36, 0.7);
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --accent: #3b82f6;
    --accent-hover: #60a5fa;
    --border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(15, 17, 21, 0.8);
    --glass-border: rgba(255, 255, 255, 0.05);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: var(--bg-main); color: var(--text-main); font-family: var(--font-sans); line-height: 1.6; overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--accent-hover); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4, h5, h6 { line-height: 1.2; margin-bottom: 1rem; font-weight: 700; letter-spacing: -0.025em; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }

.top-bar { background: var(--bg-secondary); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); padding: 8px 0; font-size: 0.875rem; }
.secondary-menu { display: flex; gap: 20px; justify-content: flex-end; }
.secondary-menu a { color: var(--text-muted); }
.secondary-menu a:hover { color: var(--text-main); }

.main-header { background: var(--glass-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--glass-border); position: sticky; top: 0; z-index: 1000; padding: 15px 0; }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, #fff, #94a3b8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -0.05em; }
.primary-menu ul { list-style: none; display: flex; gap: 30px; }
.primary-menu a { color: var(--text-main); font-weight: 500; font-size: 0.95rem; position: relative; }
.primary-menu a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0; background-color: var(--accent); transition: width 0.3s ease; }
.primary-menu a:hover::after { width: 100%; }
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 25px; height: 2px; background-color: var(--text-main); transition: 0.3s; }

.hero { text-align: center; padding: 80px 20px; background: radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%); border-radius: 24px; margin: 40px 0; border: 1px solid var(--border); }
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.25rem; color: var(--text-muted); }

.section-title { margin-bottom: 30px; font-size: 1.75rem; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; margin-bottom: 60px; }
.post-card { background: rgba(25, 28, 36, 0.4); border: 1px solid var(--glass-border); border-radius: 16px; padding: 24px; display: block; color: var(--text-main); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); backdrop-filter: blur(10px); }
.post-card:hover { transform: translateY(-8px) scale(1.02); background: rgba(25, 28, 36, 0.8); border-color: rgba(255, 255, 255, 0.15); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); }
.post-card-category { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-weight: 600; margin-bottom: 12px; display: block; }
.post-card h2 { font-size: 1.35rem; margin-bottom: 15px; line-height: 1.4; }
.read-more { font-size: 0.9rem; font-weight: 500; color: var(--accent); display: flex; align-items: center; gap: 5px; transition: gap 0.3s ease; }
.post-card:hover .read-more { gap: 10px; }

.post-content { max-width: 950px; margin: 60px auto; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 30px; padding: 60px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); backdrop-filter: blur(15px); }
.post-content h1 { font-size: 3.2rem; margin-bottom: 25px; line-height: 1.2; text-align: center; font-weight: 800; background: linear-gradient(135deg, #fff, #cbd5e1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.post-meta { margin-bottom: 40px; text-align: center; }
.post-category { display: inline-block; background: var(--accent); color: #fff; padding: 6px 20px; border-radius: 30px; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4); }
.content-body { font-size: 1.2rem; color: #e2e8f0; line-height: 1.9; }

/* Recipe Images */
.content-body img { border-radius: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.5); margin: 50px auto; max-width: 100%; display: block; height: auto; transition: transform 0.4s ease; }
.content-body img:hover { transform: scale(1.02); }

/* Recipe Headings */
.content-body h2 { font-size: 2.2rem; color: #fff; margin: 60px 0 30px; border-bottom: none; position: relative; padding-bottom: 0; }
.content-body h2::after { content: ''; position: absolute; left: 0; bottom: -12px; width: 60px; height: 4px; background: var(--accent); border-radius: 2px; }
.content-body h3 { font-size: 1.7rem; color: #fff; margin: 40px 0 20px; font-weight: 700; }

/* Ingredients (ul) and Instructions (ol) */
.content-body ul { background: rgba(25, 28, 36, 0.6); border: 1px solid var(--border); padding: 35px 35px 35px 55px; border-radius: 24px; margin: 40px 0; list-style: none; }
.content-body ul li { margin-bottom: 16px; position: relative; font-size: 1.15rem; }
.content-body ul li::before { content: '•'; color: var(--accent); font-size: 1.8rem; position: absolute; left: -28px; top: -8px; }

.content-body ol { background: rgba(25, 28, 36, 0.6); border: 1px solid var(--border); padding: 35px 35px 35px 70px; border-radius: 24px; margin: 40px 0; counter-reset: recipe-counter; list-style: none; }
.content-body ol li { margin-bottom: 24px; position: relative; counter-increment: recipe-counter; font-size: 1.15rem; }
.content-body ol li::before { content: counter(recipe-counter); color: #fff; background: var(--accent); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; font-weight: bold; position: absolute; left: -45px; top: 0px; box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3); }

/* Tips / Notes / Blockquotes */
.content-body blockquote { background: rgba(59, 130, 246, 0.05); border-left: 4px solid var(--accent); padding: 30px 40px; margin: 50px 0; font-style: italic; font-size: 1.3rem; border-radius: 0 24px 24px 0; color: #cbd5e1; position: relative; overflow: hidden; }
.content-body blockquote::before { content: '"'; font-size: 6rem; color: rgba(59, 130, 246, 0.1); position: absolute; top: -20px; left: 10px; font-family: serif; line-height: 1; }
.content-body strong { color: #fff; font-weight: 700; }

.page-title { margin: 40px 0; font-size: 2.8rem; text-align: center; }

.main-footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 60px 0 20px; margin-top: 60px; color: var(--text-muted); }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-section h3 { color: var(--text-main); font-size: 1.2rem; margin-bottom: 20px; }
.footer-section a { display: block; color: var(--text-muted); margin-bottom: 10px; }
.footer-section a:hover { color: var(--accent); }
.footer-bottom { text-align: center; border-top: 1px solid var(--glass-border); padding-top: 20px; font-size: 0.9rem; }

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .post-content { padding: 24px; margin: 30px auto; }
    .post-content h1 { font-size: 2rem; }
    .top-bar .secondary-menu { justify-content: center; flex-wrap: wrap; gap: 15px; }
    .hamburger { display: flex; }
    .primary-menu { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-main); border-bottom: 1px solid var(--border); padding: 20px; transform: translateY(-10px); opacity: 0; visibility: hidden; transition: all 0.3s ease; }
    .primary-menu.active { transform: translateY(0); opacity: 1; visibility: visible; }
    .primary-menu ul { flex-direction: column; gap: 15px; text-align: center; }
    .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
