/* =====================================================================
   Közös stílus a blog cikkoldalakhoz (blog-*.html).
   A cikkoldalak ezt töltik be: <link rel="stylesheet" href="blog-style.css">
   ===================================================================== */
:root {
    --bg-light: #ffffff; --bg-soft: #f8fafc;
    --text-main: #0f172a; --text-soft: #475569;
    --accent-primary: #D4AF37; --accent-primary-dark: #AA7B22;
    --accent-navy: #0a2540; --accent-navy-light: #1e293b;
    --radius-lg: 24px; --max-width: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100%; position: relative; }
body { font-family: 'Outfit', system-ui, sans-serif; background: var(--bg-soft); color: var(--text-main); line-height: 1.7; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { font-family: 'Lora', Georgia, serif; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.text-gradient { background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary-dark)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.btn-primary { background: #101423; color: white; padding: 1rem 2.2rem; border-radius: 999px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; transition: all 0.3s ease; border: none; cursor: pointer; box-shadow: 0 10px 20px rgba(16,20,35,0.15); font-family: 'Outfit', sans-serif; }
.btn-primary:hover { background: #000; transform: translateY(-3px); box-shadow: 0 15px 30px rgba(16,20,35,0.25); }
.btn-primary svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Header (fél-sziget) ===== */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: transparent; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo-link { position: relative; padding: 9px 16px; border-radius: 999px; margin-left: -16px; }
.logo-link::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 999px; background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); box-shadow: 0 14px 36px -16px rgba(10, 37, 64, 0.30); opacity: 0; transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1); pointer-events: none; }
header.scrolled .logo-link::before { opacity: 1; }
.logo-text-main { font-weight: 800; font-size: 1.2rem; color: var(--accent-navy); letter-spacing: -0.02em; }
.logo-text-sub { font-size: 0.65rem; font-weight: 600; text-transform: uppercase; color: var(--accent-primary); letter-spacing: 0.15em; }
.nav-links { display: flex; gap: 2rem; font-size: 0.95rem; font-weight: 600; color: var(--text-soft); }
.nav-links a:hover { color: var(--accent-navy); }
.header-cta { background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary-dark)) !important; color: #fff; box-shadow: 0 12px 26px -10px rgba(212, 175, 55, 0.55); transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease, background 0.3s ease; }
header.scrolled .header-cta { box-shadow: 0 16px 36px -10px rgba(212, 175, 55, 0.72); }
.header-cta:hover { background: linear-gradient(135deg, var(--accent-primary-dark), var(--accent-primary)) !important; transform: translateY(-2px); }
@media (min-width: 901px) {
    .nav-links { transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.55s; }
    header.scrolled .nav-links { opacity: 0; visibility: hidden; transform: translateY(-12px); pointer-events: none; }
}
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; z-index: 102; position: relative; }
.hamburger span { width: 25px; height: 3px; background: var(--accent-navy); border-radius: 3px; transition: all 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Article hero ===== */
.article-hero { padding: 150px 0 2.5rem; background: radial-gradient(circle at top right, #ffffff 0%, var(--bg-soft) 70%); }
.article-head-wrap { max-width: 800px; margin: 0 auto; }
.crumb { font-size: 0.85rem; color: var(--text-soft); margin-bottom: 1.5rem; }
.crumb a:hover { color: var(--accent-primary-dark); }
.article-cat { display: inline-block; background: var(--accent-navy); color: #fff; padding: 0.35rem 0.9rem; border-radius: 999px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1.2rem; }
.article-title { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; color: var(--accent-navy); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1.4rem; }
.article-meta { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; font-size: 0.9rem; color: var(--text-soft); font-weight: 500; }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent-primary); }
.article-meta .author { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; color: var(--accent-navy); }
.author-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary-dark)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Lora', serif; font-weight: 700; }

/* ===== Cover ===== */
.article-cover { max-width: 980px; margin: 0 auto 3.5rem; aspect-ratio: 16 / 7; border-radius: var(--radius-lg); overflow: hidden; position: relative; background: linear-gradient(135deg, #0a2540, #1e293b); display: flex; align-items: center; justify-content: center; box-shadow: 0 30px 60px rgba(10,37,64,0.15); }
.article-cover::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(212,175,55,0.18) 1px, transparent 1px); background-size: 18px 18px; opacity: 0.6; }
.article-cover svg { position: relative; width: 64px; height: 64px; stroke: rgba(212,175,55,0.95); stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.article-cover-img { width: 100%; height: 100%; object-fit: cover; }
.article-cover .cover-art { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ===== Article body ===== */
.article-body { max-width: 720px; margin: 0 auto; font-size: 1.12rem; color: #334155; line-height: 1.9; }
.article-body > .lead { font-size: 1.3rem; color: var(--accent-navy); font-weight: 300; line-height: 1.7; margin-bottom: 2.5rem; }
.article-body h2 { font-size: 1.7rem; font-weight: 700; color: var(--accent-navy); margin: 3rem 0 1.2rem; line-height: 1.25; }
.article-body h3 { font-size: 1.3rem; font-weight: 700; color: var(--accent-navy); margin: 2.2rem 0 0.9rem; }
.article-body p { margin-bottom: 1.5rem; }
.article-body a:not(.btn-primary) { color: var(--accent-primary-dark); font-weight: 600; border-bottom: 1px solid rgba(212,175,55,0.4); }
.article-body ul, .article-body ol { margin: 0 0 1.5rem 1.2rem; padding-left: 1rem; }
.article-body li { margin-bottom: 0.7rem; }
.article-body li::marker { color: var(--accent-primary-dark); }
.article-body strong { color: var(--accent-navy); font-weight: 700; }
.article-body blockquote { margin: 2.5rem 0; padding: 0.5rem 0 0.5rem 1.8rem; border-left: 3px solid var(--accent-primary); font-family: 'Lora', serif; font-style: italic; font-size: 1.3rem; color: var(--accent-navy); line-height: 1.6; }

.callout { background: #fff; border: 1px solid #e2e8f0; border-left: 4px solid var(--accent-primary); border-radius: 16px; padding: 1.6rem 1.8rem; margin: 2.5rem 0; box-shadow: 0 20px 40px rgba(10,37,64,0.05); }
.callout-title { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; color: var(--accent-navy); margin-bottom: 0.5rem; font-size: 1.05rem; }
.callout p { margin: 0; font-size: 1rem; color: var(--text-soft); }

/* ===== Author box ===== */
.author-box { max-width: 720px; margin: 3.5rem auto 0; display: flex; gap: 1.5rem; align-items: center; background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius-lg); padding: 2rem; box-shadow: 0 20px 40px rgba(10,37,64,0.05); }
.author-box .big-avatar { width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary-dark)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Lora', serif; font-size: 1.8rem; font-weight: 700; }
.author-box .ab-name { font-family: 'Lora', serif; font-weight: 700; font-size: 1.2rem; color: var(--accent-navy); }
.author-box .ab-role { font-size: 0.8rem; color: var(--accent-primary-dark); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; margin-bottom: 0.5rem; }
.author-box .ab-bio { font-size: 0.95rem; color: var(--text-soft); }

/* ===== Article CTA ===== */
.article-cta { max-width: 720px; margin: 3rem auto 0; background: linear-gradient(135deg, var(--accent-navy), var(--accent-navy-light)); border-radius: var(--radius-lg); padding: 3rem; text-align: center; color: #fff; box-shadow: 0 30px 60px rgba(10,37,64,0.25); }
.article-cta h3 { color: #fff; font-size: 1.7rem; font-weight: 700; margin-bottom: 0.8rem; }
.article-cta p { color: #9fb0c4; margin-bottom: 1.8rem; font-weight: 300; }
.article-cta .btn-primary { background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary-dark)); }
.article-cta .btn-primary:hover { background: linear-gradient(135deg, var(--accent-primary-dark), var(--accent-primary)); }

.back-to-blog { max-width: 720px; margin: 3rem auto 0; }
.back-to-blog a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--accent-primary-dark); font-weight: 700; }
.back-to-blog svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }

.article-foot-space { padding-bottom: 6rem; }

/* ===== Footer ===== */
footer { background-color: #0B0E17; color: #A0AABF; padding: 0 1.5rem 4rem; position: relative; overflow: hidden; }
.footer-bento-container { display: flex; flex-direction: column; align-items: center; width: 100%; padding-top: 4rem; }
.footer-inner-card { background: #101423; border: 1px solid rgba(255,255,255,0.05); border-radius: 32px; padding: 4rem; width: 100%; max-width: var(--max-width); box-shadow: 0 20px 40px rgba(0,0,0,0.2); display: flex; flex-direction: column; gap: 4rem; }
.footer-card-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.05); flex-wrap: wrap; gap: 2rem; }
.footer-logo-wrap { display: flex; align-items: center; gap: 15px; }
.footer-logo-icon { width: 40px; height: 40px; background: var(--accent-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent-navy); font-weight: 800; font-size: 1.2rem; font-family: 'Lora', serif; }
.footer-brand-name { font-size: 1.5rem; font-weight: 800; color: #ffffff; font-family: 'Outfit', sans-serif; letter-spacing: -0.02em; }
.footer-brand-sub { font-size: 0.85rem; color: #A0AABF; }
.footer-email-btn { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary-dark)); color: white; padding: 12px 24px; border-radius: 99px; font-weight: 600; font-size: 1rem; transition: transform 0.3s; }
.footer-email-btn:hover { transform: translateY(-2px); color: white; }
.footer-email-btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.footer-col-title { font-size: 0.8rem; font-weight: 800; color: #ffffff; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1.5rem; }
.footer-menu { display: flex; flex-direction: column; gap: 1rem; }
.footer-menu a { color: #A0AABF; font-size: 0.95rem; transition: color 0.3s; }
.footer-menu a:hover { color: var(--accent-primary); }
.footer-cert-grid { display: flex; gap: 1rem; }
.footer-cert-card { background: #1e293b; border-radius: 12px; padding: 1.5rem 1rem; text-align: center; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 1px solid rgba(255,255,255,0.05); color: #fff; }
.footer-cert-card.blue { background: #3b82f6; color: white; border-color: #2563eb; }
.footer-cert-card.white { background: #ffffff; color: #0f172a; }
.footer-cert-title { font-weight: 800; font-size: 1.1rem; line-height: 1; }
.footer-cert-sub { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; }
.footer-status { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #A0AABF; margin-top: 1.5rem; font-weight: 500; }
.status-dot { width: 8px; height: 8px; background: #10b981; border-radius: 50%; box-shadow: 0 0 10px rgba(16, 185, 129, 0.5); }
.footer-copyright-bento { text-align: center; font-size: 0.85rem; color: #64748b; margin-top: 2rem; opacity: 0.8; }

.sticky-cta { position: fixed; bottom: 20px; right: 20px; z-index: 999; background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary-dark)); color: white; border-radius: 50px; padding: 14px 24px; display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1rem; box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4); transition: all 0.3s ease; border: 2px solid rgba(255,255,255,0.3); }
.sticky-cta:hover { transform: translateY(-5px); }
.sticky-cta svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media(min-width: 769px) { .sticky-cta { display: none; } }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }

@media (max-width: 1024px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; } }
@media (max-width: 900px) {
    .header-cta { display: none; }
    .hamburger { display: flex; }
    .nav-links { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); flex-direction: column; justify-content: center; align-items: center; gap: 2.5rem; font-size: 1.5rem; display: flex; transform: translateY(-100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); z-index: 101; opacity: 0; }
    .nav-links.active { transform: translateY(0); opacity: 1; }
}
@media (max-width: 768px) {
    .article-hero { padding-top: 120px; }
    .article-body { font-size: 1.05rem; }
    .author-box { flex-direction: column; text-align: center; }
    .article-cta { padding: 2.2rem; }
    .footer-inner-card { padding: 2rem; gap: 2rem; }
    .footer-card-top { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
    .nav { height: 72px; }
    .logo-text-main { font-size: 1.02rem; }
    .logo-text-sub { font-size: 0.56rem; letter-spacing: 0.1em; }
    .logo-link { padding: 7px 12px; margin-left: -12px; }
}
