/*
Theme Name: AllAboutIIT Theme v2
Theme URI: https://allaboutiit.com
Author: Antigravity Agent
Author URI: https://thinkersstudio.in
Description: A minimalist, dark-mode default theme engineered for the 1% Syndicate. Clean lines, fast loading, and built for strategic Intel.
Version: 2.0
*/

:root {
    /* Colors - Dark Mode Default */
    --bg-primary: #111827; /* Deep Slate */
    --bg-secondary: #1F2937;
    --text-primary: #F9FAFB; /* Pure White/Off-White */
    --text-secondary: #9CA3AF;
    --accent-color: #4F46E5; /* Electric Indigo */
    --accent-hover: #4338CA;
    
    /* Typography */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

a { color: var(--accent-color); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--text-primary); }

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    border-bottom: 1px solid var(--bg-secondary);
    padding: 20px 0;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-title {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 800;
}
.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: background 0.2s;
}
.btn-primary {
    background: var(--accent-color);
    color: #fff;
}
.btn-primary:hover {
    background: var(--accent-hover);
    color: #fff;
}
.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--text-secondary);
}

/* Hero */
.hero-section {
    padding: 100px 0;
    text-align: center;
    border-bottom: 1px solid var(--bg-secondary);
}
.hero-title { font-size: 3.5rem; margin-bottom: 20px; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto 40px auto; }
.hero-actions { display: flex; gap: 20px; justify-content: center; }

/* Grid */
.recent-posts { padding: 60px 20px; }
.section-title { font-size: 2rem; margin-bottom: 40px; }
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}
.post-card {
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}
.post-card:hover { transform: translateY(-5px); }
.post-thumbnail img { width: 100%; height: 200px; object-fit: cover; }
.post-content { padding: 20px; }
.category-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}
.post-title { font-size: 1.25rem; margin-bottom: 10px; }
.read-more { font-weight: 600; font-size: 0.9rem; }

/* Single Post */
.single-post-container {
    max-width: 760px;
    padding: 60px 20px;
}
.entry-meta { margin-bottom: 20px; color: var(--text-secondary); }
.entry-title { font-size: 3rem; margin-bottom: 30px; }
.entry-thumbnail img { width: 100%; height: auto; border-radius: 8px; margin-bottom: 40px; }

/* Progress Bar */
.progress-container {
  width: 100%;
  height: 4px;
  background: var(--bg-secondary);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}
.progress-bar {
  height: 4px;
  background: var(--accent-color);
  width: 0%;
}

/* Post CTA Box */
.post-cta-box {
    margin-top: 60px;
    padding: 40px;
    background: var(--bg-secondary);
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--accent-color);
}
.post-cta-box h4 { font-size: 1.5rem; margin-bottom: 10px; }
.post-cta-box p { color: var(--text-secondary); margin-bottom: 20px; }

/* Content Typography & Spacing */
.entry-content p { margin-bottom: 1.5rem; font-size: 1.1rem; }
.entry-content h2 { margin-top: 3rem; margin-bottom: 1rem; font-size: 2rem; }
.entry-content h3 { margin-top: 2rem; margin-bottom: 1rem; font-size: 1.5rem; }
.entry-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin-left: 0;
    font-style: italic;
    color: var(--text-secondary);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--bg-secondary);
    padding: 60px 0 20px 0;
    margin-top: 60px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}
.footer-bottom { text-align: center; color: var(--text-secondary); font-size: 0.9rem; }
