﻿/* ===== Základní nastavení ===== */
html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: scroll;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    padding-top: 90px;
    font-family: 'Aptos', system-ui, sans-serif;
    background-color: #fefdfc;
    background-image: radial-gradient(circle at 1px 1px, #e8e0da 1px, transparent 0);
    background-size: 16px 16px;
    background-attachment: fixed;
    color: #3b3b3b;
    line-height: 1.6;
}

/* ===== Nadpisy ===== */
h1, h2, h3, h4, h5 {
    font-family: 'Aptos', system-ui, sans-serif;
    font-weight: 600;
    color: #6a4e42;
    margin-bottom: 1rem;
}

/* ===== Sekce TITULKY ===== */
.section-title {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 6px solid #9c786c;
    color: #3b3b3b;
    position: relative;
    font-weight: 700;
    background: linear-gradient(90deg, #f8f5f3 0%, rgba(255,255,255,0) 100%);
    display: inline-block;
}

    .section-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -6px;
        width: 60px;
        height: 4px;
        background-color: #c9a27e;
        border-radius: 2px;
    }

    .section-title i {
        margin-right: 0.5rem;
        color: #c9a27e;
    }

/* ===== Hlavička ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1000;
    background-color: #ffffff;
    border-bottom: 1px solid #e8e0da;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
    overflow-x: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

    header a[href^="tel"] {
        text-decoration: none;
        font-weight: bold;
        font-size: 1rem;
        color: #9c786c;
    }

.text-gold {
    color: #9c786c;
}

/* Mobilní zmenšení kontaktu */
@media (max-width: 768px) {
    header a[href^="tel"] {
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
    }
}

/* ===== HERO Video Wrapper ===== */
.video-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 1;
    margin: 0;
    padding: 0;
}

    .video-wrapper video {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
    }

    .video-wrapper .hero-content {
        position: relative;
        z-index: 2;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 1rem;
    }

        .video-wrapper .hero-content h1 {
            font-family: 'Aptos', system-ui, sans-serif;
            color: #fff;
            font-size: 2rem;
            font-weight: bold;
            background-color: rgba(0, 0, 0, 0.5);
            padding: 1rem 2rem;
            border-radius: 0.5rem;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
            max-width: 90%;
        }

/* ===== Karty (služby, terapeut) ===== */
.bg-light .rounded.shadow-sm,
.bg-white.rounded.shadow-sm {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

/* ===== Obecné komponenty ===== */
.blockquote {
    font-style: italic;
    margin: 1rem 0;
    font-family: 'Cormorant Garamond', serif;
}

.blockquote-footer {
    font-size: 0.9rem;
    color: #888;
    font-family: 'Aptos', system-ui, sans-serif;
}

/* ===== Styl pro ceny ===== */
.price-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #f3ecea;
    color: #9c786c;
    font-weight: bold;
    border-left: 4px solid #9c786c;
    border-radius: 4px;
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* ===== Mapa (např. iframe blok) ===== */
section iframe {
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    width: 100%;
    height: 300px;
}

/* ===== RESPONSIVITA ===== */

/* Desktop */
@media (min-width: 768px) {
    .video-wrapper .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.4rem;
    }

    .mobile-br {
        display: none;
    }
}

/* Mobil */
@media (max-width: 767.98px) {
    .video-wrapper {
        margin-top: 90px;
        height: 220px;
        aspect-ratio: unset;
    }

        .video-wrapper video {
            transform: translate(-50%, -50%) scaleX(1.4);
            object-position: 25% center;
        }

        .video-wrapper .hero-content {
            justify-content: flex-start;
            padding-left: 1.5rem;
            padding-right: 1rem;
            text-align: left;
        }

            .video-wrapper .hero-content h1 {
                font-size: 1.3rem;
                max-width: 90%;
                padding: 0.8rem 1rem;
                background-color: rgba(0, 0, 0, 0.5);
                border-radius: 0.5rem;
                text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
                transform: none !important;
                text-align: left;
                overflow-wrap: anywhere;
                word-break: break-word;
                white-space: normal;
                line-height: 1.4;
            }

    .mobile-br {
        display: inline;
    }
}

/* Ultra malé telefony */
@media (max-width: 360px) {
    .video-wrapper .hero-content h1 {
        font-size: 0.7rem;
    }
}
