/*
Theme Name: SUPERDENT
Theme URI: https://superdent.cz
Description: Dentální klinika SUPERDENT — child theme nad Paladius starter theme. Vlastní design a obsah na míru, veřejná struktura (theme supports, security headers) dědí z parent theme.
Author: Paladius
Version: 1.0
Template: paladius-starter-theme-main
License: GNU General Public License v2 or later
Text Domain: superdent
*/

/* ==========================================================================
   CSS PROMĚNNÉ
   ========================================================================== */
:root {
    /* Barvy */
    --color-primary:     #1e1e1e;   /* hlavní tmavý text / nadpisy */
    --color-accent:      #11a094;   /* jasný tyrkys — CTA, čísla, ikony */
    --color-accent-dark: #1a5f58;   /* tmavší tyrkys — zvýrazněná slova v nadpisech */
    --color-text:        #848484;   /* běžný text odstavců */
    --color-bg:          #ffffff;
    --color-bg-light:    #f3f2ee;   /* světlé pozadí — patička, karty */
    --color-dark:        #1d2625;   /* tmavé plochy, gradient dole */
    --color-border:      #e5e3dd;

    /* Gradient (statistiky, CTA banner) */
    --gradient-accent: linear-gradient(135deg, #0aa094 0%, #1d2625 100%);

    /* Typografie */
    --font-heading: 'Urbanist', sans-serif;
    --font-primary: 'Urbanist', sans-serif;

    /* Layout */
    --max-width: clamp(1200px, 80vw, 1500px);
    --container-padding: clamp(20px, 4vw, 40px);

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 96px;

    /* Ostatní */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-pill: 999px;
    --transition-base: 0.3s ease;
}

/* ==========================================================================
   RESET
   Parent theme (Paladius) má svůj vlastní reset v style.css, ale ten se
   u child tématu nenačítá (get_stylesheet_uri() vrací TOHLE style.css,
   ne parentí). Proto reset držíme kompletní i tady.
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body, h1, h2, h3, h4, p, figure, ul, ol {
    margin: 0;
}

ul, ol {
    padding: 0;
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 500;
    line-height: 1.15;
}

.accent {
    color: var(--color-accent-dark);
}

/* Zamezí scrollování stránky na pozadí, když je otevřené modální okno
   (např. new-patients-modal). */
body.no-scroll {
    overflow: hidden;
}