/*
Theme Name: IT Consult Minimal
Theme URI: https://www.it-consult.me
Author: Antigravity AI
Author URI: https://google.com
Description: A custom, luxury-minimalist Apple-style WordPress theme built specifically for IT Consulting CT. Features Dark/Light Mode.
Version: 1.1.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: it-consult-minimal
Tags: custom-background, custom-logo, custom-menu, featured-images, translation-ready
*/

/* 
=========================================
CSS Reset & Base Variables (Apple-Style)
=========================================
*/
:root {
    /* Colors */
    --color-bg: #050505;
    --color-text: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.6);
    --color-accent: #0071e3; /* Classic Apple Blue */
    --color-accent-hover: #0077ed;
    --color-surface: rgba(255, 255, 255, 0.03);
    --color-surface-hover: rgba(255, 255, 255, 0.08);
    --color-border: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    --space-xxl: 12rem;
    
    /* Effects */
    --glass-bg: rgba(5, 5, 5, 0.85); /* Increased opacity for readability */
    --glass-blur: blur(20px);
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
}

/* Light Theme Overrides */
body.light-theme {
    /* Colors */
    --color-bg: #f5f5f7; /* Apple Light Gray Background */
    --color-text: #1d1d1f; /* Apple Dark Text */
    --color-text-muted: rgba(29, 29, 31, 0.6);
    --color-surface: rgba(0, 0, 0, 0.03);
    --color-surface-hover: rgba(0, 0, 0, 0.08);
    --color-border: rgba(0, 0, 0, 0.1);
    
    /* Effects */
    --glass-bg: rgba(245, 245, 247, 0.85); /* Increased opacity for readability */
}

/* Specific elements needing absolute colors inverted in light theme */
body.light-theme h1 {
    background: linear-gradient(180deg, #1d1d1f 0%, rgba(29, 29, 31, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .hero-bg {
    background: radial-gradient(circle, rgba(0, 113, 227, 0.15) 0%, rgba(245, 245, 247, 0) 70%);
}

body.light-theme .service-number {
    color: rgba(0, 0, 0, 0.05); /* Darker number watermark in light mode */
}

body.light-theme .form-control {
    background: rgba(255, 255, 255, 0.5);
}

body.light-theme .form-control:focus {
    background: rgba(255, 255, 255, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

p {
    margin-bottom: var(--space-md);
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    max-width: 65ch;
}

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

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-padding {
    padding: var(--space-xxl) 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: var(--space-xl) 0;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-text);
    color: var(--color-bg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

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

.btn-secondary:hover {
    background-color: var(--color-surface);
    border-color: var(--color-text-muted);
}

/* Animations (Intersection Observer Base) */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
