/*
Theme Name: Fasilytics Theme
Theme URI: https://fasilytics.fr
Description: A premium custom theme for Fasilytics, designed for analytics professionals.
Author: Antigravity
Author URI: https://google.com
Version: 1.0
Text Domain: fasilytics
*/

/* =========================================
   Fasilytics Design System
   ========================================= */

:root {
    /* Color Palette */
    --bg-dark: #0a0a0c;
    --bg-card: #141419;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-primary: #f97316;
    --accent-gradient: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    --accent-glow: rgba(249, 115, 22, 0.5);

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* UI Elements */
    --radius-sm: 8px;
    --radius-md: 16px;
    --transition: all 0.3s ease;
}

/* Reset & Basics */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* WordPress Core Alignments */
.aligncenter {
    display: block;
    margin: 0 auto;
}

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

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

/* =========================================
   Navigation
   ========================================= */
.navbar {
    padding: var(--spacing-md) 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.dot {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

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

.btn-primary {
    background: var(--accent-gradient);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: inline-block;
}

.btn-primary:hover {
    box-shadow: 0 4px 20px var(--accent-glow);
    transform: translateY(-2px);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--spacing-xl);
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

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

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
}

.btn-secondary {
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.hero-background-elements {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.data-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-gradient);
    opacity: 0.1;
    filter: blur(80px);
}

.c1 {
    width: 400px;
    height: 400px;
    top: 10%;
    right: -10%;
}

.c2 {
    width: 300px;
    height: 300px;
    bottom: 20%;
    left: -5%;
}

/* =========================================
   Components (Shared)
   ========================================= */
.section-label {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
}

.companies {
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    opacity: 0.5;
}

.logo-item {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Posts / Projects */
.project-grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
}

.project-card,
.blog-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.project-card:hover,
.blog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
}

.card-image {
    height: 200px;
    width: 100%;
    background: #2a2a35;
    object-fit: cover;
}

.card-content {
    padding: var(--spacing-md);
}

.card-content h3,
.blog-card h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: var(--spacing-sm) 0;
}

.card-content p,
.blog-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.read-more {
    color: var(--accent-primary);
    font-weight: 600;
}


/* =========================================
   Contact
   ========================================= */
.contact {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 2px solid var(--accent-primary);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: var(--accent-gradient);
    box-shadow: 0 0 20px var(--accent-glow);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.contact-form {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.25) 0%, rgba(20, 20, 25, 0.9) 100%);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 2px solid rgba(249, 115, 22, 0.5);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.3);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
}

.full-width {
    width: 100%;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

/* =========================================
   Footer
   ========================================= */
footer {
    padding: var(--spacing-md) 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

/* =========================================
   Internal Pages
   ========================================= */
.page-header {
    padding-top: 150px;
    padding-bottom: 50px;
    background: var(--bg-dark);
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--text-primary);
}

.content-area {
    padding: var(--spacing-lg) 0;
    min-height: 60vh;
}

.entry-content {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.entry-content h2,
.entry-content h3 {
    color: var(--text-primary);
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    /* Mobile menu simplified/hidden for V1 */
}

/* Blog Archive Page */
.blog-archive {
    padding: var(--spacing-lg) 0;
    min-height: 60vh;
}

.blog-card .card-content {
    padding: var(--spacing-md);
}

.blog-card .category {
    display: inline-block;
    color: var(--accent-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.blog-card h3 {
    margin: 0.5rem 0 1rem 0;
}

.blog-card h3 a {
    color: var(--text-primary);
}

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

/* Pagination */
.pagination {
    margin-top: var(--spacing-lg);
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

.pagination a:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.pagination .current {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

/* CTA Box */
.cta-box {
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(20, 20, 25, 0.95) 100%);
    border-radius: var(--radius-md);
    border: 2px solid rgba(249, 115, 22, 0.4);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-box h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: var(--spacing-md);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: var(--spacing-md);
}

.cta-btn {
    padding: 0.8rem 1.5rem;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

.cta-btn:hover {
    background: var(--accent-gradient);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.cta-location {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: var(--spacing-md);
}