/*
Theme Name: Apex Fitness Premium
Theme URI: https://example.com/apex-fitness
Description: A premium, fully-responsive WordPress theme for gym and fitness centers. Built with Three.js, GSAP, Locomotive Scroll, Lottie, Typed.js, and Barba.js for a unique, kinetic Concept 5 aesthetic.
Author: Antigravity AI
Author URI: https://example.com
Version: 2.0.0
Text Domain: apex-fitness
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ============================================
   CSS VARIABLES / DESIGN TOKENS
============================================ */
:root {
    --bg-primary: #0d0d0d;
    --bg-secondary: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.04);
    --text-primary: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.45);
    --accent: #ccff00;
    --accent-dim: rgba(204, 255, 0, 0.1);
    --border-subtle: rgba(255, 255, 255, 0.07);
    --font: 'Outfit', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: all 0.55s var(--ease);
    --max-w: 1280px;
    --gutter: clamp(20px, 4vw, 48px);
    --radius: 12px;
}

/* ============================================
   BASE RESET
============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* Locomotive Scroll handles scroll behavior */
    overflow: hidden;
    height: 100%;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    height: 100%;
    /* Hide native cursor replaced by custom */
    cursor: none;
}

/* Show native cursor on touch/no-hover devices */
@media (hover: none),
(pointer: coarse) {
    body {
        cursor: auto;
    }

    .apex-cursor,
    .apex-cursor-dot {
        display: none !important;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img,
video,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: var(--font);
}

/* Skip to main content — accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--accent);
    color: #000;
    padding: 8px 16px;
    font-weight: 700;
    z-index: 10000;
    border-radius: 0 0 var(--radius) var(--radius);
}

.skip-link:focus {
    top: 0;
}