/* css/base.css */

/* Importujemy fonty: Roboto (główny) i Lato (pomocniczy/alternatywny) */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    /* --- KOLORYSTYKA (BRANDING) --- */
    /* Główny czerwony (zastępuje #ff4d4d, #e53935) */
    --color-primary: #e53935;
    --color-primary-hover: #c62828;
    
    /* Główny niebieski (akcje, linki, info - zastępuje #007bff) */
    --color-secondary: #007bff;
    --color-secondary-hover: #0056b3;
    
    /* Kolory tła */
    --bg-body: #f8f9fa;      /* Jasnoszary, łagodny dla oka */
    --bg-white: #ffffff;
    --bg-light-gray: #f0f0f0;
    
    /* Kolory tekstu */
    --text-main: #333333;    /* Główny tekst */
    --text-muted: #666666;   /* Opisy, podtytuły */
    --text-light: #aaaaaa;   /* Placeholder, mało ważne info */

    /* Kolory systemowe */
    --color-success: #28a745;
    --color-error: #dc3545;
    --color-warning: #ffc107;

    /* --- UI & WYMIARY --- */
    --header-height: 80px;
    --container-width: 1200px;
    --border-radius: 6px;
    
    /* Cienie (Unified Shadows) */
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.12); /* Hover effect */
    
    /* Obramowania */
    --border-color: #e9ecef;
}

/* --- RESET & GLOBALNE STYLE --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16px;
    /* Kluczowe dla fixed header: */
    padding-top: var(--header-height);
    /* Zapobieganie przesuwaniu layoutu przy pojawianiu się scrollbara: */
    overflow-y: scroll; 
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Klasy pomocnicze (Utility Classes) używane przez JS */
.hidden {
    display: none !important;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }