@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; 
    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;
}

.navbar-logo {
    height: 70px; 
    width: auto;
    transition: transform 0.3s ease;
    mix-blend-mode: screen; 
}

.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;
    height: 200px; 
    width: 200px; 
    mix-blend-mode: screen; 
}

.form-container {
    background-color: #0f0f0f; padding: 40px; border: 1px solid #e6c068;
    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: #e6c068 ; 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: #e6c558; transform: translateY(-2px); }

/* --- VÝBĚR PROCEDURY (OBDÉLNÍKY S OBRÁZKY) --- */
.service-selection { 
    width: 100%; 
    max-width: 1150px; 
    margin-bottom: 50px; 
}

.service-cards { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    margin: 0 auto; 
    gap: 20px; 
    width: 80%;
}

@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;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline; 
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #333; 
}

.card-content h3 {
    margin: 0;
    text-align: left;
    color: #e6c068;
    font-family: 'Playfair Display', serif;
    font-size: 1.2em;
    letter-spacing: 1px;
}

.price {
    font-weight: 600;
    color: #f0f0f0;
    font-size: 0.8em;
    background-color: rgba(212, 175, 55, 0.1); 
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    white-space: nowrap;
}

.card-content p {
    color: #a8a8a8;
    font-size: 0.85em;
    margin: 0;
    line-height: 1.4;
}

.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;
}

/* --- 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);
}

.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: 30px 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 {
    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-block p {
    color: #a8a8a8;
    font-size: 0.9em;
    margin: 6px 0;
    line-height: 1.4;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #e6c068;
}
.footer-logo {
    mix-blend-mode: screen;
    justify-self: center;
    transition: transform 0.3s ease;
}
.footer-logo img {
    margin-left: 20%;
}
.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; }

/* --- DESIGN PRO ÚVODNÍ BLOK --- */
.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;
}

@media (max-width: 768px) {
    .about-section {
        width: 90%;
        padding: 25px;
    }
}

/* --- ČTVERCOVÁ SÍŤ METOD --- */
.treatment-section {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 60px auto;
    box-sizing: border-box;
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    width: 100%;
}

.treatment-card {
    background-color: #0a0a0a;
    border: 1px solid #1e1e1e;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px;
    text-align: center;
    aspect-ratio: 1 / 1; 
    transition: all 0.3s ease;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.treatment-card h3 {
    color: #fffdf6;
    font-family: 'Playfair Display', serif;
    font-size: 1.3em;
    margin: 0 0 15px 0;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.treatment-card .btn-info {
    margin-top: 5px;
    font-weight: 600;
}

.treatment-card:hover {
    border-color: #e6c068;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.12);
}

.treatment-card:hover h3 {
    color: #e6c068;
}

@media (max-width: 992px) {
    .treatment-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 550px) {
    .treatment-grid {
        grid-template-columns: 1fr; 
        max-width: 280px;
        margin: 0 auto;
    }
    .treatment-card {
        aspect-ratio: auto; 
        padding: 40px 20px;
    }
}