/* ============================================
   CSS CUSTOM PROPERTIES - EXACT COLORS FROM ORIGINAL
   ============================================ */
:root {
    --black-deep: #0a0a0a;
    --black-soft: #1a1a1a;
    --black-medium: #2d2d2d;
    --black-light: #3d3d3d;
    --red-primary: #e63946;
    --red-bright: #ff2d2d;
    --red-dark: #b91c1c;
    --white: #ffffff;
    --white-soft: #f5f5f5;
    --gray-light: #a0a0a0;
    --gray-medium: #6b6b6b;
    
    --gradient-red: linear-gradient(135deg, var(--red-bright) 0%, var(--red-dark) 100%);
    --gradient-dark: linear-gradient(180deg, var(--black-deep) 0%, var(--black-soft) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    
    --font-display: 'Orbitron', sans-serif;
    --font-heading: 'Exo 2', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    
    --shadow-glow: 0 0 30px rgba(230, 57, 70, 0.3);
    --shadow-glow-intense: 0 0 60px rgba(230, 57, 70, 0.5);
    --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--black-deep);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--black-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-red);
    border-radius: var(--radius-full);
}

::selection {
    background: var(--red-primary);
    color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* LOADER */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black-deep);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--black-medium);
    margin-top: 2rem;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: var(--gradient-red);
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(0); }
    100% { transform: translateX(100%); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* PARTICLES */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--red-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

/* NAVIGATION */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: all var(--transition-medium);
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(230, 57, 70, 0.2);
    padding: 0.75rem 2rem;
}

/* Nav always visible on blog pages */
.nav.scrolled .nav-link {
    color: var(--white);
}

.nav.scrolled .nav-link:hover,
.nav.scrolled .nav-link.active {
    color: var(--red-primary);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1001;
}

.nav-logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    overflow: hidden;
}

.nav-logo-icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
}

.logo-throttle {
    color: var(--white);
}

.logo-angels {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-red);
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--red-primary);
}

.nav-cta {
    background: var(--gradient-red);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
    box-shadow: var(--shadow-glow);
    margin-left: 0.5rem;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-intense);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1024px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
        transition: right var(--transition-medium);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.5rem;
        padding: 1rem 2rem;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 1rem;
    }
}

/* BUTTONS */
.btn {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-red);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-intense);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--black-deep);
}

.btn-outline {
    background: transparent;
    color: var(--red-primary);
    border: 2px solid var(--red-primary);
}

.btn-outline:hover {
    background: var(--red-primary);
    color: var(--white);
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* SECTIONS */
.section {
    padding: 6rem 2rem;
    position: relative;
}

.section-dark {
    background: var(--black-soft);
}

.section-gradient {
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(230, 57, 70, 0.1) 0%, transparent 50%),
        var(--black-deep);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* FOOTER */
.footer {
    background: var(--black-soft);
    padding: 4rem 2rem 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red-primary), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    overflow: hidden;
}

.footer-logo-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
}

.footer-desc {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--red-primary);
    border-color: var(--red-primary);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-red);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-light);
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--red-primary);
    transform: translateX(5px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--gray-light);
}

.footer-contact-icon {
    color: var(--red-primary);
    margin-top: 0.2rem;
}

.footer-contact-item a {
    color: var(--gray-light);
}

.footer-contact-item a:hover {
    color: var(--red-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright {
    color: var(--gray-medium);
    font-size: 0.9rem;
}

.footer-copyright a {
    color: var(--red-primary);
}

/* BACK TO TOP */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-red);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 998;
    box-shadow: var(--shadow-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-intense);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
}

/* ANIMATIONS */
.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* UTILITIES */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

/* ============================================
   BLOG PAGE STYLES - CLEAN
   ============================================ */
.blog-content-area {
    background: #ffffff;
    padding: 120px 2rem 60px;
    position: relative;
    z-index: 1;
    min-height: 80vh;
}

.blog-content-area .blog-inner {
    max-width: 900px;
    margin: 0 auto;
}

.blog-content-area h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 2.5rem;
    color: #0a0a0a;
    text-align: center;
}

.blog-content-area h1 .highlight {
    background: linear-gradient(135deg, #ff2d2d 0%, #b91c1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-post-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.blog-post-card:hover {
    transform: translateY(-5px);
    border-color: #e63946;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.15);
}

.blog-post-card h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.blog-post-card h2 a {
    color: #0a0a0a;
    transition: color 0.2s ease;
}

.blog-post-card h2 a:hover {
    color: #e63946;
}

.blog-post-meta {
    font-size: 0.85rem;
    color: #6b6b6b;
    margin-bottom: 1rem;
    font-family: 'Exo 2', sans-serif;
}

.blog-post-meta span {
    color: #e63946;
}

.blog-post-card .excerpt,
.blog-post-card .excerpt p {
    color: #555555;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.blog-post-card .read-more {
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    color: #e63946;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.blog-post-card .read-more:hover {
    gap: 0.75rem;
}

.blog-post-thumbnail {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.25rem;
}

.no-posts {
    color: #6b6b6b;
    text-align: center;
    padding: 4rem 0;
    font-size: 1.2rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination .page-numbers {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    color: #0a0a0a;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    transition: all 0.2s ease;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: #e63946;
    border-color: #e63946;
    color: #ffffff;
}
/* ============================================
   TEXT COLOR FIX FOR BLOG
   ============================================ */
.blog-content-area,
.blog-content-area * {
    color: #333333;
}

.blog-content-area h1 {
    color: #0a0a0a;
}

.blog-content-area h1 .highlight {
    background: linear-gradient(135deg, #ff2d2d 0%, #b91c1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-post-card h2 a {
    color: #0a0a0a !important;
}

.blog-post-card .excerpt,
.blog-post-card .excerpt p {
    color: #555555 !important;
}

.blog-post-meta {
    color: #6b6b6b !important;
}

.blog-post-card .read-more {
    color: #e63946 !important;
}

/* ============================================
   SINGLE POST PAGE STYLES
   ============================================ */
.single-post-area {
    background: #ffffff;
    padding: 120px 2rem 60px;
    position: relative;
    z-index: 1;
    min-height: 80vh;
}

.single-post-area,
.single-post-area * {
    color: #333333;
}

.single-post-inner {
    max-width: 800px;
    margin: 0 auto;
}

.single-post-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #0a0a0a !important;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.single-post-meta {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.9rem;
    color: #6b6b6b !important;
    margin-bottom: 2rem;
}

.single-post-meta span {
    color: #e63946 !important;
}

.single-post-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2.5rem;
}

.single-post-content {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    line-height: 1.9;
    color: #333333 !important;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
    font-family: 'Exo 2', sans-serif;
    color: #0a0a0a !important;
    margin: 2rem 0 1rem;
    font-weight: 700;
}

.single-post-content h2 { font-size: 1.6rem; }
.single-post-content h3 { font-size: 1.3rem; }
.single-post-content h4 { font-size: 1.1rem; }

.single-post-content p {
    color: #333333 !important;
    margin-bottom: 1.25rem;
}

.single-post-content a {
    color: #e63946 !important;
    text-decoration: underline;
}

.single-post-content a:hover {
    color: #b91c1c !important;
}

.single-post-content img {
    border-radius: 8px;
    margin: 1.5rem 0;
}

.single-post-content ul,
.single-post-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
    list-style: disc;
}

.single-post-content ol {
    list-style: decimal;
}

.single-post-content li {
    margin-bottom: 0.5rem;
    color: #333333 !important;
}

.single-post-content blockquote {
    border-left: 4px solid #e63946;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: #f9f9f9;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.single-post-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
}

.post-nav-link {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #e63946 !important;
    transition: all 0.2s ease;
    max-width: 45%;
}

.post-nav-link:hover {
    color: #b91c1c !important;
}

.back-to-blog {
    text-align: center;
    margin-top: 2rem;
}

.btn-back {
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    color: #ffffff !important;
    background: linear-gradient(135deg, #ff2d2d 0%, #b91c1c 100%);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    display: inline-block;
    transition: all 0.2s ease;
    box-shadow: 0 0 30px rgba(230, 57, 70, 0.3);
}

.btn-back:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 60px rgba(230, 57, 70, 0.5);
}

@media (max-width: 768px) {
    .single-post-nav {
        flex-direction: column;
    }
    .post-nav-link {
        max-width: 100%;
    }
}

/* ============================================
   BODY OVERRIDE FOR BLOG PAGES
   ============================================ */
body.single,
body.single-post,
body.blog,
body.archive {
    background: #ffffff !important;
    color: #333333 !important;
}