/* Základní styly a proměnné */
:root {
    --text-color: #1a4040;
    --bg-color: #f2fbfb;
    --primary-teal: #29adb2;
    --highlight-orange: #d68f56;
    --box-bg: #ddf3f4;
    --box-shadow: #aed9da;
    --wave-color: #ddf3f4;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

h1, h2 {
    font-family: 'Libre+Baskerville', serif;
    margin: 0;
}

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

/* Dekorační prvky */
.leaf-decor {
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

/* Hlavička */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 600;
}

.logo-img {
    width: 100px;
    height: auto;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
    font-weight: 500;
    font-size: large;
}

nav a {
    padding: 5px 10px;
    border-radius: 5px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--highlight-orange);
}

nav a.active {
    background-color: var(--highlight-orange);
    color: #fff;
}

.lang-switch {
    display: flex;
    align-items: center;
}

#main-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-flag {
    width: 52px;
    height: auto;
    transition: opacity 0.2s ease;
    display: block;
}

.lang-flag:hover {
    opacity: 0.75;
}

/* anotation sekce */
.anotation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 50px 5% 100px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Vlnité pozadí v anotation sekci */
.anotation-bg-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 560' preserveAspectRatio='none'%3E%3Cpath fill='%23ddf3f4' d='M0,0 H1440 V380 C1300,470 1100,490 960,440 C820,390 700,360 540,420 C380,480 200,510 0,460 Z'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: -2;
}

.anotation-text {
    padding-right: 50px;
}

.anotation h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.anotation p {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 40px;
}

.anotation-btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--primary-teal);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.anotation-btn:hover {
    background-color: #1d8a8f;
}

.anotation-img {
    width: auto;
    height: 100%;
    position: absolute;
    right: 15vw;
}

/* Sekce služeb */
.services .row {
    margin: 10px auto 0 auto;
    width: 100%;
    max-width: 1400px;
    padding: 0 2%;
    gap: 20px 0;    
}

.service-box {
    background-color: var(--box-bg);
    padding: 40px;
    border-radius: 20px;
    min-width: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 2px solid white;
}

.service-box h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.service-box p {
    font-size: 16px;
    margin-bottom: 25px;
}

.service-box ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    font-size: 16px;
}

.service-box li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.service-box li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-color);
    font-weight: bold;
}

.service-box img {
    width: 100%;
    height: 200px; /* Upravte výšku podle obrázků */
    border-radius: 15px;
    object-fit: cover;
    margin-top: auto;
}

.service-icon {
    font-size: 36px;
    margin-bottom: 14px;
    line-height: 1;
}

.service-box--angel {
    background-color: #c8e8f0;
    border-color: #8ecde0;
}

/* Patička */
.site-footer {
    margin-top: 80px;
    padding: 50px 5% 25px;
    background-color: var(--box-bg);
    border-top: 1px solid rgba(26, 64, 64, 0.12);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

.footer-brand h2,
.footer-info h3 {
    margin-bottom: 15px;
}

.footer-brand p {
    margin: 0 0 10px;
    font-size: 16px;
}

.footer-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    margin: 0 0 18px;
    line-height: 1.3;
}

.footer-contact-item:last-child {
    margin-bottom: 0;
}

.footer-contact-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(26, 64, 64, 0.5);
    margin-bottom: 3px;
}

.footer-contact-item a {
    color: var(--text-color);
    font-size: 15px;
    transition: color 0.2s ease;
}

.footer-contact-item a:hover {
    color: var(--highlight-orange);
}

.footer-contact-item span:not(.footer-contact-label) {
    font-size: 15px;
}

.footer-contact-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid rgba(26, 64, 64, 0.25);
    border-radius: 5px;
    color: rgba(26, 64, 64, 0.5);
    cursor: pointer;
    font-size: 12px;
    padding: 2px 7px;
    line-height: 1.6;
    transition: border-color 0.2s, color 0.2s, background-color 0.2s;
    flex-shrink: 0;
}

.footer-copy-btn:hover {
    border-color: var(--highlight-orange);
    color: var(--highlight-orange);
}

.footer-copy-btn::before {
    content: 'kopírovat';
}

.footer-copy-btn.copied {
    border-color: var(--primary-teal);
    color: var(--primary-teal);
    background-color: rgba(41, 173, 178, 0.08);
}

.footer-copy-btn.copied::before {
    content: '✓ zkopírováno';
}

.footer-copy {
    max-width: 1400px;
    margin: 35px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(26, 64, 64, 0.12);
    text-align: center;
    font-size: 14px;
    color: rgba(26, 64, 64, 0.8);
}

@media (max-width: 992px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }
}

/* Mobilní navigace */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-color);
    cursor: pointer;
    padding: 5px;
}

/* Mobilní styly */
@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
        position: relative;
    }

    .nav-toggle {
        display: block;
    }

    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav.open {
        max-height: 400px;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    nav ul li a {
        display: block;
        padding: 10px 15px;
    }

    .anotation {
        grid-template-columns: 1fr;
        padding: 40px 5% 60px;
    }

    .anotation-img {
        right: unset;
        justify-self: center;
        margin-top: 81vh;
        height: 200%;
        z-index: 1;
        opacity: 0.25;
    }

    .anotation-text {
        padding-right: 0;
    }

    .anotation h1 {
        font-size: 28px;
    }

    .services .row {
        padding: 0 5%;
        gap: 20px 0;
    }

    .service-box {
        max-width: 100%;
        width: 100%;
        padding: 25px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}

/* ── Silueta jako dekorativní prvek sekcí ── */
.services {
    position: relative;
    overflow: hidden;
}

.section-silhouette {
    position: absolute;
    right: 2%;
    bottom: 0;
    height: 80%;
    width: auto;
    opacity: 0.05;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

@media (max-width: 768px) {
    .section-silhouette {
        height: 40%;
        opacity: 0.04;
    }
}

/* ── Dekorativní medicínský symbol v rohu service boxu ── */
.service-decor-icon {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 100px;
    height: 100px;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.service-decor-icon svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .service-decor-icon {
        width: 64px;
        height: 64px;
        opacity: 0.09;
    }
}

/* ── WhatsApp QR kód widget (fixed dole vpravo) ── */
.qr-whatsapp-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background-color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(26, 64, 64, 0.16);
    padding: 12px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qr-whatsapp-widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(26, 64, 64, 0.22);
}

.qr-whatsapp-widget img {
    width: 120px;
    height: 120px;
    display: block;
    border-radius: 6px;
}

.qr-whatsapp-widget span {
    font-size: 11px;
    font-weight: 600;
    color: rgba(26, 64, 64, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

@media (max-width: 768px) {
    .qr-whatsapp-widget {
        bottom: 14px;
        right: 14px;
        padding: 8px;
        border-radius: 10px;
        gap: 4px;
    }

    .qr-whatsapp-widget img {
        width: 72px;
        height: 72px;
    }

    .qr-whatsapp-widget span {
        font-size: 9px;
    }
}

/* ── Recenze / Reviews ── */
.reviews-section {
    padding: 60px 5% 80px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.review-card {
    background-color: var(--box-bg);
    border-radius: 16px;
    padding: 32px 28px 24px;
    box-shadow: 0 2px 12px rgba(41, 173, 178, 0.12);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(41, 173, 178, 0.2);
}

.review-text {
    font-style: italic;
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    border: none;
    flex: 1;
}

.review-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(41, 173, 178, 0.2);
    padding-top: 14px;
    gap: 10px;
}

.review-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-color);
}

.review-date {
    font-size: 13px;
    color: rgba(26, 64, 64, 0.55);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .review-card {
        padding: 24px 20px 18px;
    }
}