:root {
    --primary-color: #2c5d63;
    --primary-light: #e8f1f2;
    --accent-color: #a8dadc;
    --text-dark: #2b2d42;
    --text-light: #f8f9fa;
    --bg-light: #fafbfc;
    --shadow: 0 4px 15px rgba(0,0,0,0.05);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

/* Banner a úvodní texty */
.hero-banner {
    position: relative;
    width: 100%;
    height: 45vh;
    min-height: 300px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 80%, var(--bg-light) 100%), 
                url('priroda.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-shadow: inset 0 -10px 20px -10px rgba(0,0,0,0.1);
}

.hero-banner::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: radial-gradient(ellipse at 50% 100%, #a3b18a);
}

.hero-title-container {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.5);
    padding: 30px 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    border-left: 5px solid var(--primary-color);
    max-width: 900px;
    width: 100%;
}

.hero-title-container h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.hero-title-container .subtitle {
    font-size: 1.4rem;
    color: #4a5568;
    font-weight: 600;
}

.quick-phone {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: bold;
}

.quick-phone a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 2px dashed var(--primary-color);
    transition: var(--transition);
}

.quick-phone a:hover {
    color: #1d3557;
    border-bottom-style: solid;
}

.hero-notice {
    text-align: center; 
    margin: 0;
}

/* Navigace */
.nav-container {
    position: sticky;
    top: 0;
    background-color: #ffffff;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 100;
}

.nav-menu {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0 15px;
}

.nav-item {
    text-decoration: none;
    color: var(--primary-color);
    background-color: var(--primary-light);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.nav-item:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Hlavní obsah a sekce */
.main-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

section {
    background: #ffffff;
    padding: 35px;
    margin-bottom: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
    transition: var(--transition);
}

section:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

h2 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
}

.section-subheading {
    color: var(--primary-color); 
    margin: 25px 0 10px 0; 
    font-size: 1.3rem;
}

p {
    margin-bottom: 15px;
    color: #333333;
    text-align: justify;
}

/* Seznamy */
.services-list {
    list-style: none;
}

.services-list > li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    font-size: 1.1rem;
}

.services-list > li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.sub-list {
    list-style: none;
    margin-top: 8px;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 2px solid var(--accent-color);
}

.sub-list li {
    margin-bottom: 8px;
    font-size: 1rem;
    color: #4a5568;
    position: relative;
}

.quote-box {
    background-color: #f0f7f4;
    border-left: 4px solid #40916c;
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-style: italic;
    font-size: 1.15rem;
    color: #2d6a4f;
    font-weight: 600;
}

/* Tabulky */
.timetable, .pricelist {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.timetable td, .pricelist td {
    padding: 12px 15px;
    border-bottom: 1px solid #edf2f7;
}

.timetable tr:nth-child(even), .pricelist tr:nth-child(even) {
    background-color: #f8f9fa;
}

.table-header-left {
    text-align: left; 
    padding: 12px 15px; 
    color: var(--primary-color);
}

.table-header-right {
    text-align: right; 
    padding: 12px 15px; 
    color: var(--primary-color);
}

.day-column {
    font-weight: 600;
    width: 30%;
    color: var(--primary-color);
}

.hospital-day {
    font-style: italic; 
    color: #718096;
}

.price-column {
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
}

.price-notice {
    color: #718096;
}

.insurance-notice {
    margin-top: 20px;
    background-color: var(--primary-light);
    padding: 15px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    font-weight: 500;
}

/* Kontakt a mapy */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: flex-start; 
}

@media (min-width: 600px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info p {
    margin-bottom: 10px;
    text-align: left;
}

.contact-info strong {
    color: var(--primary-color);
}

.phone-link {
    color: inherit; 
    font-weight: bold;
}

.email-link {
    color: var(--primary-color);
}

.map-container {
    margin-top: 15px; 
}

.map-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 2px solid var(--primary-light);
    cursor: pointer; 
    transition: var(--transition);
}

.map-image:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    transform: scale(1.02); 
}

.notice-box {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 15px;
    border-radius: var(--border-radius);
    margin-top: 15px;
    font-size: 0.95rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    margin-top: 50px;
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-text {
    color: var(--text-light); 
    margin: 0; 
    text-align: center;
}

/* Responzivita */
@media (max-width: 768px) {
    .hero-banner {
        height: auto;
        padding: 40px 15px;
    }
    .hero-title-container {
        padding: 20px;
    }
    .hero-title-container h1 {
        font-size: 1.4rem;
    }
    .hero-title-container .subtitle {
        font-size: 1.1rem;
    }
    section {
        padding: 20px;
        margin-bottom: 20px;
    }
    .nav-item {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-info, .map-container {
        width: 100%;
    }
}