/*
Theme Name: Psihopomp
Theme URI: https://www.psihopomp.ro
Author: www.psihopomp.ro
Author URI: https://www.psihopomp.ro
Description: O tema moderna WordPress pentru dezvoltare personala, cu un design inspirat de retelele neuronale umane. Design sci-fi cu paleta de culori violet/albastru, perfect pentru site-uri de coaching, mindfulness si transformare personala.
Version: 1.0.0
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: psihopomp
Tags: dark, modern, personal-development, neural, sci-fi, purple, blue, one-column, custom-menu, featured-images, theme-options

Psihopomp - Tema pentru Dezvoltare Personala
Inspira. Transforma. Evolueaza.
*/

/* =====================================================
   CSS Variables - Color Palette
===================================================== */
:root {
    /* Primary Colors - Neural Purple/Blue */
    --primary-dark: #0a0a14;
    --primary-gradient-start: #1a0a2e;
    --primary-gradient-end: #0d1b2a;

    /* Accent Colors */
    --accent-purple: #8b5cf6;
    --accent-purple-light: #a78bfa;
    --accent-purple-glow: rgba(139, 92, 246, 0.5);
    --accent-blue: #3b82f6;
    --accent-blue-light: #60a5fa;
    --accent-cyan: #22d3ee;
    --accent-pink: #ec4899;

    /* Neural Glow Colors */
    --neural-glow-1: rgba(139, 92, 246, 0.3);
    --neural-glow-2: rgba(59, 130, 246, 0.3);
    --neural-glow-3: rgba(34, 211, 238, 0.2);

    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    /* Background Colors */
    --bg-card: rgba(30, 20, 50, 0.6);
    --bg-card-hover: rgba(50, 30, 80, 0.8);
    --bg-overlay: rgba(10, 10, 20, 0.9);

    /* Borders */
    --border-glow: rgba(139, 92, 246, 0.3);
    --border-subtle: rgba(255, 255, 255, 0.1);

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

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--primary-gradient-start) 0%, var(--primary-gradient-end) 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Neural Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(ellipse at 20% 30%, var(--neural-glow-1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, var(--neural-glow-2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, var(--neural-glow-3) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

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

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

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

/* =====================================================
   Typography
===================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-purple-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

/* =====================================================
   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-overlay);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-medium);
}

.site-header.scrolled {
    background: rgba(10, 10, 20, 0.98);
    box-shadow: 0 4px 30px rgba(139, 92, 246, 0.1);
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px var(--accent-purple-glow);
}

.logo-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.main-nav a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

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

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

.main-nav a:hover {
    color: var(--text-primary);
}

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

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* =====================================================
   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.4;
    filter: saturate(1.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 20, 0.7) 0%,
        rgba(26, 10, 46, 0.8) 50%,
        rgba(10, 10, 20, 0.95) 100%
    );
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    color: var(--accent-purple-light);
    margin-bottom: 2rem;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px var(--neural-glow-1); }
    50% { box-shadow: 0 0 40px var(--neural-glow-1), 0 0 60px var(--neural-glow-2); }
}

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

.hero-title .highlight {
    display: block;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-cyan) 50%, var(--accent-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 5s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-medium);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
    color: white;
    box-shadow: 0 4px 30px var(--accent-purple-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px var(--accent-purple-glow);
    color: white;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--border-glow);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--accent-purple);
    color: var(--accent-purple-light);
}

/* Floating Neural Particles */
.neural-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-purple);
    border-radius: 50%;
    opacity: 0.6;
    animation: float-particle 15s infinite linear;
    box-shadow: 0 0 10px var(--accent-purple-glow);
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* =====================================================
   Features Section
===================================================== */
.features-section {
    background: linear-gradient(180deg, transparent 0%, rgba(26, 10, 46, 0.3) 50%, transparent 100%);
}

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

.section-subtitle {
    display: inline-block;
    color: var(--accent-purple-light);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 2.5rem;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--neural-glow-1) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-glow);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.feature-icon svg {
    width: 35px;
    height: 35px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}

.feature-card h3 {
    position: relative;
    z-index: 1;
}

.feature-card p {
    position: relative;
    z-index: 1;
    color: var(--text-muted);
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-purple-light);
    font-weight: 600;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

.feature-link:hover {
    color: var(--accent-cyan);
    gap: 0.75rem;
}

/* =====================================================
   Services Grid (Oracle-style like 528.ro)
===================================================== */
.services-section {
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-medium);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-purple);
    transform: scale(1.05);
    box-shadow: 0 0 40px var(--neural-glow-1);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.service-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

/* =====================================================
   Quote/Testimonial Section
===================================================== */
.quote-section {
    text-align: center;
    padding: 120px 0;
    position: relative;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--neural-glow-1) 0%, transparent 70%);
    pointer-events: none;
}

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

.quote-mark {
    font-size: 6rem;
    color: var(--accent-purple);
    opacity: 0.3;
    line-height: 1;
}

blockquote {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.5;
    margin: 1rem 0 2rem;
}

.quote-author {
    color: var(--accent-purple-light);
    font-weight: 600;
}

/* =====================================================
   Neural Image Section
===================================================== */
.neural-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.neural-image {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/10;
}

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

.neural-image:hover img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.neural-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 20, 0.8) 100%);
}

/* =====================================================
   CTA Section
===================================================== */
.cta-section {
    text-align: center;
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.1) 50%, transparent 100%);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

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

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

/* =====================================================
   Footer
===================================================== */
.site-footer {
    background: var(--primary-dark);
    border-top: 1px solid var(--border-subtle);
    padding: 60px 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.75rem;
    margin-bottom: 1rem;
}

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

.footer-links h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    -webkit-text-fill-color: var(--text-primary);
}

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

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

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

.footer-links a:hover {
    color: var(--accent-purple-light);
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

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

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

.social-link:hover svg {
    fill: white;
}

.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;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* =====================================================
   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;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

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

    .neural-showcase {
        grid-template-columns: 1fr;
    }
}

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

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-overlay);
        backdrop-filter: blur(20px);
        padding: 2rem;
        transform: translateX(-100%);
        transition: var(--transition-medium);
    }

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

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

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

    .btn {
        justify-content: center;
    }

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

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

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

    .header-inner {
        padding: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

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

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

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

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

.alignleft {
    float: left;
    margin-right: 1.5rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
}

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

/* Page Templates */
.page-header {
    padding: 150px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--primary-gradient-start) 0%, transparent 100%);
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 2rem;
}

/* Blog/Post Styles */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-medium);
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15);
}

.post-thumbnail {
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.post-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.post-card h3 a {
    color: var(--text-primary);
    -webkit-text-fill-color: var(--text-primary);
}

.post-card h3 a:hover {
    color: var(--accent-purple-light);
    -webkit-text-fill-color: var(--accent-purple-light);
}

.post-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
}
