﻿/* --- Základní nastavení --- */

:root {

    --primary-color: #A03300; /* Barva tepla/cihly */

    --secondary-color: #333;  /* Tmavá, robustní */

    --accent-color: #FFC300; /* Akcent/plamen */

    --light-bg: #F8F8F8;

    --text-color: #444;

}



* {

    box-sizing: border-box;

    margin: 0;

    padding: 0;

}



a:not(.btn) {

  color: var(--primary-color); /* Základní barva pro všechny odkazy */

  text-decoration: underline; /* Odkazy budou podtržené */

}



a:not(.btn):hover {

  color: #CC0000; /* Barva při najetí myší (tmavší červená), podtržení zůstane */

  /* text-decoration: underline; - tento řádek zde není nutný, protože je již definován v a{} */

}

.main-footer a:not(.btn) {

  color: #ffffff; /* Základní barva pro všechny odkazy */

  text-decoration: underline; /* Odkazy budou podtržené */

}

.main-footer a:not(.btn) {

  color: #ffffff;  /* Barva pro navštívené odkazy, stejná jako základní, podtržení zůstane */

  /* text-decoration: underline; - tento řádek zde není nutný, protože je již definován v a{} */

}

a:not(.btn):visited {

  color: var(--primary-color); /* Barva pro navštívené odkazy, stejná jako základní, podtržení zůstane */

  /* text-decoration: underline; - tento řádek zde není nutný, protože je již definován v a{} */

}





body {

    font-family: 'Roboto', sans-serif;

    color: var(--text-color);

    line-height: 1.6;

    background-color: white;

}



.container {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px;

}



h1, h2 {

    font-family: 'Playfair Display', serif;

    color: var(--secondary-color);

    margin-bottom: 15px;

}



/* --- Tlačítka (CTA) --- */

.btn {

    display: inline-block;

    padding: 12px 25px;

    border: none;

    border-radius: 5px;

    text-decoration: none;

    font-weight: 700;

    transition: background-color 0.3s ease;

    cursor: pointer;

}



.btn-primary {

    background-color: var(--primary-color);

    color: white;

}



.btn-primary:hover {

    background-color: #802A00;

}



.btn-secondary {

    background-color: var(--secondary-color);

    color: white;

    border: 2px solid var(--secondary-color);

}



.btn-secondary:hover {

    background-color: var(--primary-color);

    border-color: var(--primary-color);

}



.btn-lg {

    padding: 15px 35px;

    font-size: 1.1em;

}



/* --- Hlavička a Menu --- */

.main-header {

    background-color: white;

    box-shadow: 0 2px 4px rgba(0,0,0,0.1);

    position: sticky;

    top: 0;

    z-index: 100;

}



.main-header .container {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 15px 20px;

}



.logo h1 {

    font-size: 2em;

    color: var(--primary-color);

    margin: 0;

    letter-spacing: 2px;

}



/* Navigace */

.nav-list {

    list-style: none;

    display: flex;

    gap: 25px;

    align-items: center;

}



.nav-list a {

    text-decoration: none;

    color: var(--secondary-color);

    font-weight: 500;

    padding: 5px 0;

    border-bottom: 2px solid transparent;

    transition: border-bottom 0.3s;

}



.nav-list a:hover, .nav-list a.active {

    color: var(--primary-color);

    border-bottom: 2px solid var(--primary-color);

}



.cta-nav a {

    background-color: var(--accent-color);

    color: var(--secondary-color);

    padding: 8px 15px;

    border-radius: 5px;

    font-weight: 700;

    border: none;

}

.cta-nav a:hover {

    background-color: #FFD54F;

    border-bottom: none;

}



/* Hamburger menu (pro mobily) */

.hamburger {

    display: none;

    font-size: 1.5em;

    background: none;

    border: none;

    cursor: pointer;

    color: var(--primary-color);

}



/* --- Hero sekce (Úvodní obrázek) --- */

.hero {

    min-height: 650px;

    background-size: cover;

    background-position: center;

    color: white;

    display: flex;

    align-items: center;

    position: relative;

    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);

}

.hero::before {

    content: '';

    position: absolute;

    top: 0;

    right: 0;

    bottom: 0;

    left: 0;

    background: rgba(0, 0, 0, 0.3); /* Přidá tmavý filtr pro lepší čitelnost textu */

}



.hero-content {

    z-index: 1;

    max-width: 700px;

}



.hero h1 {

    color: white;

    font-size: 3em;

    margin-bottom: 20px;

}

.hero .subtitle {

    font-size: 1.4em;

    margin-bottom: 30px;

    font-weight: 300;

}





/* --- Sekce s Benefity --- */

.benefits {

    padding: 60px 20px;

    text-align: center;

}



.benefits h2 {

    margin-bottom: 40px;

    font-size: 2.5em;

}



.benefit-grid {

    display: flex;

    gap: 30px;

    justify-content: center;

    flex-wrap: wrap;

}



.benefit-item {

    flex: 1;

    min-width: 280px;

    max-width: 350px;

    padding: 30px;

    border: 1px solid var(--light-bg);

    border-radius: 8px;

    box-shadow: 0 4px 10px rgba(0,0,0,0.05);

    background-color: white;

}



.benefit-item i {

    font-size: 3em;

    color: var(--primary-color);

    margin-bottom: 15px;

    display: block;

}



.benefit-item h3 {

    color: var(--primary-color);

}



/* --- CTA přes celou šířku --- */

.cta-full-width {

    background-color: var(--light-bg);

    padding: 80px 20px;

    text-align: center;

}



.cta-full-width h2 {

    color: var(--secondary-color);

}



.cta-full-width p {

    font-size: 1.2em;

    margin-bottom: 30px;

}



/* --- Kontakt sekce --- */

.contact-section {

    padding: 60px 20px;

}



.contact-grid {

    display: flex;

    gap: 50px;

    margin-top: 40px;

}



.contact-info, .contact-form {

    flex: 1;

    min-width: 300px;

}



.contact-info p {

    margin-bottom: 10px;

}



.contact-form label {

    display: block;

    margin-top: 15px;

    margin-bottom: 5px;

    font-weight: 700;

}



.contact-form input[type="text"],

.contact-form input[type="email"],

.contact-form textarea {

    width: 100%;

    padding: 10px;

    border: 1px solid #ccc;

    border-radius: 4px;

    font-size: 1em;

}



.contact-form textarea {

    resize: vertical;

}



.contact-form button {

    margin-top: 20px;

}



/* --- Patička --- */

.main-footer {

    background-color: var(--secondary-color);

    color: white;

    padding: 20px 20px;

    text-align: center;

    font-size: 0.9em;

}



.main-footer p {

    margin: 5px 0;

}



/* --- Cookies lišta --- */

.cookie-banner {

    position: fixed;

    bottom: 0;

    left: 0;

    right: 0;

    background-color: rgba(0, 0, 0, 0.9);

    color: white;

    padding: 15px 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    z-index: 1000;

    font-size: 0.9em;

}



.cookie-banner p {

    margin: 0;

}



.cookie-banner a {

    color: var(--accent-color);

    text-decoration: none;

}



.btn-cookie {

    background-color: var(--primary-color);

    color: white;

    border: none;

    padding: 8px 15px;

    border-radius: 4px;

    cursor: pointer;

    transition: background-color 0.3s;

}



.btn-cookie:hover {

    background-color: #802A00;

}



/* --- Media Queries pro Responzivitu (Mobilní design) --- */

@media (max-width: 768px) {

    /* Menu */

    .nav-list {

        display: none;

        flex-direction: column;

        width: 100%;

        position: absolute;

        top: 60px; /* Výška hlavičky */

        left: 0;

        background-color: white;

        box-shadow: 0 4px 5px rgba(0,0,0,0.1);

        padding: 15px 0;

    }



    .nav-list.active {

        display: flex;

    }



    .nav-list li {

        text-align: center;

        width: 100%;

        padding: 8px 0;

    }



    .nav-list a {

        display: block;

        padding: 10px 20px;

        width: 100%;

    }



    .hamburger {

        display: block;

    }



    /* Hero */

    .hero {

        min-height: 400px;

    }

    .hero h1 {

        font-size: 2.2em; margin-top: 5%;

    }

    .hero .subtitle {

        font-size: 1.1em;

    }



    /* Benefity */

    .benefit-grid {

        flex-direction: column;

        align-items: center;

    }



    /* Kontakt */

    .contact-grid {

        flex-direction: column;

    }



    /* Cookies */

    .cookie-banner {

        flex-direction: column;

        text-align: center;

        gap: 10px;

    }

}



/* --- Nové styly pro rozšířený index.php --- */



.section-intro, .section-kovotherm, .section-benefits, .section-usage-cases, .section-models {

    padding: 60px 20px;

    text-align: center;

}



.section-kovotherm {

    background-color: var(--light-bg);

}



.section-intro p, .section-kovotherm p, .section-benefits p, .section-usage-cases p, .section-models p {

    max-width: 800px;

    margin: 15px auto 25px auto;

    font-size: 1.1em;

}



.split-content {

    display: flex;

    align-items: center;

    gap: 40px;

    margin-top: 30px;

    text-align: left;

}



.split-content .text-content {

    flex: 1;

}



.split-content .text-content .btn {

    margin-top: 20px;

}



.split-content .image-content {

    flex: 1;

    display: flex;

    justify-content: center;

    align-items: center;

}



.split-content .image-content img {

    max-width: 100%;

    height: auto;

    border-radius: 8px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.1);

}



.section-benefits .benefit-grid {

    margin-top: 30px;

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 25px;

    text-align: center;

}



.section-benefits .benefit-item {

    padding: 30px;

    background-color: white;

    border-radius: 10px;

    box-shadow: 0 4px 15px rgba(0,0,0,0.08);

    transition: transform 0.3s ease;

}



.section-benefits .benefit-item:hover {

    transform: translateY(-5px);

}



.section-benefits .benefit-item i {

    font-size: 3.5em;

    color: var(--primary-color);

    margin-bottom: 15px;

    display: block;

}



.section-benefits .benefit-item h3 {

    font-size: 1.4em;

    margin-bottom: 10px;

    color: var(--secondary-color);

}



.section-usage-cases {

    background-color: var(--light-bg);

}



.usage-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 30px;

    margin-top: 40px;

}



.usage-item {

    background-color: white;

    padding: 20px;

    border-radius: 10px;

    box-shadow: 0 4px 15px rgba(0,0,0,0.08);

    text-align: left;

}



.usage-item img {

    max-width: 100%;

    height: 200px; /* Pevná výška pro jednotný vzhled */

    object-fit: cover; /* Zajišťuje, že obrázky pokryjí celou plochu */

    border-radius: 8px;

    margin-bottom: 20px;

    margin-left: auto;

    margin-right: auto;

    display: block;



}



.usage-item h3 {

    font-size: 1.3em;

    color: var(--primary-color);

    margin-bottom: 10px;

}



.usage-item p {

    font-size: 0.95em;

    margin-bottom: 20px;

    line-height: 1.5;

    max-width: none; /* Přepíše globalní max-width */

}



.usage-item .btn {

    font-size: 0.9em;

    padding: 8px 15px;

}





.model-selection-guide {

    display: flex;

    justify-content: center;

    gap: 30px;

    margin-top: 40px;

    text-align: left;

}



.model-selection-guide .guide-item {

    flex: 1;

    min-width: 300px;

    max-width: 500px;

    background-color: white;

    padding: 30px;

    border-radius: 10px;

    box-shadow: 0 4px 15px rgba(0,0,0,0.08);

}



.model-selection-guide .guide-item h3 {

    color: var(--secondary-color);

    margin-bottom: 15px;

}



.model-selection-guide .guide-item ul {

    list-style: none;

    padding-left: 0;

}

.model-selection-guide .guide-item ul li {

    margin-bottom: 10px;

    position: relative;

    padding-left: 25px;

}

.model-selection-guide .guide-item ul li::before { 

    content: "\2022"; /* Entita pro kulatou tečku (bullet) */

    position: absolute;

    left: 0;

    color: var(--primary-color);

    font-size: 1.2em;

    top: -2px;

}



.model-selection-guide .guide-item p {

    font-size: 0.95em;

    margin: 10px 0;

    max-width: none; /* Přepíše globalní max-width */

}



.cta-models {

    margin-top: 50px;

}



/* Responzivita pro nové sekce */

@media (max-width: 992px) {

    .split-content {

        flex-direction: column;

        text-align: center;

    }

    .split-content .text-content, .split-content .image-content {

        max-width: 100%;

    }

    .model-selection-guide {

        flex-direction: column;

        align-items: center;

    }

    .model-selection-guide .guide-item {

        max-width: 100%;

        text-align: center;

    }

    .model-selection-guide .guide-item ul {

        text-align: left; /* Zpět na left pro body */

        margin: 0 auto;

        max-width: 400px; /* Omezí šířku pro lepší čitelnost */

    }

    .model-selection-guide .guide-item ul li::before {

        left: unset; /* Resetuje pozici pro menší obrazovky */

        right: 100%; /* Posune ikonu vlevo od textu */

        margin-right: 5px; /* Mezera mezi ikonou a textem */

    }



}



@media (max-width: 768px) {

    .section-intro h2, .section-kovotherm h2, .section-benefits h2, .section-usage-cases h2, .section-models h2 {

        font-size: 2em;

    }

    .section-intro p, .section-kovotherm p, .section-benefits p, .section-usage-cases p, .section-models p {

        font-size: 1em;

    }

}



/* NOVÝ KÓD PRO STYLIZOVANÉ LOGO V HLAVIČCE */

   

  .main-header a {

   text-decoration: none !important;

   }





.logo .logo-heading {

    display: flex; /* Flexbox pro ikonu a text */

    align-items: flex-start; /* Zarovná ikonu a text na začátek (nahoru) */

    font-size: initial; /* Resetuje font size */

    margin: 0; /* Odstraní margin h1 */

}



.logo-heading .logo-icon {

    font-size: 2.5em; 

    background: linear-gradient(to right, #FF5722, yellow);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    margin-right: 8px; /* Mezera od textu */

    line-height: 1;

}



.logo-heading .logo-text-wrapper {

    display: flex;

    flex-direction: column; /* Texty pod sebou */

    line-height: 1.1;

    text-align: left;

}



.logo-heading .logo-main-text {

    font-family: 'Playfair Display', serif; /* Zajištění správného fontu */

    font-size: 2em; /* Velikost hlavního textu KANUK */

    font-weight: 900;

    color: #000000;

    letter-spacing: 2px;

}



.logo-heading .logo-sub-text {

    font-family: 'Roboto', sans-serif; /* Zajištění správného fontu */

    font-size: 1.06em; /* Menší text "kamna na dřevo" */

    color: #a03300;

    font-weight: 300;

    margin-top: -0px; /* Přiblíží k hlavnímu textu */

}

/* Konec nového kódu pro logo */


/* Styly pro hlášky odeslání formuláře (kontakt.php) */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    margin-top: 20px;
    border: 1px solid;
    border-radius: 4px;
    font-weight: 500;
}

/* Zelená pro úspěch (alert-success) */
.alert-success {
    color: #0F5132; /* Tmavě zelený text */
    background-color: #D1E7DD; /* Světle zelené pozadí */
    border-color: #BADBCC; /* Zelený rámeček */
}

/* Červená pro chybu (alert-danger) */
.alert-danger {
    color: #842029; /* Tmavě červený text */
    background-color: #F8D7DA; /* Světle červené pozadí */
    border-color: #F5C2C7; /* Červený rámeček */
}

.form-group-hidden {
    /* Skryje pole pro lidské oči, ale ne pro roboty */
    position: absolute; /* Vezme pole z běžného toku dokumentu */
    left: -9999px;     /* Odsune pole mimo obrazovku */
    height: 1px;       /* Minimální rozměry */
    width: 1px;
    overflow: hidden;  /* Skryje jakýkoli obsah, i kdyby byl náhodou velký */
    opacity: 0;        /* Nastaví průhlednost na nulu pro jistotu */
}

/* --- Úpravy pro moderní Cookies lištu (GDPR) --- */

.cookie-banner {
    /* DŮLEŽITÉ: Defaultně skryto, dokud JS nerozhodne */
    display: none; 
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 15px 25px;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    font-size: 0.95em;
    line-height: 1.4;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-banner p {
    flex-grow: 1; 
    margin: 0;
    margin-right: 30px; 
}

.cookie-actions {
    display: flex;
    gap: 12px; 
    align-items: center;
    flex-shrink: 0; 
}

.cookie-link {
    color: var(--accent-color);
    text-decoration: underline;
    white-space: nowrap; 
}

.btn-cookie {
    border: none;
    padding: 10px 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
    font-weight: 700;
}

/* Tlačítko pro přijetí */
.btn-cookie-accept {
    background-color: var(--primary-color);
    color: white;
}

.btn-cookie-accept:hover {
    background-color: #802A00;
}

/* Tlačítko pro odmítnutí */
.btn-cookie-reject {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-cookie-reject:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
}


/* Responzivita pro cookies lištu */
@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 15px;
    }
    .cookie-banner p {
        margin-right: 0;
        margin-bottom: 0;
    }
    .cookie-actions {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }
    .btn-cookie {
        flex: 1; 
        padding: 12px 15px;
        font-size: 1em;
    }
}

/* --- Konec úpravy Cookies lišty --- */