/*
Theme Name: Alpha EXA
Description: Modern Gutenberg block theme for AI agencies with full-site editing support. Features custom blocks, theme.json configuration, and responsive design optimized for professional AI consulting services.
Author: Alpha EXA
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alpha-exa
Tags: block-theme, full-site-editing, ai, business, consulting, one-column, custom-logo, custom-menu, editor-style, featured-images, threaded-comments, translation-ready, wide-blocks
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Import modular stylesheets */
@import url('assets/css/base.css');
@import url('assets/css/blocks.css');
@import url('assets/css/components.css');
@import url('assets/css/layout.css');

/* Main theme styles - Base foundation */
:root {
    /* Core Brand Colors - HSL format for better control */
    --wp--preset--color--base: #ffffff;
    --wp--preset--color--contrast: #0f172a;
    
    /* Primary Brand - Electric Blue */
    --wp--preset--color--primary: #2563eb;
    --wp--preset--color--primary-light: #60a5fa;
    --wp--preset--color--primary-dark: #1d4ed8;
    
    /* Secondary - Tech Purple */
    --wp--preset--color--secondary: #4c1d95;
    --wp--preset--color--secondary-light: #7c3aed;
    
    /* Accent - Vibrant Cyan */
    --wp--preset--color--accent: #0891b2;
    
    /* Neutral Grays */
    --wp--preset--color--muted: #f1f5f9;
    --wp--preset--color--muted-foreground: #64748b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--wp--preset--color--primary), var(--wp--preset--color--accent));
    --gradient-secondary: linear-gradient(135deg, var(--wp--preset--color--secondary), var(--wp--preset--color--primary));
    --gradient-hero: linear-gradient(135deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--secondary) 100%);
    
    /* Shadows */
    --shadow-primary: 0 10px 30px -10px rgba(37, 99, 235, 0.3);
    --shadow-secondary: 0 20px 60px -15px rgba(76, 29, 149, 0.4);
    --shadow-soft: 0 4px 20px -2px rgba(100, 116, 139, 0.1);
    
    /* Animations */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Typography */
    --wp--preset--font-family--inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --wp--preset--spacing--xs: 0.5rem;
    --wp--preset--spacing--sm: 1rem;
    --wp--preset--spacing--md: 1.5rem;
    --wp--preset--spacing--lg: 2rem;
    --wp--preset--spacing--xl: 3rem;
    --wp--preset--spacing--2xl: 4rem;
    --wp--preset--spacing--3xl: 6rem;
}

/* Base styles */
body {
    font-family: var(--wp--preset--font-family--inter);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Links */
a {
    transition: var(--transition-smooth);
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--wp--preset--color--primary);
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 1rem;
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base);
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    text-decoration: none;
    z-index: 100000;
    transition: var(--transition-smooth);
}

.skip-link:focus {
    top: 1rem;
}

/* Screen reader text */
.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px !important;
    height: 1px !important;
    overflow: hidden;
}

/* Utility classes */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-gradient {
    background: var(--gradient-hero);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* WordPress alignment classes */
.alignwide {
    margin-left: auto;
    margin-right: auto;
    clear: both;
}

.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    clear: both;
}

@media (min-width: 768px) {
    .alignwide {
        width: var(--wp--style--global--wide-size);
        max-width: 100%;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    :root {
        --wp--preset--spacing--3xl: 3rem;
        --wp--preset--spacing--2xl: 2rem;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}