/**
 * Base CSS - Variables, Reset, Typography
 * @package SportBreak
 */

/* CSS Variables */
:root {
    /* Colors */
    --dark: #212121;
    --yellow: #F3C21F;
    --purple: #313155;
    --light-bg: #f8f8f8;
    --white: #ffffff;
    --text-main: #212121;
    --text-muted: #555555;

    /* Borders & Shadows */
    --border-light: rgba(0, 0, 0, 0.05);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-strong: 0 15px 40px rgba(0, 0, 0, 0.12);

    /* Layout */
    --container-width: 1200px;
    --header-height: 72px;
    --header-height-mobile: 64px;

    /* Spacing */
    --section-padding: 100px;
    --section-padding-mobile: 60px;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Fallback when Lenis is not loaded; overridden by .lenis-smooth */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main);
}

h1 {
    font-size: 72px;
    font-weight: 900;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--purple);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--yellow);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* Selection */
::selection {
    background-color: var(--yellow);
    color: var(--dark);
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
