@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700&display=swap');

/*
 * RenoClean — Design System
 * Centrální definice designových tokenů pro celý web.
 * Všechny hodnoty jsou odvozeny z existujícího theme.css (bixol/Poppins).
 * Nové stránky a komponenty by měly používat tyto proměnné.
 */

/* =========================================================
   1. DESIGN TOKENS — CSS Custom Properties
   ========================================================= */

:root {

    /* --- Barvy: Značka --- */
    --clr-primary:        #007cfb;   /* hlavní modrá — tlačítka, linky, CTA */
    --clr-primary-hover:  #0431b8;   /* hover stav primary prvků */
    --clr-primary-dark:   #082680;   /* nadpisy, tmavé akcenty */
    --clr-navy:           #000e39;   /* footer, tmavé sekce */

    /* --- Barvy: Text --- */
    --clr-text:           #3a4268;   /* hlavní tělo textu */
    --clr-text-dark:      #282828;   /* tučné/důrazné texty */
    --clr-text-muted:     #727a9f;   /* sekundární, popisné texty */
    --clr-text-light:     #c2cdeb;   /* text na tmavém pozadí */

    /* --- Barvy: Pozadí --- */
    --clr-bg:             #ffffff;
    --clr-bg-subtle:      #f6f6f6;   /* sekce se světlým pozadím */
    --clr-bg-dark:        #000e39;   /* tmavé sekce */
    --clr-bg-card:        #ffffff;   /* karty, panely */

    /* --- Barvy: Rozhraní --- */
    --clr-border:         #ededed;
    --clr-border-input:   #adb2bf;
    --clr-success:        #398f14;
    --clr-error:          #f13c3c;
    --clr-accent:         #8cd102;   /* zelený akcent, highlight */

    /* --- Typografie: Rodiny --- */
    --font-heading:   'Poppins', sans-serif;
    --font-body:      'Poppins', sans-serif;
    --font-display:   'Playfair Display', serif;   /* velké dekorativní nadpisy */

    /* --- Typografie: Velikosti --- */
    --text-xs:    12px;
    --text-sm:    14px;
    --text-base:  16px;
    --text-md:    18px;
    --text-lg:    20px;
    --text-xl:    24px;
    --text-2xl:   32px;
    --text-3xl:   36px;
    --text-4xl:   42px;
    --text-5xl:   52px;
    --text-display: 80px;

    /* --- Typografie: Řezy --- */
    --fw-normal:    400;
    --fw-medium:    500;
    --fw-semibold:  600;
    --fw-bold:      700;
    --fw-extrabold: 900;

    /* --- Typografie: Výška řádku --- */
    --lh-tight:    1.2;
    --lh-snug:     1.4;
    --lh-base:     1.625;
    --lh-relaxed:  2.0;

    /* --- Mezery (scale 4px) --- */
    --space-1:   4px;
    --space-2:   8px;
    --space-3:   12px;
    --space-4:   16px;
    --space-5:   20px;
    --space-6:   24px;
    --space-8:   32px;
    --space-10:  40px;
    --space-12:  48px;
    --space-16:  64px;
    --space-20:  80px;
    --space-24:  96px;
    --space-28:  112px;

    /* --- Zaoblení --- */
    --radius-sm:   4px;
    --radius-md:   6px;
    --radius-lg:   15px;
    --radius-pill: 50px;
    --radius-full: 100%;

    /* --- Stíny --- */
    --shadow-sm:  0 2px 4px rgba(0, 0, 0, 0.12);
    --shadow-md:  0 5px 10px rgba(0, 0, 0, 0.14);
    --shadow-lg:  0 8px 63px rgba(58, 66, 104, 0.14);
    --shadow-xl:  0 8px 7px rgba(2, 21, 78, 0.17);
    --shadow-glow: 0 6px 22px rgba(4, 20, 69, 0.08);

    /* --- Breakpointy (jen pro referenci — media queries neumí custom properties) --- */
    /* xs:  575px  |  sm: 767px  |  md: 991px  |  lg: 1199px  |  xl: 1400px */

    /* --- Přechody --- */
    --transition-fast:   all 0.2s ease;
    --transition-base:   all 0.3s ease;
    --transition-slow:   all 0.5s ease;

    /* --- Rozložení --- */
    --container-max:   1200px;
    --section-gap-v:   var(--space-20);   /* vertikální padding sekcí */

}


/* =========================================================
   2. FONT AWESOME 5 PRO ALIAS
   theme.css odkazuje na "Font Awesome 5 Pro" (placená verze).
   Aliasujeme na lokálně dostupné "Font Awesome 5 Free" fonty.
   ========================================================= */

@font-face {
    font-family: "Font Awesome 5 Pro";
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url('/Css/content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-solid-900.woff2') format('woff2'),
         url('/Css/content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-solid-900.woff') format('woff'),
         url('/Css/content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-solid-900.ttf') format('truetype');
}

@font-face {
    font-family: "Font Awesome 5 Pro";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('/Css/content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-regular-400.woff2') format('woff2'),
         url('/Css/content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-regular-400.woff') format('woff'),
         url('/Css/content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-regular-400.ttf') format('truetype');
}

@font-face {
    font-family: "Font Awesome 5 Brands";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('/Css/content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-brands-400.woff2') format('woff2'),
         url('/Css/content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-brands-400.woff') format('woff'),
         url('/Css/content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-brands-400.ttf') format('truetype');
}


/* =========================================================
   3. PŘEMOSTĚNÍ na Elementor Custom Properties
   Elementor čte vlastní proměnné (--e-global-*). Mapujeme
   je na naše tokeny, aby Elementor sdílel stejné hodnoty.
   ========================================================= */

:root {
    --e-global-color-primary:   var(--clr-primary);
    --e-global-color-secondary: var(--clr-primary-dark);
    --e-global-color-text:      var(--clr-text);
    --e-global-color-accent:    var(--clr-accent);

    --e-global-typography-primary-font-family:   'Poppins';
    --e-global-typography-text-font-family:      'Rubik';
    --e-global-typography-accent-font-family:    'Poppins';
    --e-global-typography-secondary-font-family: 'Roboto';

    --e-global-typography-primary-font-weight:   700;
    --e-global-typography-text-font-weight:      400;
    --e-global-typography-accent-font-weight:    600;
    --e-global-typography-secondary-font-weight: 400;
}


/* =========================================================
   4. ZÁKLADNÍ RESET A GLOBÁLNÍ PRAVIDLA
   Doplněk k normalize.css z theme.css — jen věci, které
   theme neřeší nebo je potřeba přepsat pro čistotu.
   ========================================================= */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body,
body.body-default-font {
    font-family: var(--font-body) !important;
    font-size: var(--text-base);
    line-height: var(--lh-base);
    color: var(--clr-text);
    background-color: var(--clr-bg);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
    color: var(--clr-text-dark);
    line-height: var(--lh-tight);
    font-weight: var(--fw-bold);
}

a {
    color: var(--clr-primary);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--clr-primary-hover);
}

img {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   5. KOMPONENTY
   Reusable UI bloky pro nově psané stránky.
   ========================================================= */

/* --- Kontaktní stránka --- */

.rc-contact {
    background-color: #F4F8FD;
    padding: 90px 0 115px;
}

@media (max-width: 991px) {
    .rc-contact {
        padding: 50px 0 70px;
    }
}

@media (max-width: 575px) {
    .rc-contact {
        padding: 40px 0 50px;
    }
}

.rc-contact__sidebar {
    padding-right: var(--space-8);
}

@media (max-width: 991px) {
    .rc-contact__sidebar {
        padding-right: var(--space-4);
        margin-bottom: var(--space-10);
    }
}

/* Intro nadpis */

.rc-contact__intro {
    margin-bottom: var(--space-10);
}

.rc-contact__subtitle {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-base);
    font-weight: var(--fw-semibold);
    color: var(--clr-text-dark);
    margin-bottom: var(--space-4);
}

.rc-contact__subtitle .icon-sub-title {
    width: 34px;
    height: 27px;
    position: relative;
    margin-right: 10px;
    flex-shrink: 0;
}

.rc-contact__subtitle .icon-sub-title svg {
    position: absolute;
}

.rc-contact__subtitle .icon-sub-title svg:nth-child(1) {
    height: 11px;
    top: 0;
    right: 8px;
}

.rc-contact__subtitle .icon-sub-title svg:nth-child(2) {
    height: 17px;
    bottom: 5px;
    left: 0;
}

.rc-contact__subtitle .icon-sub-title svg:nth-child(3) {
    height: 17px;
    bottom: 0;
    right: 0;
}

.rc-star-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.rc-contact__heading {
    font-size: var(--text-4xl);
    font-weight: var(--fw-bold);
    color: var(--clr-primary-dark);
    line-height: var(--lh-snug);
    margin: 0;
}

.rc-contact__heading small {
    display: block;
    font-size: var(--text-2xl);
    font-weight: var(--fw-normal);
    color: var(--clr-primary-dark);
}

@media (max-width: 1199px) {
    .rc-contact__heading {
        font-size: var(--text-3xl);
    }
    .rc-contact__heading small {
        font-size: var(--text-2xl);
    }
}

@media (max-width: 767px) {
    .rc-contact__heading {
        font-size: var(--text-2xl);
    }
    .rc-contact__heading small {
        font-size: var(--text-xl);
    }
}

/* Info karty — mezera mezi kartami */

.rc-contact__card {
    margin-bottom: 30px;
}

/* Formulář wrapper */

.rc-contact__form .ct-contact-form {
    border-radius: var(--radius-lg);
    padding: var(--space-8);
}

@media (max-width: 575px) {
    .rc-contact__form .ct-contact-form {
        padding: var(--space-5);
    }
}


/* =========================================================
   5. UTILITY TŘÍDY
   Minimální sada utilitních tříd pro nové komponenty.
   Nenahrazují Bootstrap — slouží pro nově psané HTML.
   ========================================================= */

/* Barvy textu */
.text-primary  { color: var(--clr-primary) !important; }
.text-muted    { color: var(--clr-text-muted) !important; }
.text-dark     { color: var(--clr-text-dark) !important; }
.text-light    { color: var(--clr-text-light) !important; }

/* Barvy pozadí */
.bg-subtle     { background-color: var(--clr-bg-subtle) !important; }
.bg-dark       { background-color: var(--clr-bg-dark) !important; }
.bg-primary    { background-color: var(--clr-primary) !important; }

/* Typografie */
.fw-normal     { font-weight: var(--fw-normal) !important; }
.fw-medium     { font-weight: var(--fw-medium) !important; }
.fw-semibold   { font-weight: var(--fw-semibold) !important; }
.fw-bold       { font-weight: var(--fw-bold) !important; }

/* Mezery — sekce */
.section-gap {
    padding-top:    var(--section-gap-v);
    padding-bottom: var(--section-gap-v);
}
.section-gap-sm {
    padding-top:    var(--space-12);
    padding-bottom: var(--space-12);
}

/* Stíny */
.shadow-sm  { box-shadow: var(--shadow-sm); }
.shadow-md  { box-shadow: var(--shadow-md); }
.shadow-lg  { box-shadow: var(--shadow-lg); }

/* Zaoblení */
.rounded-sm   { border-radius: var(--radius-sm); }
.rounded-md   { border-radius: var(--radius-md); }
.rounded-lg   { border-radius: var(--radius-lg); }
.rounded-pill { border-radius: var(--radius-pill); }
