/* ===========================
   VIRIMAX BLOG - blog.css
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Open+Sans:wght@400;500;600&display=swap');

:root {
  --primary: #1a1a2e;
  --gold: #D4AF37;
  --gold-light: #f0d060;
  --dark: #0d0d1a;
  --white: #ffffff;
  --gray-light: #f8f8fc;
  --gray: #e5e5ef;
  --text-muted: #6b7280;
  --accent: #e63946;
  --shadow: 0 4px 24px rgba(26,26,46,0.13);
  --radius: 12px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Open Sans', sans-serif; color: var(--primary); background: var(--white); line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

h1,h2,h3,h4 { font-family: 'Montserrat', sans-serif; font-weight: 800; line-height: 1.25; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 15px;
  padding: 14px 32px; border-radius: 50px; border: none; cursor: pointer;
  transition: all var(--transition); min-height: 52px; text-transform: uppercase; letter-spacing: 0.5px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(212,175,55,0.4);
}
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 8px 32px rgba(212,175,55,0.55); }
.btn-full { width: 100%; }

/* Nav */
#navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,26,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212,175,55,0.15);
  height: 68px;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 22px; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; }
.nav-logo span { color: var(--white); }
.nav-cta .btn { padding: 10px 22px; font-size: 13px; min-height: 40px; }

/* Blog Hero */
.blog-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  padding: 60px 0 48px;
  text-align: center;
}
.blog-hero h1 { color: var(--white); font-size: clamp(26px, 4vw, 42px); margin-bottom: 12px; }
.blog-hero h1 .gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.blog-hero p { color: rgba(255,255,255,0.65); font-size: 17px; max-width: 600px; margin: 0 auto 24px; }

/* Blog Grid */
.blog-section { padding: 64px 0; background: var(--gray-light); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(26,26,46,0.18); }
.blog-card-img {
  background: linear-gradient(135deg, var(--dark), var(--primary));
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-cat { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.blog-card-body h2 { font-size: 17px; color: var(--primary); margin-bottom: 10px; line-height: 1.35; }
.blog-card-body p { font-size: 14px; color: var(--text-muted); line-height: 1.7; flex: 1; margin-bottom: 16px; }
.blog-read-more { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; }
.blog-read-more:hover { color: var(--primary); }

/* Post Page */
.post-header { background: linear-gradient(135deg, var(--dark), var(--primary)); padding: 60px 0 48px; }
.post-header .container { max-width: 800px; }
.post-cat { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.post-header h1 { color: var(--white); font-size: clamp(24px, 4vw, 42px); margin-bottom: 14px; }
.post-meta { color: rgba(255,255,255,0.5); font-size: 13px; }

.post-body { max-width: 800px; margin: 48px auto; padding: 0 20px; }
.post-body h2 { font-size: clamp(20px, 3vw, 28px); color: var(--primary); margin: 36px 0 14px; border-left: 4px solid var(--gold); padding-left: 16px; }
.post-body h3 { font-size: clamp(17px, 2.5vw, 22px); color: var(--primary); margin: 24px 0 10px; }
.post-body p { font-size: 16.5px; color: #374151; line-height: 1.85; margin-bottom: 18px; }
.post-body p strong { color: var(--primary); }
.post-body ul { margin: 12px 0 20px 24px; }
.post-body ul li { font-size: 16px; color: #374151; line-height: 1.8; margin-bottom: 8px; list-style: disc; }

.post-cta-box {
  background: linear-gradient(135deg, var(--dark), var(--primary));
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  margin: 40px 0;
  border: 2px solid rgba(212,175,55,0.3);
}
.post-cta-box h3 { color: var(--white); font-size: 22px; margin-bottom: 10px; }
.post-cta-box p { color: rgba(255,255,255,0.7); margin-bottom: 20px; font-size: 15px; }

.related-posts { background: var(--gray-light); padding: 48px 0; }
.related-posts .container { max-width: 800px; }
.related-posts h2 { font-size: 22px; margin-bottom: 24px; text-align: center; }
.related-links { display: flex; flex-direction: column; gap: 12px; }
.related-link {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
  transition: all var(--transition);
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 14px; color: var(--primary);
}
.related-link:hover { transform: translateX(4px); color: var(--gold); }

/* Footer */
footer { background: var(--dark); padding: 36px 0 20px; border-top: 2px solid rgba(212,175,55,0.2); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-nav a { color: rgba(255,255,255,0.5); font-size: 13px; margin-right: 16px; transition: color var(--transition); }
.footer-nav a:hover { color: var(--gold); }
.footer-copy { color: rgba(255,255,255,0.3); font-size: 12px; }
.footer-disc { color: rgba(255,255,255,0.3); font-size: 11.5px; line-height: 1.7; text-align: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.06); }

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}
@media (min-width: 576px) and (max-width: 991px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
