/*
Theme Name: Zurek Theme
Author: Ewelina Puz
Version: 1.0
Description: Mój pierwszy motyw WordPress
*/

/* =========================
   ARCHITEKTURALNA PRECYZJA — GLOBAL CSS
   ========================= */

/* ===== ROOT TOKENS ===== */
:root {
    /* COLORS */
    --color-primary: #000000;
    --color-primary-fixed: #5e5e5e;
    --color-primary-container: #3b3b3b;

    --color-secondary: #5f5e5e;

    --color-surface: #ffffff;
    --color-surface-container-lowest: #ffffff;
    --color-surface-container-low: #f3f3f3;
    --color-surface-container: #e9e9e9;
    --color-surface-container-high: #dddddd;
    --color-surface-container-highest: #d1d1d1;

    --color-on-surface: #1b1b1b;
    --color-on-primary: #e2e2e2;

    --color-outline: #777777;
    --color-outline-variant: #777777;

    --color-error: #ba1a1a;

    /* TYPOGRAPHY */
    --font-display: "Manrope", sans-serif;
    --font-body: "Inter", sans-serif;

    /* SPACING */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 32px;
    --space-lg: 48px;
    --space-xl: 80px;

    /* RADIUS (STRICT) */
    --radius-none: 0px;

    /* SHADOW (AMBIENT ONLY) */
    --shadow-ambient: 0 0 64px rgba(27, 27, 27, 0.04);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    border-radius: 0 !important;
}

body {
    margin: 0;
    font-family: var(--font-display);
    background: var(--color-surface);
    color: var(--color-on-surface);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
}

html,
body {
    min-height: 100vh;
}

main {
    flex: 1;
}

/* ===== TYPOGRAPHY ===== */

.display-lg {
    font-family: var(--font-display);
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.headline-lg {
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1.2;
}

.label-sm {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ===== LAYOUT ===== */

.section {
    padding: var(--space-sm) var(--space-sm);
}

.surface {
    background: var(--color-surface);
}

.surface-low {
    background: var(--color-surface-container-low);
}

.surface-high {
    background: var(--color-surface-container-high);
}

/* ===== BUTTONS ===== */

.button {
    font-family: var(--font-body);
    padding: 16px 32px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* PRIMARY */
.button-primary {
    background: linear-gradient(to right,
            var(--color-primary),
            var(--color-primary-container));
    color: var(--color-on-primary);
}

.button-primary:hover {
    background: var(--color-primary-fixed);
}

/* SECONDARY (GHOST) */
.button-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid rgba(119, 119, 119, 0.15);
}

/* ===== INPUTS ===== */

.input {
    width: 100%;
    padding: var(--space-sm);
    border: none;
    border-bottom: 1px solid var(--color-outline);
    background: var(--color-surface-container-low);
    font-family: var(--font-body);
    color: var(--color-on-surface);
}

.input:focus {
    outline: none;
    border-bottom: 1px solid var(--color-primary);
}

.input.error {
    border-bottom: 1px solid var(--color-error);
}

/* ===== CARDS ===== */

.card {
    background: var(--color-surface-container-lowest);
    padding: var(--space-md);
}

.card-image {
    width: 100%;
    display: block;
    margin: 0;
}

/* ===== LISTS ===== */

.list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

/* ===== PROCEDURE TIMELINE ===== */

.timeline {
    position: relative;
    padding-left: 24px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background: rgba(119, 119, 119, 0.3);
}

.timeline-step {
    position: relative;
    padding-bottom: var(--space-md);
}

.timeline-step.active::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 0;
    width: 1px;
    height: 100%;
    background: var(--color-primary);
}

/* ===== BEFORE / AFTER SLIDER ===== */

.before-after {
    position: relative;
    overflow: hidden;
}

.before-after-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--color-primary);
    cursor: ew-resize;
}

/* ===== GLASS EFFECT ===== */

.glass {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
}

/* ===== SHADOW (RARE USE) ===== */

.elevated {
    box-shadow: var(--shadow-ambient);
}

/* ===== GRID SYSTEM ===== */

.container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-md);
}

.col-2-6 {
    grid-column: 2 / 6;
}

.col-8-12 {
    grid-column: 8 / 12;
}

/* ===== UTILITIES ===== */

.no-border {
    border: none !important;
}

.no-radius {
    border-radius: 0 !important;
}

.high-contrast-text {
    color: var(--color-on-surface);
}

/* ===== STRICT RULE ENFORCEMENT ===== */

/* Remove accidental rounded corners everywhere */
img,
button,
input,
textarea,
div {
    border-radius: 0 !important;
}