/*
Theme Name: RedComp
Theme URI: https://redcomp.pl
Author: RedComp
Author URI: https://redcomp.pl
Description: Nowoczesny szablon WordPress dla firmy IT / serwisu komputerowego RedComp. Ciemny motyw z neonowymi akcentami, animacjami i glassmorphism.
Version: 1.5.37
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: redcomp
Tags: dark, modern, it-company, one-page, custom-colors, custom-logo, featured-images, threaded-comments, translation-ready
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
*/

/* ============================================
   DESIGN SYSTEM — CSS Custom Properties
   ============================================ */
:root {
    /* Colors */
    --rc-primary: #0a0f1e;
    --rc-primary-light: #0f1629;
    --rc-primary-lighter: #151d35;
    --rc-accent: #00b4ff;
    --rc-accent2: #0066ff;
    --rc-accent-rgb: 0, 180, 255;
    --rc-accent2-rgb: 0, 102, 255;
    --rc-glow: rgba(0, 180, 255, 0.4);
    --rc-text: #e8f4ff;
    --rc-text-rgb: 232, 244, 255;
    --rc-muted: rgba(232, 244, 255, 0.5);
    --rc-muted-strong: rgba(232, 244, 255, 0.7);
    --rc-border: rgba(0, 180, 255, 0.15);
    --rc-glass-bg: rgba(255, 255, 255, 0.03);
    --rc-glass-bg-hover: rgba(255, 255, 255, 0.06);
    --rc-card-bg: rgba(255, 255, 255, 0.04);
    --rc-success: #00e676;
    --rc-warning: #ffab00;
    --rc-danger: #ff5252;

    /* Typography */
    --rc-font: 'Outfit', sans-serif;
    --rc-fs-xs: 0.75rem;
    --rc-fs-sm: 0.875rem;
    --rc-fs-base: 1rem;
    --rc-fs-md: 1.125rem;
    --rc-fs-lg: 1.25rem;
    --rc-fs-xl: 1.5rem;
    --rc-fs-2xl: 2rem;
    --rc-fs-3xl: 2.5rem;
    --rc-fs-4xl: 3.5rem;
    --rc-fs-5xl: 4.5rem;

    /* Spacing */
    --rc-section-py: 100px;
    --rc-container-max: 1200px;
    --rc-container-px: 20px;

    /* Borders */
    --rc-radius-sm: 8px;
    --rc-radius-md: 12px;
    --rc-radius-lg: 16px;
    --rc-radius-xl: 24px;
    --rc-radius-full: 50px;

    /* Transitions */
    --rc-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --rc-transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --rc-shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
    --rc-shadow-md: 0 8px 40px rgba(0, 0, 0, 0.4);
    --rc-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --rc-shadow-glow: 0 0 30px rgba(0, 180, 255, 0.2);
}

/* ============================================
   RESET
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--rc-primary);
    color: var(--rc-text);
    font-family: var(--rc-font);
    font-size: var(--rc-fs-base);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a:hover {
    color: #fff;
}

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--rc-text);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.rc-container {
    max-width: var(--rc-container-max);
    margin: 0 auto;
    padding: 0 var(--rc-container-px);
    width: 100%;
}

.rc-section {
    padding: var(--rc-section-py) 0;
    position: relative;
}

.rc-section-title {
    text-align: center;
    margin-bottom: 60px;
}

.rc-section-title .rc-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(var(--rc-accent-rgb), 0.1);
    border: 1px solid rgba(var(--rc-accent-rgb), 0.3);
    padding: 6px 18px;
    border-radius: var(--rc-radius-full);
    font-size: var(--rc-fs-xs);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rc-accent);
    margin-bottom: 16px;
}

.rc-section-title h2 {
    font-size: clamp(var(--rc-fs-2xl), 5vw, var(--rc-fs-4xl));
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.rc-section-title h2 span {
    background: linear-gradient(135deg, var(--rc-accent), var(--rc-accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rc-section-title p {
    color: var(--rc-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: var(--rc-fs-md);
}

.rc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--rc-radius-full);
    font-family: var(--rc-font);
    font-size: var(--rc-fs-sm);
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: var(--rc-transition);
    text-transform: uppercase;
}

.rc-btn-primary {
    background: linear-gradient(135deg, var(--rc-accent), var(--rc-accent2));
    color: #fff;
    box-shadow: 0 4px 20px rgba(var(--rc-accent-rgb), 0.3);
}

.rc-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--rc-accent-rgb), 0.5);
    color: #fff;
}

.rc-btn-outline {
    background: transparent;
    color: var(--rc-accent);
    border: 1px solid rgba(var(--rc-accent-rgb), 0.4);
}

.rc-btn-outline:hover {
    background: rgba(var(--rc-accent-rgb), 0.1);
    border-color: var(--rc-accent);
    color: #fff;
    transform: translateY(-2px);
}

/* Screen reader text */
.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: var(--rc-primary-light);
    clip: auto !important;
    clip-path: none;
    color: var(--rc-accent);
    display: block;
    font-size: var(--rc-fs-sm);
    font-weight: 600;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
