/* --- Proměnné (Moderní paleta Námořnická + Tyrkysová) --- */
:root {
    --color-dark: #0A2540;        
    --color-teal: #00D4FF;        
    --color-teal-dark: #009BCC;   
    --color-bg: #F0FBFC;          
    --color-white: #FFFFFF;
    --color-light-gray: #E5F3F5;
    --radius-lg: 24px;
    --radius-pill: 50px;
    --shadow-soft: 0 15px 35px rgba(10, 37, 64, 0.08);
    --shadow-nav: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition-fast: 0.3s ease;
}

/* --- Základní nastavení --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--color-dark);
    background-color: var(--color-bg);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.bg-light-gray { background-color: var(--color-light-gray); }
.text-center { text-align: center; }
.w-100 { width: 100%; }

h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    line-height: 1.7;
    color: #4A5A6A;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--color-teal-dark);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--color-teal);
    opacity: 0.3;
    z-index: -1;
}

/* --- Tlačítka --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-teal);
    color: var(--color-dark);
    box-shadow: 0 8px 16px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-teal-dark);
    color: var(--color-white);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-dark);
    color: var(--color-dark);
}

.btn-outline:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* --- Plovoucí Navigace (Glassmorphism) --- */
.floating-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1100px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-nav);
    z-index: 1000;
    transition: top 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--color-teal-dark);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--color-dark);
    border-radius: 3px;
    transition: 0.3s;
}

/* --- Hero Sekce --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    display: block;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(0, 212, 255, 0.15);
    color: var(--color-teal-dark);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

/* --- O nás (Tým a Vybavení) --- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.grid-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.info-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.team-list, .equipment-list {
    list-style: none;
    margin-top: 15px;
}

.team-list li, .equipment-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.team-list li:last-child, .equipment-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* --- Aktuality --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-item {
    background: var(--color-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-fast);
}

.news-item:hover { transform: translateY(-5px); }

.news-date {
    display: block;
    font-size: 0.85rem;
    color: var(--color-teal-dark);
    font-weight: bold;
    margin-bottom: 10px;
}

.d-none { display: none !important; }

/* --- Ordinační hodiny --- */
.bg-gradient {
    background: linear-gradient(135deg, var(--color-dark), #1A3A5C);
    color: var(--color-white);
    border-radius: 40px;
    margin: 0 20px;
}

.bg-gradient p, .bg-gradient h2 {
    color: var(--color-white);
}

.schedule-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.alert-box {
    background: rgba(255, 255, 255, 0.15);
    border-left: 4px solid var(--color-teal);
    padding: 20px;
    border-radius: 8px 16px 16px 8px;
    margin-top: 20px;
}

.highlight-white {
    color: var(--color-teal);
    font-weight: 800;
    font-size: 1.5rem;
}

.schedule-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--radius-lg);
}

.schedule-list {
    list-style: none;
}

.schedule-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-size: 1.1rem;
}

.schedule-list li:last-child {
    border-bottom: none;
}

/* --- Očkování --- */
.vaccination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.vaccine-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.vaccine-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.vaccine-list {
    list-style-type: disc;
    padding-left: 20px;
    color: #4A5A6A;
}

/* --- Formulář Miminka --- */
.baby-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.baby-info-box {
    background: var(--color-white);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    margin-top: 20px;
}

.modern-form {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

/* --- Kontakt --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.contact-line {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.contact-visuals {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.building-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    display: block;
}

/* --- Patička --- */
footer {
    text-align: center;
    padding: 40px 0;
    color: #666;
}

/* --- Zpět nahoru Tlačítko --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-dark);
    color: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--color-teal);
    transform: translateY(-5px);
}

/* --- Cookies karta --- */
.cookie-card {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 320px;
    background: var(--color-white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    z-index: 2000;
    transform: translateY(150%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cookie-card.show {
    transform: translateY(0);
    opacity: 1;
}

/* --- Responzivita (Mobilní zařízení) --- */
@media (max-width: 900px) {
    .hero-grid, .grid-cards, .schedule-wrapper, .contact-grid, .baby-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    
    .bg-gradient {
        margin: 0;
        border-radius: 0;
    }

    /* Mobilní menu (Hamburger) */
    .hamburger { display: flex; }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-white);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 15px;
        box-shadow: var(--shadow-nav);
        border-radius: var(--radius-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(10px);
    }
}
