/*!
Theme Name: Schepers Laser
Description: Ultra-modern WordPress theme for Schepers laser engraving systems. Features cutting-edge design with advanced animations, custom cursor, and responsive layout optimized for industrial technology companies.
Author: Schepers GmbH
Version: 1.0.0
License: GPL v2 or later
Text Domain: schepers-laser
Tags: business, industrial, technology, modern, responsive, custom-menu, translation-ready
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0

SCHEPERS Ultra-Modern Design System
====================================
*/

:root {
    /* Core Brand Colors */
    --schepers-black: #000000;
    --schepers-white: #FFFFFF;
    --schepers-orange: #FF6B35;
    --schepers-teal: #2B4D55;
    --schepers-grey: #636363;
    --schepers-teal-light: #00A8A8;
    --schepers-dark-grey: #0A0A0A;
    --schepers-light-grey: #F0F0F0;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    --gradient-dark: linear-gradient(180deg, #000000 0%, #1A1A1A 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, hsla(15, 100%, 60%, 0.3) 0px, transparent 50%),
                      radial-gradient(at 80% 0%, hsla(180, 100%, 40%, 0.2) 0px, transparent 50%),
                      radial-gradient(at 0% 50%, hsla(355, 100%, 60%, 0.2) 0px, transparent 50%);
    
    /* Typography */
    --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    
    /* Animation Easing */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--schepers-black);
    background-image: 
        radial-gradient(ellipse at top left, rgba(43, 77, 85, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(43, 77, 85, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, rgba(43, 77, 85, 0.03) 0%, transparent 100%);
    color: var(--schepers-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

/* Prevent horizontal scroll */
#page,
.site-main {
    overflow-x: hidden;
    max-width: 100%;
}

/* WordPress Core Alignment Classes */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* 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 !important;
    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-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--schepers-white);
    margin-bottom: var(--space-sm);
}

h1 {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700;
}

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

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

h4 {
    font-size: clamp(1.25rem, 3vw, 2rem);
}

h5 {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
}

h6 {
    font-size: clamp(1rem, 2vw, 1.25rem);
}

p {
    margin-bottom: var(--space-sm);
    font-size: 1.125rem;
    line-height: 1.7;
}

a {
    color: var(--schepers-orange);
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
}

a:hover {
    color: var(--schepers-white);
    text-decoration: underline;
}

/* Buttons */
.btn,
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    background: var(--gradient-primary);
    color: var(--schepers-white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    color: var(--schepers-white);
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--schepers-orange);
    color: var(--schepers-orange);
}

.btn-outline:hover {
    background: var(--schepers-orange);
    color: var(--schepers-white);
}

/* Forms */
input,
textarea,
select {
    width: 100%;
    padding: 1rem;
    margin-bottom: var(--space-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--schepers-white);
    font-family: var(--font-body);
    transition: all 0.3s var(--ease-out);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--schepers-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

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

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

/* WordPress Block Editor Support */
.wp-block {
    max-width: 800px;
}

.wp-block[data-align="wide"] {
    max-width: 1200px;
}

.wp-block[data-align="full"] {
    max-width: none;
}

/* Custom Cursor - Desktop Only */
@media (hover: hover) and (pointer: fine) {
    body.has-custom-cursor {
        cursor: none;
    }
    
    body.has-custom-cursor a,
    body.has-custom-cursor button {
        cursor: none;
    }
    
    .cursor-dot {
        width: 8px;
        height: 8px;
        background: var(--schepers-orange);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 10001;
        transform: translate(-50%, -50%);
        transition: transform 0.1s ease;
    }
    
    .cursor-outline {
        width: 30px;
        height: 30px;
        border: 2px solid var(--schepers-orange);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 10000;
        transform: translate(-50%, -50%);
        transition: all 0.15s var(--ease-out);
        opacity: 0.5;
    }
    
    .cursor-outline.hover {
        width: 50px;
        height: 50px;
        opacity: 0.3;
    }
}

/* Hide cursor on mobile */
@media (hover: none) {
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
}

/* Utility Classes */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }