/*
Theme Name: NextGen Financial Analytics
Theme URI: https://ngfa.eu
Author: NextGen Financial Analytics
Author URI: https://ngfa.eu
Description: Professional WordPress theme for NextGen Financial Analytics - Bridging Market Intelligence Through Deep Operational Expertise
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nextgen-fa
*/

/* CSS Variables */
:root {
    --primary-blue: #003366;
    --accent-teal: #008080;
    --silver-gray: #C0C0C0;
    --dark-gray: #333333;
    --pure-black: #000000;
}

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow-x: hidden;
}

.futuristic-font {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-brand {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero-bg {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 128, 128, 0.6)), url('resources/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Cards */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 51, 102, 0.15);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    transition: all 0.3s ease;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 51, 102, 0.3);
    color: white;
    text-decoration: none;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

/* Calculator Cards */
.calculator-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 128, 128, 0.2);
}

/* Progress Bars */
.progress-bar {
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-teal));
    height: 6px;
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0;
}

/* WordPress Specific */
.wp-block-image img {
    height: auto;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll;
        padding: 2rem 0;
    }
    
    .navbar {
        position: relative;
    }
    
    .hero-bg {
        min-height: auto;
        padding: 4rem 0;
    }
}

/* Accessibility */
:focus {
    outline: 2px solid var(--accent-teal);
    outline-offset: 2px;
}

/* Custom Post Types */
.resource-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 51, 102, 0.1);
}

.case-study-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 128, 128, 0.2);
}

/* Timeline */
.timeline-item {
    position: relative;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    border-radius: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 0.375rem;
    top: 1.5rem;
    width: 2px;
    height: calc(100% - 1rem);
    background: linear-gradient(180deg, var(--accent-teal), transparent);
}

.timeline-item:last-child::after {
    display: none;
}