/*
Theme Name: Ordinace Liquid Glass - MUDr. Klaudie Nováková
Theme URI: https://drnovakova.cz
Author: WebDesign Studio
Description: Liquid Glass šablona pro ordinaci MUDr. Klaudie Novákové. Dovolená/nepřítomnosti, články/aktuality a veškerá nastavení se spravují přímo z levého postranního panelu administrace WordPressu.
Version: 4.0.0
Text Domain: ordinace-liquid-glass
*/

:root {
    --kn-primary: #0284c7;
    --kn-primary-dark: #0369a1;
    --kn-accent: #0d9488;
    --kn-danger: #e11d48;
    --kn-warning: #d97706;
    --kn-text: #0f172a;
    --kn-text-muted: #475569;
    --kn-glass-bg: rgba(255, 255, 255, 0.62);
    --kn-glass-border: rgba(255, 255, 255, 0.88);
    --kn-glass-shadow: 0 20px 50px rgba(15, 23, 42, 0.08), inset 0 1px 2px rgba(255, 255, 255, 0.95);
}

body.kn-body {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--kn-text);
    background: radial-gradient(circle at 10% 10%, #e0f2fe 0%, #f0fdf4 45%, #f1f5f9 100%);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

#kn-liquid-app {
    position: relative;
    padding: 1.5rem 1rem 4rem;
    box-sizing: border-box;
}

#kn-liquid-app * {
    box-sizing: border-box;
}

.kn-bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.kn-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(75px);
    opacity: 0.65;
    animation: kn-float 18s infinite alternate ease-in-out;
}

.kn-blob-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    top: -120px;
    left: -100px;
}

.kn-blob-2 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #2dd4bf, #38bdf8);
    bottom: 5%;
    right: -120px;
    animation-delay: -6s;
}

.kn-blob-3 {
    width: 380px;
    height: 380px;
    background: linear-gradient(135deg, #fbcfe8, #bae6fd);
    top: 42%;
    left: 35%;
    animation-delay: -11s;
}

@keyframes kn-float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(35px, -30px) scale(1.07); }
    100% { transform: translate(-25px, 25px) scale(0.95); }
}

.kn-container {
    max-width: 1220px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.kn-glass {
    background: var(--kn-glass-bg);
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    border: 1px solid var(--kn-glass-border);
    border-radius: 28px;
    box-shadow: var(--kn-glass-shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.kn-glass::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.95), transparent);
    pointer-events: none;
}

.kn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.45rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.94rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid rgba(255,255,255,0.6);
    font-family: inherit;
}

.kn-btn-primary {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.95), rgba(13, 148, 136, 0.95));
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.3), inset 0 1px 1px rgba(255,255,255,0.4);
}

.kn-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(2, 132, 199, 0.42);
}

.kn-btn-glass {
    background: rgba(255, 255, 255, 0.72);
    color: var(--kn-text) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.95);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
}

.kn-btn-glass:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.kn-btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.84rem;
}

.kn-navbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.75rem;
    margin-bottom: 1.75rem;
    border-radius: 999px;
}

.kn-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
}

.kn-brand-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0284c7, #14b8a6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 18px rgba(2, 132, 199, 0.3);
}

.kn-nav-links {
    display: flex;
    gap: 1.1rem;
    flex-wrap: wrap;
    align-items: center;
}

.kn-nav-links a {
    color: var(--kn-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    transition: background 0.2s;
}

.kn-nav-links a:hover {
    background: rgba(255,255,255,0.65);
}

.kn-hero {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2rem;
    padding: 2.75rem;
    margin-bottom: 2rem;
    align-items: center;
}

.kn-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.95);
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.kn-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.kn-hero h1 {
    font-size: 2.65rem;
    line-height: 1.15;
    margin: 0 0 0.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #0f172a 0%, #0369a1 60%, #0d9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.kn-hero-sub {
    font-size: 1.12rem;
    color: var(--kn-text-muted);
    margin-bottom: 1.75rem;
    max-width: 620px;
}

.kn-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.kn-grid-2 {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.75rem;
    margin-bottom: 2rem;
}

.kn-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.kn-section-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.kn-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.kn-vacation-banner {
    padding: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(255, 241, 242, 0.75), rgba(255, 251, 235, 0.75));
    border: 1px solid rgba(254, 205, 211, 0.9);
}

.kn-vacation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1.25rem 0;
}

.kn-vacation-item {
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 1.15rem;
    position: relative;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.kn-vacation-date {
    font-weight: 800;
    font-size: 1.05rem;
    color: #0f172a;
    margin-bottom: 0.4rem;
}

.kn-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
}

.kn-badge-amber { background: rgba(254, 243, 199, 0.95); color: #b45309; border: 1px solid #fde68a; }
.kn-badge-red { background: rgba(254, 226, 226, 0.95); color: #be123c; border: 1px solid #fecdd3; }
.kn-badge-blue { background: rgba(224, 242, 254, 0.95); color: #0369a1; border: 1px solid #bae6fd; }
.kn-badge-teal { background: rgba(204, 251, 241, 0.95); color: #0f766e; border: 1px solid #99f6e4; }

.kn-hours-card {
    padding: 2rem;
}

.kn-hours-row {
    display: grid;
    grid-template-columns: 115px 1fr;
    padding: 0.95rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
    align-items: center;
    border-radius: 14px;
    transition: background 0.2s;
}

.kn-hours-row.today {
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(186, 230, 253, 0.9);
}

.kn-day-name {
    font-weight: 800;
    color: #0f172a;
}

.kn-time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.kn-slot {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.95);
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.kn-news-card {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.kn-news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--kn-text-muted);
    margin-bottom: 0.65rem;
}

.kn-news-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 0.6rem;
    color: #0f172a;
}

.kn-news-title a {
    color: inherit;
    text-decoration: none;
}

.kn-news-title a:hover {
    color: var(--kn-primary);
}

.kn-news-excerpt {
    font-size: 0.94rem;
    color: var(--kn-text-muted);
    margin-bottom: 1.2rem;
}

@media (max-width: 900px) {
    .kn-hero, .kn-grid-2 {
        grid-template-columns: 1fr;
    }
    .kn-hero {
        padding: 1.85rem;
    }
    .kn-hero h1 {
        font-size: 2.1rem;
    }
    .kn-navbar {
        border-radius: 24px;
    }
}
