/*
Theme Name: SL Blog
Theme URI: https://sl-blog.com
Author: sl-blog.com
Author URI: https://sl-blog.com
Description: O tema WordPress moderna pentru bloguri si site-uri de continut. Design modern cu accente auriu, perfect pentru articole si prezentari. Compatibil cu Elementor.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sl-blog
Tags: modern, blog, gold, one-column, custom-menu, featured-images, theme-options, elementor-ready

VirtualRealm - Gaming Theme
Explore. Create. Connect.
*/

/* =====================================================
   CSS Variables - Pearl Abyss Inspired Color Palette
===================================================== */
:root {
    /* Primary Dark Colors */
    --primary-black: #0d0d0f;
    --primary-dark: #121216;
    --secondary-dark: #1a1a1f;
    --tertiary-dark: #222228;

    /* Gold/Orange Accents (Pearl Abyss style) */
    --accent-gold: #d4a853;
    --accent-gold-light: #e8c678;
    --accent-gold-dark: #b8923d;
    --accent-orange: #ff8c42;
    --accent-orange-glow: rgba(255, 140, 66, 0.4);

    /* Gaming Accent Colors */
    --accent-red: #e63946;
    --accent-purple: #7b2cbf;
    --accent-cyan: #00d4ff;
    --accent-green: #4ade80;

    /* Glow Effects */
    --gold-glow: rgba(212, 168, 83, 0.3);
    --gold-glow-strong: rgba(212, 168, 83, 0.5);
    --orange-glow: rgba(255, 140, 66, 0.3);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b8b8c0;
    --text-muted: #6b6b75;
    --text-gold: #d4a853;

    /* Background Colors */
    --bg-card: rgba(26, 26, 31, 0.8);
    --bg-card-hover: rgba(34, 34, 40, 0.95);
    --bg-overlay: rgba(13, 13, 15, 0.95);
    --bg-gradient: linear-gradient(180deg, #0d0d0f 0%, #121216 50%, #1a1a1f 100%);

    /* Borders */
    --border-gold: rgba(212, 168, 83, 0.3);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(212, 168, 83, 0.6);

    /* Spacing */
    --section-padding: 100px;
    --container-max: 1400px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s ease;
}

/* =====================================================
   Reset & Base Styles
===================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Rajdhani', 'Orbitron', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Gaming Pattern Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(ellipse at 10% 20%, var(--gold-glow) 0%, transparent 40%),
        radial-gradient(ellipse at 90% 80%, var(--orange-glow) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L30 60M0 30L60 30' stroke='rgba(212,168,83,0.03)' stroke-width='1'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--accent-gold-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =====================================================
   Typography
===================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Gold Gradient Text */
.gold-text {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 50%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================================================
   Layout Components
===================================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* =====================================================
   Header & Navigation
===================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-card);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-medium);
}

.site-header.scrolled {
    background: var(--bg-card);
    box-shadow: 0 4px 30px var(--gold-glow);
    border-bottom-color: var(--border-gold);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: var(--container-max);
    margin: 0 auto;
    gap: 1rem;
}

.site-logo {
    display: flex;
    flex-shrink: 0;
}

.main-nav {
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px var(--gold-glow);
    position: relative;
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange), var(--accent-gold));
    border-radius: 10px;
    z-index: -1;
    opacity: 0.5;
    animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

.logo-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--primary-dark);
}

.site-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.site-tagline {
    font-size: 0.7rem;
    color: var(--accent-gold);
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Main Navigation */
.main-nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.main-nav a {
    color: var(--text-secondary);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-orange));
    transition: var(--transition-medium);
    box-shadow: 0 0 10px var(--gold-glow);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--accent-gold);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition-fast);
}

/* Header Search - Inline Toggle */
.header-search {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 0;
    flex-shrink: 0;
}

.search-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px 0 0 8px;
    border-right: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
    outline: none;
}

.search-toggle-btn:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.search-toggle-btn svg {
    width: 20px;
    height: 20px;
    stroke: #b8b8c0;
    transition: all 0.2s ease;
}

.search-toggle-btn:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(212, 168, 83, 0.3);
}

.search-toggle-btn:hover svg {
    stroke: #d4a853;
}

.search-form-inline {
    display: flex;
    align-items: center;
    width: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.search-form-inline.active {
    width: 280px;
    opacity: 1;
}

.search-form-inline input {
    width: 100%;
    height: 44px;
    padding: 0.75rem 1rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
    background-color: rgba(26, 26, 31, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: none;
    border-right: none;
    outline: none;
    transition: all 0.3s ease;
    margin: 0;
}

.search-form-inline input:focus {
    border-color: #d4a853;
    box-shadow: inset 0 0 10px rgba(212, 168, 83, 0.1);
}

.search-form-inline input::placeholder {
    color: #6b6b75;
}

.search-form-inline button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 1rem;
    background: linear-gradient(135deg, #d4a853 0%, #ff8c42 100%);
    border: 1px solid #d4a853;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    outline: none;
}

.search-form-inline button:focus {
    outline: none;
}

.search-form-inline button svg {
    width: 18px;
    height: 18px;
    stroke: #0d0d0f;
}

.search-form-inline button:hover {
    box-shadow: 0 0 15px rgba(212, 168, 83, 0.4);
}

/* =====================================================
   Hero Section
===================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: saturate(1.3) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(13, 13, 15, 0.8) 0%,
        rgba(18, 18, 22, 0.7) 50%,
        rgba(13, 13, 15, 0.95) 100%
    );
}

/* Animated Grid Lines */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(212, 168, 83, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 168, 83, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 4px;
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--accent-gold);
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.hero-title {
    font-size: clamp(3rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-title .highlight {
    display: block;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 50%, var(--accent-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px var(--gold-glow-strong);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-medium);
    border: none;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
    color: var(--primary-dark);
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    box-shadow: 0 4px 30px var(--gold-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition-medium);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px var(--gold-glow-strong);
    color: var(--primary-dark);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--border-gold);
    color: var(--accent-gold);
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--accent-gold);
    box-shadow: 0 0 30px var(--gold-glow);
}

/* =====================================================
   Articles Grid - Elementor Style
===================================================== */
.articles-section {
    background: linear-gradient(180deg, transparent 0%, rgba(26, 26, 31, 0.5) 50%, transparent 100%);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-subtitle {
    display: inline-block;
    color: var(--accent-gold);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
    padding: 0 2rem;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold));
}

.section-subtitle::before { left: -10px; }
.section-subtitle::after { right: -10px; transform: rotate(180deg); }

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Article Card - Elementor Style */
.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition-medium);
    position: relative;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-orange), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-medium);
}

.article-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-gold);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px var(--gold-glow);
}

.article-card:hover::before {
    transform: scaleX(1);
}

.article-thumbnail {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.article-card:hover .article-thumbnail img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.article-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(transparent, rgba(13, 13, 15, 0.9));
}

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    color: var(--primary-dark);
    padding: 0.4rem 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
    z-index: 2;
}

.article-content {
    padding: 1.5rem;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.article-meta svg {
    width: 14px;
    height: 14px;
    stroke: var(--accent-gold);
}

.article-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: var(--transition-fast);
}

.article-card:hover h3 {
    color: var(--accent-gold);
}

.article-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
}

.article-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

.article-link:hover {
    color: var(--accent-orange);
}

.article-link:hover svg {
    transform: translateX(5px);
}

/* Featured Article (Large) */
.article-card.featured {
    grid-column: span 2;
}

.article-card.featured .article-thumbnail {
    aspect-ratio: 21/9;
}

@media (max-width: 900px) {
    .article-card.featured {
        grid-column: span 1;
    }
    .article-card.featured .article-thumbnail {
        aspect-ratio: 16/10;
    }
}

/* =====================================================
   Game Categories Section
===================================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--gold-glow) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-medium);
}

.category-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.category-card:hover::before {
    opacity: 1;
}

.category-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
    z-index: 1;
    transition: var(--transition-medium);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px var(--gold-glow);
}

.category-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.category-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.category-count {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-dark);
    color: var(--accent-gold);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 2px;
}

/* =====================================================
   Stats Section
===================================================== */
.stats-section {
    padding: 60px 0;
    background: var(--secondary-dark);
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* =====================================================
   CTA Section
===================================================== */
.cta-section {
    text-align: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 50%, var(--gold-glow) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, var(--orange-glow) 0%, transparent 50%);
    animation: cta-pulse 5s ease-in-out infinite alternate;
}

@keyframes cta-pulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

/* =====================================================
   Footer
===================================================== */
.site-footer {
    background: var(--primary-black);
    border-top: 1px solid var(--border-gold);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .site-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links h4 {
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--secondary-dark);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-link:hover svg {
    fill: var(--primary-dark);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* =====================================================
   Animations
===================================================== */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fade-in-up 0.8s ease forwards;
}

/* =====================================================
   Responsive Design
===================================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .menu-toggle {
        display: flex;
    }

    .search-toggle-btn {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 85px;
        left: 0;
        width: 100%;
        background: #0d0d0f;
        padding: 2rem;
        transform: translateX(-100%);
        transition: var(--transition-medium);
        border-bottom: 1px solid var(--border-gold);
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .social-links {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .header-inner {
        padding: 1rem;
    }

    .header-search {
        position: static;
    }

    .search-form-inline.active {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        padding: 1rem;
        background: #0d0d0f;
        border-bottom: 1px solid rgba(212, 168, 83, 0.3);
    }

    .search-form-inline.active input {
        width: 100%;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }

    .search-form-inline.active button {
        width: 100%;
        border-radius: 8px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .category-card {
        padding: 1.5rem 1rem;
    }
}

/* =====================================================
   WordPress Specific Classes
===================================================== */
.wp-block-image img {
    border-radius: 0;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Elementor Compatibility */
.elementor-widget-container {
    --e-global-color-primary: var(--accent-gold);
    --e-global-color-secondary: var(--accent-orange);
    --e-global-color-text: var(--text-primary);
    --e-global-color-accent: var(--accent-gold);
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    padding: 2rem 0;
    border-top: 1px solid var(--border-subtle);
    margin-top: 3rem;
}

.post-navigation a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.post-navigation a:hover {
    color: var(--accent-gold);
}
