/* ==========================================
   VISIUM PRO BLOG - blog-styles.css
========================================== */
:root {
  --primary: #1E40AF;
  --accent: #3B82F6;
  --accent-light: #93C5FD;
  --white: #ffffff;
  --light-bg: #EFF6FF;
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-light: #64748B;
  --border: #BFDBFE;
  --shadow: 0 4px 24px rgba(30,64,175,0.12);
  --radius: 16px;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-body); background: var(--white); line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { font-family: var(--font-heading); color: var(--text-dark); font-weight: 800; line-height: 1.3; margin-bottom: 16px; }
h1 { font-size: clamp(24px, 4vw, 42px); }
h2 { font-size: clamp(20px, 3vw, 32px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }
p { margin-bottom: 1.1rem; font-size: 16px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* NAVBAR */
.navbar { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); box-shadow: 0 2px 16px rgba(30,64,175,0.07); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 64px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.nav-logo { font-family: var(--font-heading); font-weight: 800; font-size: 18px; color: var(--primary); display: flex; align-items: center; gap: 8px; text-decoration: none; }
.nav-home { font-family: var(--font-heading); font-weight: 600; font-size: 14px; color: var(--text-dark); padding: 8px 16px; border-radius: 50px; border: 1px solid var(--border); transition: all 0.2s; }
.nav-home:hover { background: var(--primary); color: var(--white); text-decoration: none; }
.nav-order { background: linear-gradient(135deg, var(--primary), var(--accent)); color: var(--white) !important; font-family: var(--font-heading); font-weight: 700; font-size: 13px; padding: 10px 20px; border-radius: 50px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

/* BLOG HERO BANNER */
.blog-hero { background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); padding: 60px 0; text-align: center; }
.blog-hero h1 { color: var(--white); margin-bottom: 12px; }
.blog-hero p { color: rgba(255,255,255,0.8); font-size: 17px; max-width: 600px; margin: 0 auto; }

/* BLOG POST GRID */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 56px 0; }
@media (min-width: 576px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .blog-grid { grid-template-columns: repeat(3,1fr); } }
.blog-card { background: var(--light-bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.3s; display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.blog-card-img { width: 100%; height: 180px; object-fit: cover; background: linear-gradient(135deg, var(--accent-light), var(--primary)); }
.blog-card-img-placeholder { width: 100%; height: 180px; background: linear-gradient(135deg, #BFDBFE 0%, #93C5FD 100%); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-tag { display: inline-block; background: rgba(59,130,246,0.1); color: var(--primary); font-family: var(--font-heading); font-weight: 700; font-size: 11px; padding: 3px 10px; border-radius: 50px; margin-bottom: 10px; letter-spacing: 0.5px; text-transform: uppercase; }
.blog-card-body h3 { font-size: 17px; margin-bottom: 8px; color: var(--text-dark); flex: 1; }
.blog-card-body p { font-size: 14px; color: var(--text-light); margin-bottom: 16px; }
.blog-read-more { font-family: var(--font-heading); font-weight: 700; font-size: 14px; color: var(--primary); margin-top: auto; }

/* ARTICLE LAYOUT */
.article-layout { max-width: 800px; margin: 0 auto; padding: 48px 20px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 32px; color: var(--text-light); font-size: 14px; }
.article-meta .tag { background: var(--light-bg); border: 1px solid var(--border); border-radius: 50px; padding: 4px 12px; color: var(--primary); font-weight: 600; }
.article-content h2 { margin: 32px 0 14px; padding-top: 8px; }
.article-content h3 { margin: 24px 0 10px; color: var(--primary); }
.article-content ul, .article-content ol { margin: 0 0 1rem 1.5rem; }
.article-content li { margin-bottom: 8px; font-size: 16px; color: var(--text-body); }
.article-content blockquote { border-left: 4px solid var(--accent); padding: 16px 20px; background: var(--light-bg); margin: 24px 0; border-radius: 0 12px 12px 0; font-style: italic; color: var(--text-dark); }
.article-cta { background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: var(--radius); padding: 32px; text-align: center; margin: 40px 0; }
.article-cta h3 { color: var(--white); margin-bottom: 12px; }
.article-cta p { color: rgba(255,255,255,0.85); margin-bottom: 20px; }
.article-cta a { display: inline-flex; align-items: center; background: var(--white); color: var(--primary); font-family: var(--font-heading); font-weight: 800; font-size: 16px; padding: 14px 32px; border-radius: 50px; transition: all 0.3s; text-decoration: none; }
.article-cta a:hover { transform: scale(1.05); }

/* RELATED POSTS */
.related-posts { border-top: 1px solid var(--border); padding-top: 40px; margin-top: 40px; }
.related-posts h3 { margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 576px) { .related-grid { grid-template-columns: 1fr 1fr; } }
.related-item { background: var(--light-bg); border-radius: 10px; padding: 16px; border: 1px solid var(--border); transition: all 0.2s; }
.related-item:hover { box-shadow: var(--shadow); }
.related-item a { font-family: var(--font-heading); font-weight: 600; font-size: 14px; color: var(--primary); text-decoration: none; }
.related-item a:hover { text-decoration: underline; }

/* FOOTER */
.footer { background: #0F172A; padding: 40px 0 24px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer-brand { font-family: var(--font-heading); font-weight: 800; font-size: 18px; color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent-light); text-decoration: none; }
.footer-copy { color: rgba(255,255,255,0.4); font-size: 12px; text-align: center; margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; }
