/* ===================================================================
   Scandinavian Clean - Zelený Pokoj - style.css
   =================================================================== */
/* ====================
   CSS RESET + BASELINE
   ==================== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del,
dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup,
tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form,
label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer,
header, hgroup, menu, nav, output, ruby, section, summary, time, mark,
audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
html {
    box-sizing: border-box;
    height: 100%;
    font-size: 16px;
    background: #F6FAF4; /* accent */
}
body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    background: #F6FAF4;
    min-height: 100vh;
}
img {
    max-width: 100%;
    display: block;
}
button, a {
    outline: none;
    border: none;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}
ul, ol {
    list-style-position: inside;
}
section, footer, header, nav, main {
    display: block;
}
[hidden] { display: none !important; }


/* =====================
   TYPOGRAPHY & HEADINGS
   ===================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', Georgia, serif;
    color: #326E43;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: 0.01em;
}
h1 {
    font-size: 2.3rem;
    margin-bottom: 20px;
}
h2 {
    font-size: 1.7rem;
    margin-bottom: 18px;
}
h3 {
    font-size: 1.17rem;
    margin-bottom: 14px;
}
h4 {
    font-size: 1rem;
    margin-bottom: 12px;
}
p, li {
    font-size: 1rem;
    color: #273627;
    font-family: 'Open Sans', Arial, sans-serif;
}
strong, b {
    font-weight: 700;
    color: #326E43;
}
.text-section {
    margin-bottom: 24px;
}
blockquote {
    font-style: italic;
    color: #273627;
    background: #F6FAF4;
    padding: 0 0 0 18px;
    border-left: 4px solid #8CB48B;
    margin-bottom: 8px;
}


/* ===============
   LAYOUT: CONTAINERS
   =============== */
.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
}

div.section {
    background: #fff;
}
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 20px;
}
.card {
    margin-bottom: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 6px 0 rgba(21,40,21,0.06);
    transition: box-shadow 0.2s;
    position: relative;
}
.card:hover {
    box-shadow: 0 6px 18px 0 rgba(50,110,67,0.08);
}
.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.testimonial-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 20px;
}
.testimonial-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 5px rgba(50,110,67,0.10);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-width: 260px;
    max-width: 400px;
    transition: box-shadow 0.15s, transform 0.15s;
    margin-bottom: 20px;
}
.testimonial-card:hover {
    box-shadow: 0 4px 16px rgba(50,110,67,0.13);
    transform: translateY(-2px) scale(1.01);
}
.testimonial-meta {
    color: #8CB48B;
    font-size: 1rem;
    font-family: 'Open Sans', Arial, sans-serif;
    font-style: normal;
}
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
}
.feature-card {
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px 0 rgba(50,110,67,0.09);
    transition: box-shadow 0.2s, transform 0.2s;
    min-width: 220px;
    max-width: 320px;
    margin-bottom: 20px;
}
.feature-card:hover {
    box-shadow: 0 4px 20px 0 rgba(50,110,67,0.13);
    transform: translateY(-3px) scale(1.02);
}
.feature-card img {
    width: 44px;
    height: 44px;
    margin-bottom: 10px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.blog-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}
.blog-list .text-section {
    background: #fff;
    border-radius: 12px;
    padding: 22px 18px;
    box-shadow: 0 2px 7px 0 rgba(140,180,139,0.06);
    flex: 1 1 256px;
    min-width: 220px;
    max-width: 340px;
}


/* =============
   HEADER & NAV
   ============= */
header {
    background: #fff;
    border-bottom: 1px solid #ECF5EA;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 50;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 15px;
}
header img {
    height: 46px;
    width: auto;
    margin-right: 16px;
    vertical-align: middle;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}
.main-nav a {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
    color: #326E43;
    padding: 8px 8px;
    border-radius: 5px;
    background: transparent;
    transition: background 0.13s, color 0.13s;
}
.main-nav a:hover, .main-nav a:focus {
    background: #F6FAF4;
    color: #8CB48B;
}
.cta-primary {
    background: #326E43;
    color: #fff;
    font-family: 'Open Sans', Arial, sans-serif;
    border-radius: 24px;
    padding: 11px 32px;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: background 0.18s, color 0.18s, transform 0.12s;
    box-shadow: 0 2px 10px 0 rgba(50,110,67,0.04);
    margin-left: 10px;
    display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
    background: #8CB48B;
    color: #fff;
    transform: translateY(-1px) scale(1.03);
}

/*
   MOBILE NAVIGATION
*/
.mobile-menu-toggle {
    display: none;
    background: #326E43;
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 2rem;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    transition: background 0.15s;
    z-index: 111;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: #8CB48B;
}
.mobile-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(38,52,38,0.93);
    transform: translateX(-100vw);
    transition: transform 0.32s cubic-bezier(.68,-0.55,.27,1.55);
    display: flex;
    flex-direction: column;
    z-index: 120;
    pointer-events: none;
    opacity: 0;
}
.mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}
.mobile-menu-close {
    display: block;
    align-self: flex-end;
    font-size: 2.2rem;
    color: #fff;
    background: transparent;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    margin: 18px 26px 0 0;
    text-align: center;
    transition: background 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
    background: #8CB48B;
    color: #fff;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 40px 0 0 0;
    align-items: center;
}
.mobile-nav a {
    display: block;
    font-size: 1.25rem;
    color: #fff;
    font-family: 'Open Sans', Arial, sans-serif;
    background: transparent;
    padding: 12px 28px;
    border-radius: 20px;
    letter-spacing: 0.02em;
    transition: background 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: #8CB48B;
    color: #fff;
}
/*
   MOBILE-ONLY header/nav
*/
@media (max-width: 1020px) {
    .main-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: inline-flex;
    }
    .cta-primary {
        margin-left: 0;
    }
}
@media (min-width: 1021px) {
    .mobile-menu {
        display: none!important;
    }
}


/* ==============
   HERO SECTION
   ============= */
.hero {
    background: linear-gradient(110deg, #F6FAF4 70%, #E6EFE9 100%);
    border-radius: 0 0 44px 44px;
    min-height: 280px;
    padding: 60px 0 40px 0;
    margin-bottom: 32px;
}
.hero .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}
.hero .content-wrapper {
    max-width: 600px;
}
.hero h1 {
    font-size: 2.4rem;
    color: #326E43;
}
.hero p {
    font-size: 1.13rem;
    margin-bottom: 24px;
    color: #273627;
}


/* =============
   BUTTONS & UI
   ============= */
button,
input[type="submit"],
input[type="button"] {
    border: none;
    background: #326E43;
    color: #fff;
    font-family: 'Open Sans', Arial, sans-serif;
    border-radius: 24px;
    padding: 9px 30px;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.13s, box-shadow 0.12s, transform 0.12s;
    cursor: pointer;
    box-shadow: 0 2px 7px rgba(50,110,67,0.07);
}
button:hover, button:focus {
    background: #8CB48B;
    color: #fff;
}
a.button, .btn, .cta-secondary {
    display: inline-block;
    background: #8CB48B;
    color: #fff;
    border-radius: 20px;
    padding: 8px 24px;
    box-shadow: 0 1px 6px rgba(50,110,67,0.04);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background 0.16s, color 0.12s;
}
a.button:hover, .cta-secondary:hover {
    background: #326E43;
    color: #fff;
}


/* =============
   LISTS & UL/OL
   ============= */
ul, ol {
    margin-top: 8px;
    margin-bottom: 18px;
    padding-left: 24px;
    color: #273627;
    font-size: 1rem;
    font-family: 'Open Sans', Arial, sans-serif;
}
ul li,
ol li {
    margin-bottom: 9px;
    line-height: 1.6;
}
ul li b, ul li strong {
    color: #326E43;
    font-weight: 700;
}


/* ===========
   FOOTER
   =========== */
footer {
    background: #ECF5EA;
    color: #326E43;
    padding: 30px 0 20px 0;
    margin-top: 50px;
    border-top: 1px solid #d0e5d6;
}
footer .container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px 70px;
    justify-content: flex-start;
}
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
    min-width: 200px;
}
.footer-nav a {
    color: #326E43;
    font-size: 1.02rem;
    letter-spacing: 0.005em;
    transition: color 0.12s;
    border-radius: 4px;
    padding: 4px 8px;
}
.footer-nav a:hover, .footer-nav a:focus {
    color: #8CB48B;
    background: #fff;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 0.93rem;
    min-width: 220px;
}
.footer-contact p, .footer-contact a {
    color: #273627;
}
.footer-contact img {
    height: 17px;
    width: auto;
    vertical-align: middle;
    margin-right: 7px;
}


/* ===================
   COOKIE CONSENT BANNER
   =================== */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    width: 100vw;
    background: #fff;
    color: #222;
    box-shadow: 0 -1px 14px rgba(38,52,38,0.13);
    z-index: 310;
    padding: 24px 12px 18px 12px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    transition: transform 0.35s cubic-bezier(.6,-0.3,.45,1.45), opacity 0.15s;
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
    font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-banner.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.cookie-banner .cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    align-items: center;
}
.cookie-banner button, .cookie-banner .cookie-settings {
    background: #326E43;
    color: #fff;
    border-radius: 22px;
    padding: 7px 26px;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.14s, color 0.12s;
    margin: 0 2px;
}
.cookie-banner .cookie-settings {
    background: #8CB48B;
    color: #fff;
}
.cookie-banner button.reject {
    background: #E05757;
    color: #fff;
}
.cookie-banner button:hover, .cookie-banner .cookie-settings:hover {
    background: #8CB48B;
    color: #fff;
}
.cookie-banner button.reject:hover {
    background: #c43a34;
}

.cookie-modal {
    position: fixed;
    left: 50%;
    bottom: 70px;
    transform: translate(-50%, 100vh);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 30px rgba(50,110,67,0.12);
    z-index: 320;
    min-width: 320px;
    max-width: 406px;
    width: 94vw;
    padding: 28px 22px 22px 22px;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.33s cubic-bezier(.43,-0.1,.54,1.18), opacity 0.15s;
}
.cookie-modal.active {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}
.cookie-modal h3 {
    font-size: 1.22rem;
    margin-bottom: 12px;
    color: #326E43;
}
.cookie-modal .cookie-cat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #F6FAF4;
    border-radius: 11px;
    padding: 10px 14px;
    margin-bottom: 14px;
}
.cookie-modal .cookie-cat input[type="checkbox"] {
    width: 22px; height: 22px;
    accent-color: #8CB48B;
}
.cookie-modal .cookie-cat .toggle {
    font-size: 1.08rem;
    color: #222;
}
.cookie-modal .cookie-cat.essential {
    opacity: .7;
}
.cookie-modal .cookie-modal-actions {
    display: flex;
    gap: 13px;
    justify-content: flex-end;
    margin-top: 18px;
}
.cookie-modal button,
.cookie-modal .cancel {
    background: #8CB48B;
    color: #fff;
    border-radius: 19px;
    padding: 6px 22px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.009em;
    transition: background 0.13s;
}
.cookie-modal button.submit {
    background: #326E43;
}
.cookie-modal button:hover, .cookie-modal .cancel:hover {
    background: #326E43;
    color: #fff;
}


/* =============
   RESPONSIVE ADJUSTMENTS
   ============= */
@media (max-width: 900px) {
    .footer-contact, .footer-nav {
        min-width: 140px;
    }
    .container {
        padding: 0 12px;
    }
    .feature-grid, .content-grid, .blog-list, .testimonial-list, .card-container {
        gap: 16px;
    }
}
@media (max-width: 768px) {
    .container {
        padding: 0 8px;
    }
    .content-wrapper {
        padding: 0;
    }
    .hero {
        border-radius: 0 0 30px 30px;
        min-height: 170px;
        padding: 36px 0 22px 0;
        margin-bottom: 24px;
    }
    .hero h1 {
        font-size: 1.48rem;
    }
    .section {
        margin-bottom: 38px;
        padding: 27px 3px;
    }
    .footer-contact, .footer-nav {
        min-width: 100px;
    }
    .footer-contact, .footer-nav {
        font-size: 0.95rem;
    }
    .feature-grid, .content-grid, .blog-list, .testimonial-list, .card-container {
        flex-direction: column;
        gap: 14px;
    }
    .feature-card, .testimonial-card, .blog-list .text-section, .card {
        min-width: 0;
        max-width: unset;
        width: 100%;
    }
}
@media (max-width: 550px) {
    footer .container {
        flex-direction: column;
        gap: 22px;
    }
    .hero {
        padding: 22px 0;
    }
    h1 {
        font-size: 1.32rem;
    }
    h2 {
        font-size: 1.03rem;
    }
    h3 {
        font-size: 0.98rem;
    }
}
@media (max-width:430px) {
    .hero .content-wrapper, .container {
        padding: 0 3px;
    }
    .cookie-banner {
        padding: 13px 2px 9px 2px;
    }
    .cookie-modal {
        padding: 12px 6px 11px 6px;
        min-width: 0;
    }
}

/* ================
   UTILITIES & MISC
   ================ */
::-webkit-scrollbar {
    width: 10px;
    background: #ECF5EA;
}
::-webkit-scrollbar-thumb {
    background: #8CB48B;
    border-radius: 7px;
}
::-webkit-input-placeholder { color: #8CB48B; }
:-ms-input-placeholder { color: #8CB48B; }
::placeholder { color: #8CB48B; }

/** Accessibility highlight for focus **/
a:focus, button:focus, input:focus {
    outline: 2px solid #8CB48B;
    outline-offset: 2px;
}

/* ================
   MICRO-INTERACTIONS
   ================ */
.cta-primary, .feature-card, .card, .testimonial-card, button, a.button, .cookie-banner, .cookie-modal {
    transition: box-shadow 0.21s, background 0.17s, color 0.15s, transform 0.13s;
}

/* Animate buttons on press */
button:active, .cta-primary:active {
    transform: scale(0.95);
}

/* ===============
   VISUAL CARD EFFECTS
   =============== */
.card, .feature-card, .testimonial-card, .blog-list .text-section {
    border: 1px solid #ECF5EA;
}

@media (max-width: 768px) {
    .text-image-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
}
