/*
Theme Name: Stroi.Academy
Theme URI: https://academy.asuperstition.com
Author: Stroi.Academy Team
Description: Interactive WordPress theme with 1:1 demo implementations from Codrops/Tympanus
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stroi-academy
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
    /* Colors */
    --color-primary: #F5A623;
    --color-primary-dark: #E09612;
    --color-secondary: #1A1A1A;
    --color-text: #1A1A1A;
    --color-text-light: #666666;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F8F8F8;

    /* Typography */
    --font-primary: 'Fira Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --page-padding: 1.5rem;

    /* Transitions */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

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

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

/* Lenis smooth scroll */
html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

/* ==========================================================================
   Typography
   ========================================================================== */

a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   Site Header
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--page-padding);
    pointer-events: none;
}

.site-header a,
.site-header button {
    pointer-events: auto;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1rem;
    font-weight: 600;
}

.primary-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.primary-nav a {
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.primary-nav a:hover {
    color: var(--color-primary);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-primary);
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn--primary {
    background: var(--color-primary);
    color: #fff;
}

.btn--primary:hover {
    background: var(--color-primary-dark);
}
