/* =========================================
   1. ZÁKLADNÍ NASTAVENÍ
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1100px; /* Maximální šířka obsahu na PC */
    margin: 0 auto;    /* Vycentrování celého bloku na střed */
    padding: 0 20px;   /* Bezpečná mezera 20px od okrajů displeje */
}

.navbar, .hero-wrapper, .about-wrapper, .services, .contact {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    scroll-margin-top: 75px; /* Výška vaší lišty s logem */
}

h1, h2, h3 {
    font-family: 'Merriweather', serif;
    color: #4E4E4E;
    margin-bottom: 1rem;
}

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

/* =========================================
   2. NAVIGACE (OPRAVA LOGA A MENU)
   ========================================= */
header {
    background-color: rgba(234, 231, 220, 0.75) !important; /* Snížil jsem z 0.95 na 0.85 pro větší průhlednost */
    backdrop-filter: blur(12px) !important;                /* Zvýšeno rozmazání */
    -webkit-backdrop-filter: blur(12px) !important;        /* Pro iPhone */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: none; /* Aby to neblikalo při skrolu */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: transparent !important;
}

.logo {
    height: 90px; /* Zvětšeno, aby DNA šroubovice vynikla */
    width: auto;
}
.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 1;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #27ae60;
}

.menu-icon {
    display: none; /* Schovat na PC */
    font-size: 28px;
    cursor: pointer;
}

/* =========================================
   3. SEKCE (BAREVNÉ ODDĚLENÍ ZACHOVÁNO)
   ========================================= */
.hero {
    padding: 40px 0;
    background-color: #fff;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Rozdělení prostoru: Text dostane víc (1.2) a fotka méně (0.8) */
.hero-box { flex: 1.2; }

.hero-box h1 {
    margin-bottom: 40px; /* Vytvoří prostor mezi nadpisem a odstavci */
    line-height: 1.2;    /* Pro jistotu, aby řádky nebyly moc na sobě */
}

.hero-box p {
    line-height: 1.6; 
    margin-bottom: 20px; 
    color: #4a4a4a; 
    font-size: 16px; 
}

.hero-box p:last-of-type {
    margin-bottom: 30px;
}

.hero-image { 
    flex: 0.8; 
    display: flex;
    justify-content: center;
}

/* Samotná úprava vzhledu fotky */
.hero-image img {
    max-width: 95%;      /* Tímto číslem určujete reálnou velikost fotky */
    border-radius: 20px; /* Zaoblení rohů k šalvějové verzi sedí skvěle */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Jemný stín, aby fotka nezanikla */
}

.btn {
    display: inline-block;
    background-color: #8E9775; /* Stejná zelená jako u kontaktů */
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.btn:hover {
    background-color: #6D7756;
    color: white;
    text-decoration: none;
}

.about {
    padding: 40px 0;
    background-color: #f0f7f4; /* Jemně zelená sekce */
}

.about-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 100px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #444;
}
.section-subtitle {
    display: block;
    text-transform: uppercase; /* Všechna písmena velká */
    letter-spacing: 2px;      /* Rozestupy mezi písmeny */
    color: #8E9775;           /* Vaše šalvějová zelená */
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;       /* Mezera mezi "O MNĚ" a jménem */
}

.section-title {
    font-size: 32px;
    margin-bottom: 30px;
    color: #4E4E4E;
}
.check-list {
    list-style: none; /* Schová původní černé tečky */
    padding-left: 0;
    margin-bottom: 25px;
}

.check-list li {
    position: relative;
    padding-left: 30px; /* Místo pro ikonku */
    margin-bottom: 12px;
    line-height: 1.6;
    color: #444;
}

.check-list li::before {
    content: '✓'; /* Změna z tečky na fajfku */
    position: absolute;
    left: 0;
    color: #8E9775; /* Vaše šalvějová zelená */
    font-weight: bold;
    font-size: 18px; /* Fajfka vypadá lépe trochu menší než tečka */
    line-height: 1.2;
    top: 2px;        /* Doladění výšky, aby fajfka seděla k textu */
}
/* Úprava fotky portrétu (zaoblení a stín) */
.about-photo img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Styl pro zvýrazněný citát na konci */
.about-highlight {
    border-left: 4px solid #8E9775; /* Ta zelená barva, kterou používáte */
    padding-left: 20px;
    margin-top: 30px;
    font-style: italic;
    font-size: 1.1rem;
    color: #333;
}

/* --- Nová sekce Služby --- */
.services-new {
    padding: 40px 0;
    background: #fff;
}

/* Centrování nadpisů */
.services-header {
    text-align: center;
    margin-bottom: 40px;
    padding: Opx 20px; /* Toto přidá 20px mezeru zleva i zprava */
}

.services-intro-text {
    max-width: 900px;
    margin: 0 auto 60px auto;
    text-align: center;
    padding: 0 20px;
}

.intro-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 30px;
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.intro-grid li {
    color: #4E4E4E;
    font-weight: 600;
    font-size: 15px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1000px; /* Trochu širší, aby se vešel text */
    margin: 0 auto;
    padding: 0 20px;
}

.service-item {
    display: flex;
    background: #fcfcfc;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: 0.3s;
}

.service-img {
    width: 30%; /* Trochu užší fotka ve prospěch textu */
    min-width: 250px;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 30px;
    width: 70%;
    text-align: left; /* Zarovná text vlevo */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-content h3 {
    margin-bottom: 10px;
    font-size: 24px;
    text-align: left; /* Pojistka pro nadpis */
    color: #4E4E4E;
}

.service-desc {
    margin-bottom: 20px;
    color: #666;
    text-align: left;
}

/* Styl pro odrážky uvnitř karet */
.service-content .check-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: left;
}

.service-content .check-list li {
    display: flex;             /* Opraví zalomení textu (text už neleze pod fajfku) */
    align-items: flex-start;
    gap: 10px;                 /* Mezera mezi fajfkou a textem */
    padding-left: 0;           /* Zrušíme staré odsazení */
    margin-bottom: 8px;
    color: #666;               /* Barva textu v seznamu */
}

.service-content .check-list li::before {
    content: '✓';
    position: static;          /* Důležité pro správné fungování flexu */
    color: #8E9775;            /* ZACHOVÁNA VAŠE ZELENÁ */
    font-weight: bold;         /* ZACHOVÁNA TUČNOST */
    flex-shrink: 0;            /* Zajistí, aby se fajfka nedeformovala u dlouhého textu */
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Důležité pro mobily, aby se údaje naskládaly pod sebe */
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}
.service-footer i {
    color: #8E9775;
    margin-right: 5px;
}
.price { font-weight: bold; color: #8E9775; font-size: 24px; }

/* =========================================
   4. KONTAKTFORMULAR A PATICKA
   ========================================= */
.contact {
    padding: 10px 20px;
    text-align: center;
    max-width: 100%;
    background-color: #f0f7f4;
}
.contact .container {
    max-width: 600px;
    margin: 0 auto;
}
.contact h2 {
    margin-bottom: 30px;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact input, .contact textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    width: 100%;
}

.contact button {
    background-color: #8E9775;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.contact button:hover {
    background-color: #6D7756;
}
.gdpr-text {
    font-size: 12px;
    color: #777;
    margin-top: 10px;
    line-height: 1.3;
}

footer {
    text-align: center;
    padding: 20px 20px;
    background: #333;
    color: #fff;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 28px;
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.social-links a:hover {
    color: #8E9775;
    transform: translateY(-3px);
}
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #8E9775;
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;

  transition: all 0.3s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   5. RESPONZIVITA (MOBILNÍ VERZE)
   ========================================= */
@media (max-width: 768px) {
   header {
        padding: 5px 0; /* Zmenšení horního a spodního paddingu z 10px na 5px */
    }

    .logo {
        height: 50px !important;
        width: auto;
    }
   
    /* Menu */
    .menu-icon { 
        display: block;
        margin-left: auto; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(234, 231, 220, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        text-align: center;
        gap: 20px;
    }
    .nav-links.active { display: flex; }

    /* Mezery v sekcích */
    .about, .services-new, .contact { padding: 40px 0 !important; }
    .hero { padding: 20px 0 40px 0 !important; }

    /* Hero a O mně - prohození pořadí (text nahoru) */
    .hero-wrapper, .about-wrapper {
        display: flex;
        flex-direction: column-reverse; 
        gap: 20px;
        text-align: center;
    }

    /* Citát a seznamy */
    .about-highlight {
        border-left: none;
        border-top: 4px solid #8E9775;
        padding: 20px 0 0 0;
    }
    .check-list { display: inline-block; text-align: left; }

    /* Karty služeb */
    .service-item { flex-direction: column; }
    .service-img { width: 100%; height: 220px; }
    .service-content { width: 100%; padding: 20px; }
    .intro-grid { flex-direction: column; align-items: center; }
    .service-footer {
        flex-direction: column;    /* Na velmi malých mobilech dá vše pod sebe */
        align-items: flex-start;   /* Zarovná vše doleva */
    }

    /* Kontakt */
    .contact-wrapper {
        flex-direction: column;
        gap: 45px;
    }
    .contact-info-text p {
    display: flex;
    align-items: center;
    justify-content: center; 
    margin-bottom: 10px;
    }

    .contact-info-text i {
    font-size: 1.1rem; 
    }
    contact-details {
        margin-top: 25px;
    } 
}