@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

body {
    background-color: #050505; 
    color: #fffdf6; /* Změněno na luxusní slonovinovou kost */
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 20px;
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}

@keyframes zlatyOdlesk {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- NAVIGACE --- */
.navbar {
    position: absolute;
    top: 0; left: 0; width: 100%;
    padding: 20px 40px;
    display: flex; justify-content: space-between; align-items: center;
    box-sizing: border-box;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    mix-blend-mode: screen; /* Přidá jemný zlatý odlesk na logo */
}

.navbar-logo {
    height: 90px; 
    width: 90px;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.hamburger {
    display: flex; flex-direction: column; cursor: pointer; gap: 6px; z-index: 100;
}

.hamburger span {
    width: 30px; height: 2px; background-color: #e6c068; transition: all 0.3s ease;
}

.nav-links {
    position: fixed; top: 0; right: -100%;
    width: 300px; max-width: 100vw; height: 100vh; background-color: #0a0a0a;
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px;
    transition: right 0.4s ease; border-left: 1px solid #222; z-index: 99;
    list-style: none; margin: 0; padding: 0;
}

.nav-links.active { right: 0; }

.nav-item {
    color: #f0f0f0; text-decoration: none; text-transform: uppercase;
    font-size: 1.2em; letter-spacing: 2px; transition: all 0.3s ease;
}

.nav-item:hover { color: #e6c068; }

.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        position: fixed; top: 0; right: -100%;
        width: 250px; height: 100vh; background-color: #0a0a0a;
        flex-direction: column; justify-content: center; align-items: center; gap: 20px;
        transition: right 0.4s ease; border-left: 1px solid #333; z-index: 99;
    }
}

/* --- HLAVIČKA A FORMULÁŘ --- */
.clinic-logo{ 
    text-align: center; 
    margin-bottom: 40px;
}
/* --- UVÍTÁNÍ / O NÁS --- */
.about-section {
    width: 100%;
    max-width: 850px;
    margin: 0 auto 60px auto;
    padding: 40px;
    background-color: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-left: 4px solid #e6c068; 
    border-radius: 0 8px 8px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.about-content h2 {
    color: #e6c068;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 2.2em;
}

.about-content p {
    color: #a8a8a8;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.05em;
}

.about-content p strong {
    color: #e6c068;
    font-weight: 400;
}

.signature {
    margin-top: 40px !important;
    font-style: italic;
}

.signature .name {
    display: block;
    color: #d4af37;
    font-family: 'Playfair Display', serif;
    font-size: 1.6em;
    margin-top: 5px;
    font-style: normal;
}

@media (max-width: 768px) {
    .about-section {
        width: 90%;
        padding: 25px;
    }
}

.form-container {
    background-color: #0f0f0f; padding: 40px; border: 1px solid #d4af37;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.15); width: 100%; max-width: 450px; box-sizing: border-box;
}

.form-container h2 { font-family: 'Playfair Display', serif; font-style: italic; text-align: center; color: #d4af37; margin-top: 0; margin-bottom: 30px; font-size: 1.8em; }
.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; color: #e6c068; font-size: 0.85em; text-transform: uppercase; letter-spacing: 1px; }

input, select {
    width: 100%; padding: 12px; background-color: #000; border: 1px solid #333;
    color: #fff; font-size: 16px; font-family: 'Montserrat', sans-serif; box-sizing: border-box; transition: all 0.3s ease;
}

input:focus, select:focus { outline: none; border-color: #e6c068; box-shadow: 0 0 8px rgba(212, 175, 55, 0.3); }

button {
    width: 100%; padding: 15px; background-color: #e6c068; color: #000; border: none;
    font-size: 16px; font-weight: 600; font-family: 'Montserrat', sans-serif; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; margin-top: 15px; transition: 0.3s;
}

button:hover { background-color: #e6c068; transform: translateY(-2px); }

/* --- VÝBĚR PROCEDURY --- */
.service-selection { 
    width: 100%; 
    max-width: 1400px; /* Zvětšeno z 1150px, aby mělo 5 karet dost místa vedle sebe */
    margin-bottom: 50px; 
}

.service-cards { 
    display: grid; 
    grid-template-columns: repeat(5, 1fr); /* Změněno ze 4 na 5 sloupců pro jeden řádek */
    gap: 15px; /* Mírně zmenšená mezera mezi kartami, aby se krásně vešly */
    width: 100%;
}

@media (max-width: 992px) {
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .service-cards {
        grid-template-columns: 1fr; 
        max-width: 290px;
        margin: 0 auto; 
    }
}

.service-card {
    background-color: #0a0a0a; 
    border: 1px solid #222; 
    border-radius: 8px; 
    cursor: pointer; 
    overflow: hidden; 
    transition: all 0.3s ease; 
    display: flex; 
    flex-direction: column;
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover; 
    border-bottom: 1px solid #222;
    transition: opacity 0.3s ease;
    filter: grayscale(30%); 
}

.card-content {
    padding: 20px;
    text-align: center;
}

/* Sjednocení hlavičky karty - vyřeší odskakováni cenovky a textu */
.card-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important; /* Centrování cenovky vůči více řádkům textu */
    margin-bottom: 10px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px dashed #333 !important;
    min-height: 56px !important; /* KLÍČOVÉ: Sjednotí výšku pro 1 i 2 řádky textu, karty budou v rovině */
}

/* Úprava nadpisu služby */
.card-content h3 {
    margin: 0 !important;
    text-align: left !important;
    color: #e6c068 !important;
    font-family: 'Playfair Display', serif !important;
    font-size: 1.1em !important; /* Mírné zmenšení zajistí, že se text do úzké karty krásně poskládá */
    letter-spacing: 0.5px !important;
    padding-right: 8px !important; /* Bezpečná mezera před cenovkou */
}

/* Ochrana cenovky před deformací */
.price {
    flex-shrink: 0 !important; /* ZÁKAZ SMRŠTĚNÍ: Cenovka se už nikdy nedeformuje ani neuskakuje */
    font-weight: 600 !important;
    color: #f0f0f0 !important;
    font-size: 0.8em !important;
    background-color: rgba(212, 175, 55, 0.1) !important; 
    padding: 4px 8px !important;
    border-radius: 4px !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    white-space: nowrap !important; /* Text ceny zůstane vždy na jednom řádku */
}

.btn-info {
    display: inline-block;
    margin-top: 15px;
    color: #e6c068;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color 0.3s;
}
.btn-info:hover { color: #fff; }

.service-card:hover, .service-card.selected {
    border-color: #e6c068; 
    transform: translateY(-5px); 
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.service-card:hover img, .service-card.selected img {
    border-bottom-color: #e6c068;
    filter: grayscale(0%); 
}

.service-card:hover .card-content p, .service-card.selected .card-content p {
    color: #ccc;
}

.service-card:hover .price, .service-card.selected .price {
    background-color: #e6c068;
    color: #000;
    border-color: #e6c068;
}

/* --- DÁRKOVÉ POUKAZY --- */
.voucher-section {
    width: 100%;
    max-width: 850px;
    margin: 60px auto;
    padding: 40px;
    background: linear-gradient(135deg, #0f0f0f 0%, #050505 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(212, 175, 55, 0.08);
    box-sizing: border-box;
}

.voucher-title {
    color: #e6c068;
    font-family: 'Playfair Display', serif;
    font-size: 2.2em;
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    font-style: italic;
    letter-spacing: 1px;
}

.voucher-list {
    list-style: none; 
    padding: 0;
    margin: 0;
}

.voucher-list li {
    color: #e0e0e0;
    font-size: 1.05em;
    line-height: 1.6;
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
}

.voucher-list li:last-child {
    margin-bottom: 0;
}

.voucher-list li::before {
    content: '✦'; 
    position: absolute;
    left: 0;
    top: 2px;
    color: #e6c068;
    font-size: 1.2em;
}

/* --- VYSKAKOVACÍ MODÁLNÍ OKNA --- */
.modal-overlay {
    position: fixed !important;
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85); 
    backdrop-filter: blur(5px);
    z-index: 9999; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    opacity: 0; 
    pointer-events: none; 
    transition: opacity 0.3s ease;
}

.modal-overlay.open { 
    opacity: 1; 
    pointer-events: auto; 
}

.modal-window {
    background-color: #0a0a0a;
    border: 1px solid #e6c068;
    padding: 40px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
    max-height: 85vh; 
    overflow-y: auto;
}

.modal-window h2 { 
    font-family: 'Playfair Display', serif; 
    color: #e6c068; 
    margin-top: 0; 
    margin-bottom: 20px; 
}

.modal-window p { 
    color: #a8a8a8; 
    font-size: 0.95em; 
    line-height: 1.6; 
    margin-bottom: 15px; 
}

.modal-close {
    position: absolute;
    top: 15px; 
    right: 20px;
    color: #e6c068; 
    font-size: 30px; 
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover { color: #fff; }

/* --- ČISTÝ DESIGN CENÍKU --- */
html { scroll-behavior: smooth; }

.pricelist-section {
    width: 100%;
    max-width: 600px;
    margin: 60px auto; 
    align-self: center;
    display: block;
    box-sizing: border-box;
}

.pricelist-section h2 {
    color: #e6c068;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    margin-bottom: 30px;
}

.pricelist-table {
    background-color: #0a0a0a;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 10px 25px 25px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.pricelist-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 0.95em;
    letter-spacing: 0.5px;
}

.service-name { font-weight: 400; color: #e0e0e0; }
.service-price { color: #e6c068; font-weight: 600; }

/* --- PATIČKA (FOOTER) --- */
.site-footer {
    width: 100%;
    background: linear-gradient(to top, #000000, #0a0a0a);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 60px 20px 20px 20px;
    margin-top: 80px;
    box-sizing: border-box;
}

.footer-container {
    background-color: transparent;
    max-width: 1150px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 100px;
}

.footer-block {
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center; 
    min-width: 200px;
}

.footer-block h4 {
    color: #e6c068;
    font-family: 'Playfair Display', serif;
    font-size: 1em;
    margin-top: 0;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-logo {
    color: #e6c068;
    font-family: 'Playfair Display', serif;
    font-size: 2.2em;
    margin: 0;
    line-height: 1;
    letter-spacing: 1px;
}

.footer-owner {
    color: #e0e0e0;
    font-size: 0.95em;
    margin: 10px 0 0 0;
    letter-spacing: 1px;
}

.footer-block p {
    color: #a8a8a8;
    font-size: 0.9em;
    margin: 6px 0;
    line-height: 1.4;
}

.footer-link {
    color: #e6c068;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #e6c068;
}

.footer-subtext {
    font-size: 0.8em !important;
    color: #555 !important;
    margin-top: 5px !important;
}

.footer-bottom {
    max-width: 1150px;
    width: 100%;
    margin: 50px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid #111;
    text-align: center;
}

.footer-bottom p {
    color: #444;
    font-size: 0.75em;
    margin: 0;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 35px;
    }
    .footer-block h4 {
        margin-bottom: 10px;
    }
}

/* --- LUXUSNÍ VZHLED KALENDÁŘE (FLATPICKR) --- */
.flatpickr-calendar { background: #0f0f0f !important; border: 1px solid #e6c068 !important; box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15) !important; font-family: 'Montserrat', sans-serif !important; }
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, .flatpickr-day.selected.inRange, .flatpickr-day.startRange.inRange, .flatpickr-day.endRange.inRange, .flatpickr-day.selected:focus, .flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus, .flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover, .flatpickr-day.selected.prevMonthDay, .flatpickr-day.startRange.prevMonthDay, .flatpickr-day.endRange.prevMonthDay, .flatpickr-day.selected.nextMonthDay, .flatpickr-day.startRange.nextMonthDay, .flatpickr-day.endRange.nextMonthDay { background: #e6c068 !important; border-color: #e6c068 !important; color: #000 !important; font-weight: 600; }
.flatpickr-day:hover { background: #222 !important; border-color: #333 !important; }
.flatpickr-current-month .flatpickr-monthDropdown-months, .flatpickr-current-month .numInputWrapper { color: #e6c068 !important; }
.flatpickr-prev-month svg, .flatpickr-next-month svg { fill: #e6c068 !important; }
.flatpickr-prev-month:hover svg, .flatpickr-next-month:hover svg { fill: #fff !important; }

/* =================================================================
   STRICTNÍ FIX SLIDERU PRO DESKTOP I MOBILNÍ TELEFONY
   ================================================================= */

/* Obal pro slider a šipky */
.slider-container {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    height: 320px !important; /* Výška pro vertikální fotky */
    border-bottom: 1px solid #222;
    background-color: #0a0a0a;
    display: block !important;
}

/* Samotný posuvný slider uvnitř - striktní zákaz zalamování prvků */
.card-slider {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    width: 100% !important;
    height: 100% !important;
    -webkit-overflow-scrolling: touch !important; /* Zajišťuje super hladké swipování na iPhonech */
}

/* Skrytí posuvníků ve všech prohlížečích */
.card-slider::-webkit-scrollbar { display: none !important; }
.card-slider { -ms-overflow-style: none !important; scrollbar-width: none !important; }

/* Nastavení samotných obrázků */
.card-slider img {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    scroll-snap-align: start !important;
    filter: grayscale(30%); 
    transition: transform 0.5s ease, filter 0.3s ease !important;
}

.service-card:hover .card-slider img {
    transform: scale(1.04) !important;
    filter: grayscale(0%);
}

/* Absolutní vyčištění šipek od vlivu globálních tlačítek */
button.slider-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    padding: 0 !important;
    padding-bottom: 4px !important;
    margin: 0 !important;
    background: rgba(5, 5, 5, 0.85) !important;
    color: #e6c068 !important;
    border: 1px solid rgba(230, 192, 104, 0.4) !important;
    border-radius: 50% !important;
    font-size: 24px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
    z-index: 99 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5) !important;
}

.service-card:hover button.slider-arrow {
    opacity: 1 !important;
}

button.slider-arrow:hover {
    background: #e6c068 !important;
    color: #050505 !important;
    border-color: #e6c068 !important;
}

button.prev-arrow { left: 12px !important; right: auto !important; }
button.next-arrow { right: 12px !important; left: auto !important; }

/* MOBILNÍ RESPONSIVITA (Displeje do 768px šířky) */
@media (max-width: 768px) {
    .slider-container {
        height: 280px !important; /* Na mobilech o krapet snížíme, ať to sedí k úzkým kartám */
    }
    
    /* Na telefonu skryjeme šipky. Lidé jedou palcem, šipky by zbytečně stínily fotkám. */
    button.slider-arrow {
        display: none !important;
    }
}