/*
Theme Name: Functional Fizjo
Theme URI: https://functionalfizjo.pl
Author: Functional Fizjo
Author URI: https://functionalfizjo.pl
Description: Profesjonalny motyw dla Centrum Fizjoterapii Ortopedycznej Functional Fizjo. Ciemny design, czerwone akcenty, mobile-first.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: functionalfizjo
Tags: dark, physiotherapy, medical, sports, responsive
*/

/* ============================================================
   CSS VARIABLES – Design Tokens
   ============================================================ */
:root {
    --clr-bg:           #111111;
    --clr-bg-alt:       #1a1a1a;
    --clr-bg-card:      #1a1a1a;
    --clr-accent:       #B8956A;
    --clr-accent-hover: #A07850;
    --clr-accent-dark:  #8B6545;
    --clr-white:        #ffffff;
    --clr-gray-light:   #cccccc;
    --clr-gray:         #aaaaaa;
    --clr-gray-dark:    #444444;
    --clr-border:       #2a2a2a;

    --font-heading:     'Montserrat', sans-serif;
    --font-body:        'Raleway', sans-serif;

    --nav-height:       72px;
    --radius-sm:        2px;
    --radius-md:        4px;

    --transition:       0.3s ease;
    --shadow-card:      0 4px 24px rgba(0,0,0,0.4);
    --shadow-hover:     0 8px 30px rgba(184,149,106,0.15);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--clr-bg);
    color: #999;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.04em;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--clr-accent);
}

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--clr-white);
    margin-bottom: 0.5rem;
}

.section-title span {
    color: var(--clr-accent);
}

.section-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 3rem;
    max-width: 100%;
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section-pad {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section-header {
    margin-bottom: 3rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.btn-primary {
    background: transparent;
    color: var(--clr-white);
    border-color: var(--clr-accent);
}

.btn-primary:hover {
    background: var(--clr-accent);
    color: var(--clr-white);
    border-color: var(--clr-accent);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    color: var(--clr-white);
    border-color: var(--clr-white);
}

.btn-outline:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    background: transparent;
}

/* btn-outline-red → teraz używa koloru akcentu */
.btn-outline-red {
    background: transparent;
    color: var(--clr-accent);
    border-color: var(--clr-accent);
}

.btn-outline-red:hover {
    background: var(--clr-accent);
    color: var(--clr-white);
}

.btn-lg {
    padding: 16px 44px;
    font-size: 0.9rem;
}

/* ============================================================
   DIVIDERS & ACCENTS
   ============================================================ */
.accent-line {
    display: block;
    width: 40px;
    height: 2px;
    background: var(--clr-accent);
    margin-bottom: 16px;
}

/* ============================================================
   SKIP LINK (Accessibility)
   ============================================================ */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--clr-accent);
    color: var(--clr-white);
    padding: 0.5rem 1rem;
    z-index: 9999;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 1rem;
}

/* ============================================================
   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;
}
