/*
Theme Name: Astra Child - NovaTool
Template: astra
Description: Custom NovaTool theme
Version: 1.0
*/

/* ===== GLOBAL STYLES ===== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --dark: #1a1a2e;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    line-height: 1.7;
}

/* ===== HERO SECTION ===== */
.nova-hero {
    background: linear-gradient(135deg, var(--gray-900) 0%, #1e3a5f 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.nova-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.nova-hero .subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 35px;
    line-height: 1.6;
}

.nova-hero .cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.nova-hero .btn-primary {
    background: var(--primary);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s;
}

.nova-hero .btn-primary:hover {
    background: var(--primary-dark);
    color: white;
}

.nova-hero .btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    transition: background 0.2s;
}

.nova-hero .btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* ===== SECTIONS ===== */
.nova-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

.nova-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.nova-section .section-subtitle {
    color: var(--gray-600);
    font-size: 1.05rem;
    margin-bottom: 35px;
}

/* ===== POST CARDS ===== */
.nova-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.nova-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 28px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.nova-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.nova-card .card-category {
    display: inline-block;
    background: #eff6ff;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.nova-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
    line-height: 1.4;
}

.nova-card h3 a {
    color: var(--gray-900);
    text-decoration: none;
}

.nova-card h3 a:hover {
    color: var(--primary);
}

.nova-card .card-excerpt {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.nova-card .card-meta {
    color: var(--gray-400);
    font-size: 0.85rem;
}

/* ===== FEATURES BAR ===== */
.nova-features {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.nova-features-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.nova-feature-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.nova-feature-item p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.nova-feature-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* ===== NEWSLETTER ===== */
.nova-newsletter {
    background: var(--gray-900);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.nova-newsletter h2 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.nova-newsletter p {
    color: var(--gray-400);
    margin-bottom: 25px;
}

/* ===== SINGLE POST STYLES ===== */
.entry-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--gray-900);
}

.entry-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 12px;
}

.entry-content p {
    margin-bottom: 18px;
    line-height: 1.8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nova-hero h1 { font-size: 2rem; }
    .nova-hero { padding: 50px 20px; }
    .nova-features-inner { grid-template-columns: 1fr; }
    .nova-grid { grid-template-columns: 1fr; }
}
