/*
Theme Name: Consuly.ai
Theme URI: https://consuly.ai
Author: Consuly Team
Author URI: https://consuly.ai
Description: Enterprise AI & Data Solutions WordPress Theme
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: consuly
Domain Path: /languages
Tags: custom-theme, ai, enterprise, responsive
*/

/* ========================================
   CSS VARIABLES & BASE STYLES
   ======================================== */

:root {
    --bg-paper: #F9F8F4;
    --bg-subtle: #F0EFE9;
    --ink-black: #121212;
    --charcoal: #4A4A4A;
    --muted-taupe: #A69B8F;
    --light-gray: #D4D4D4;
    --border-subtle: #E5E3DD;
    --serif-display: 'Playfair Display', Georgia, serif;
    --serif-body: 'Merriweather', Georgia, serif;
    --sans-ui: 'Inter', -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--serif-body);
    background-color: var(--bg-paper);
    color: var(--ink-black);
    line-height: 1.7;
    font-size: 18px;
    overflow-x: hidden;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4 {
    font-family: var(--serif-display);
    font-weight: 500;
    line-height: 1.2;
    color: var(--ink-black);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

p {
    margin-bottom: 1.5rem;
}

.subtitle {
    font-family: var(--serif-body);
    font-size: 1.125rem;
    color: var(--charcoal);
    font-style: italic;
}

.sans-label {
    font-family: var(--sans-ui);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted-taupe);
    font-weight: 500;
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.divider {
    width: 100%;
    height: 1px;
    background: var(--light-gray);
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
}

.section-label {
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 1px;
    background: var(--ink-black);
    vertical-align: middle;
    margin-right: 1rem;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(0.5);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   WORDPRESS SPECIFIC
   ======================================== */

.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;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */

@media (max-width: 1024px) {
    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .section {
        padding: 3rem 0;
    }
}
