/* ==========================================================================
   KLÍČ LUKA – Školící a zážitkové centrum v jurtě
   Design System & Master Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Kalam:wght@400;700&display=swap');

:root {
    /* Color Palette - Warm Natural Earth & Wood Tones */
    --color-primary: #8a572a;
    /* Warm terracotta / oak wood */
    --color-primary-dark: #633c19;
    /* Deep wood brown */
    --color-primary-light: #c28854;
    /* Warm amber gold */
    --color-accent: #3a5a40;
    /* Sage forest green */
    --color-accent-light: #588157;
    /* Soft moss green */
    --color-accent-soft: #edf4ee;
    /* Very soft sage tint */

    /* Neutrals & Surfaces */
    --bg-page: #faf8f5;
    /* Warm organic ivory */
    --bg-surface: #ffffff;
    /* Clean white */
    --bg-card: #ffffff;
    --bg-alt: #f3efe8;
    /* Warm oatmeal linen */
    --bg-dark: #1f1d1a;
    /* Deep espresso bark */
    --bg-dark-card: #2a2723;

    /* Typography Colors */
    --text-main: #24221f;
    /* Soft charcoal */
    --text-muted: #6b665f;
    /* Warm gray */
    --text-light: #9e978e;
    --text-on-dark: #fcfbf9;
    --text-muted-dark: #b8b2a8;

    /* Accents & Utilities */
    --border-light: rgba(99, 60, 25, 0.1);
    --border-subtle: rgba(0, 0, 0, 0.06);
    --border-focus: #8a572a;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(36, 34, 31, 0.04);
    --shadow-md: 0 8px 24px rgba(36, 34, 31, 0.08);
    --shadow-lg: 0 16px 40px rgba(36, 34, 31, 0.12);
    --shadow-warm: 0 12px 32px rgba(138, 87, 42, 0.14);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 36px;
    --radius-pill: 9999px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

    /* Typography Settings */
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-hand: 'Kalam', cursive;
}

/* ==========================================================================
   CSS Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.65;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img,
picture,
video {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

button,
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}


.container {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.container-narrow {
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

/* Section Common Structure */
.section {
    padding-block: 6rem;
    position: relative;
}

.section-alt {
    background-color: var(--bg-alt);
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-on-dark);
}

/* ==========================================================================
   Oddělovač sekcí (Section Divider – vizuální předěl mezi sekcemi)
   ========================================================================== */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: 1.5rem;
    background-color: var(--bg-page);
}

.section-divider-alt {
    background-color: var(--bg-alt);
    max-width: 100%;
    padding-inline: max(1.5rem, calc((100% - 1240px) / 2 + 1.5rem));
}

.section-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(138, 87, 42, 0.28) 50%,
            transparent 100%);
}

.section-divider-mark {
    color: var(--color-primary-light);
    font-size: 0.95rem;
    line-height: 1;
    opacity: 0.85;
    user-select: none;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.kavarna-contain {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 700px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.section-header .tagline {
    display: inline-block;
    font-family: var(--font-hand);
    font-size: 1.25rem;
    color: var(--color-primary-light);
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    transform: rotate(-1.5deg);
}

.section-header .tagline1 {
    display: inline-block;
    font-family: var(--font-hand);
    font-size: 1.75rem;
    color: var(--color-primary-light);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    transform: rotate(-1.5deg);
}

.section-dark .section-header .tagline {
    color: var(--color-primary-light);
}

.section-header .title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-dark .section-header .title {
    color: var(--text-on-dark);
}

.section-header .subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 680px;
    margin-inline: auto;
}

.section-dark .section-header .subtitle {
    color: var(--text-muted-dark);
}

/* ==========================================================================
   Header & Sticky Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-base);
    padding-block: 1.25rem;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding-block: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    z-index: 1010;
}

.logo-img {
    height: 52px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform var(--transition-fast), filter var(--transition-base);
}

.site-header.scrolled .logo-img {
    filter: none;
}

.logo-link:hover .logo-img {
    transform: scale(1.04);
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-main-text {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #ffffff;
    line-height: 1;
    transition: color var(--transition-base);
}

.site-header.scrolled .logo-main-text {
    color: var(--text-main);
}

.logo-sub-text {
    font-family: var(--font-hand);
    font-size: 0.875rem;
    color: #e5d4c0;
    line-height: 1.2;
    transition: color var(--transition-base);
}

.site-header.scrolled .logo-sub-text {
    color: var(--color-primary);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0.2rem;
    position: relative;
    transition: color var(--transition-fast);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.site-header.scrolled .nav-link {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-primary-light);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


.odkaz-facebook {
    border-top: 1px solid var(--border-subtle);
    color: blue;
}

/* Header CTAs */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.nav-actions .btn-primary {
    padding: 0.55rem 1.25rem;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Tlačítko Pronájem v navigaci:
   - Na úvodní obrazovce (tmavé pozadí): jemně průhledný "frosted glass" styl s lemem, menší než Rezervace
   - Na dalších sekcích po scrollu / podstránkách (.site-header.scrolled): přírodní lesní šalvějová zelená
*/
.btn-nav-rental,
.nav-actions .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff !important;
    font-weight: 500;
    font-size: 0.80rem;
    padding: 0.42rem 0.95rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-base);
    text-decoration: none !important;
    white-space: nowrap;
}

.btn-nav-rental:hover,
.nav-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.75);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

/* Po odscrollování z prvního snímku (na světlé liště), v mobilním menu a na dalších stránkách: ZELENÝ STYL */
.site-header.scrolled .btn-nav-rental,
.site-header.scrolled .nav-actions .btn-secondary,
.mobile-drawer .btn-nav-rental {
    background: linear-gradient(135deg, #3d6345 0%, #29442e 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(41, 68, 46, 0.35) !important;
    box-shadow: 0 2px 8px rgba(41, 68, 46, 0.25) !important;
}

.site-header.scrolled .btn-nav-rental:hover,
.site-header.scrolled .nav-actions .btn-secondary:hover,
.mobile-drawer .btn-nav-rental:hover {
    background: linear-gradient(135deg, #4d7a56 0%, #34563b 100%) !important;
    border-color: rgba(41, 68, 46, 0.55) !important;
    box-shadow: 0 4px 14px rgba(41, 68, 46, 0.38) !important;
    transform: translateY(-1px);
    color: #ffffff !important;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 14px rgba(138, 87, 42, 0.35);
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(138, 87, 42, 0.45);
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
}

@media (max-width: 1240px) and (min-width: 993px) {
    .desktop-nav {
        gap: 0.85rem;
    }

    .nav-list {
        gap: 0.75rem;
    }

    .nav-link {
        font-size: 0.84rem;
        padding-inline: 0.1rem;
    }

    .nav-actions {
        gap: 0.45rem;
    }

    .btn-nav-rental,
    .nav-actions .btn-secondary {
        padding: 0.36rem 0.75rem;
        font-size: 0.76rem;
    }

    .nav-actions .btn-primary {
        padding: 0.48rem 1rem;
        font-size: 0.82rem;
    }
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: all var(--transition-base);
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: var(--text-main) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    background-color: transparent;
    color: var(--color-primary) !important;
    border: 1.5px solid var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.7rem 1.6rem;
    border-radius: var(--radius-pill);
    transition: all var(--transition-base);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-warm);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: transparent;
    z-index: 1010;
}

.mobile-toggle span {
    display: block;
    height: 2.5px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.site-header.scrolled .mobile-toggle span {
    background-color: var(--text-main);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
    background-color: var(--text-main);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
    background-color: var(--text-main);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 380px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 1005;
    padding: 6rem 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right var(--transition-base);
}

.mobile-drawer.open {
    right: 0;
}

.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    z-index: 1004;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mobile-nav-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    display: block;
    padding-block: 0.35rem;
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--color-primary);
}

.mobile-drawer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 7rem;
    padding-bottom: 5rem;
    background: url('images/jurtapozadi.jpg') center/cover no-repeat;
    color: #ffffff;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(18, 16, 14, 0.68) 0%,
            rgba(18, 16, 14, 0.5) 45%,
            rgba(18, 16, 14, 0.88) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin-inline: auto;
    animation: heroFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #f7ede2;
    margin-bottom: 1.75rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 0.95;
    margin-bottom: 0.75rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
    font-family: var(--font-hand);
    font-size: clamp(1.6rem, 3.5vw, 2.75rem);
    color: #e5b382;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-description {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    line-height: 1.7;
    max-width: 720px;
    margin-inline: auto;
    color: #f0eae1;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

/* Hero Feature Badges Bar */
.hero-features-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
    max-width: 1040px;
    margin-inline: auto;
}

.hero-feature-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    text-align: left;
    transition: all var(--transition-base);
}

.hero-feature-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: rgba(229, 179, 130, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #e5b382;
}

.hero-feature-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.hero-feature-text p {
    font-size: 0.8rem;
    color: #d8cfc4;
    margin: 0;
    line-height: 1.3;
}

/* ==========================================================================
   Program & Kurzy (Aktuálně v Jurtě)
   ========================================================================== */
.program-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 500;
    background-color: var(--bg-surface);
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    color: var(--text-main);
    border-color: var(--color-primary-light);
}

.filter-btn.active {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 4px 14px rgba(138, 87, 42, 0.25);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 2rem;
}

.event-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
    position: relative;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-light);
}

.event-card-media {
    position: relative;
    aspect-ratio: 1 / 1.15;
    overflow: hidden;
    background-color: #f0ebe1;
    cursor: pointer;
}

.event-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform var(--transition-slow);
}

.event-card:hover .event-card-media img {
    transform: scale(1.06);
}

.event-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(36, 34, 31, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-green {
    background-color: rgba(58, 90, 64, 0.85);
}

.badge-amber {
    background-color: rgba(138, 87, 42, 0.85);
}

.event-card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.event-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.event-card-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.event-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.event-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
}

.event-lecturer {
    font-size: 0.85rem;
    color: var(--text-light);
}

.event-lecturer strong {
    display: block;
    color: var(--text-main);
    font-size: 0.9rem;
}

.event-btn {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap var(--transition-fast);
}

.event-btn:hover {
    gap: 0.6rem;
    color: var(--color-primary-dark);
}

.card-socials {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.card-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-alt);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}

.card-social-link:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Tři pilíře (Aktivity)
   ========================================================================== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar-card {
    background-color: var(--bg-card);
    padding: 3rem 2.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-subtle);
    text-align: center;
    position: relative;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.pillar-icon-box {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-alt) 0%, #e8dfd3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    font-size: 2rem;
    color: var(--color-primary);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.pillar-card:hover .pillar-icon-box {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #ffffff;
    transform: scale(1.1);
}

.pillar-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.pillar-desc {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.pillar-features {
    text-align: left;
    width: 100%;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.pillar-features li {
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.pillar-features li svg {
    color: var(--color-accent);
    min-width: 16px;
}

/* ==========================================================================
   O nás / Příběh naší jurty
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4.5rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-photo-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-photo {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.about-badge-card {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.about-badge-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}

.about-badge-sub {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 600;
}

.about-content {
    display: flex;
    flex-direction: column;
}

.about-tagline {
    font-family: var(--font-hand);
    font-size: 1.35rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    transform: rotate(-1deg);
    display: inline-block;
}

.about-heading {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.about-quote {
    border-left: 3px solid var(--color-primary);
    padding-left: 1.5rem;
    margin-block: 1.5rem;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--color-primary-dark);
    font-family: var(--font-serif);
}

.yurt-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 1.75rem;
    margin-bottom: 2.25rem;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.spec-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.spec-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.15rem;
}

.spec-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.35;
}

/* ==========================================================================
   Fotogalerie Jurty (Interactive Grid & Lightbox)
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    background-color: #24221f;
}

.gallery-item.span-2 {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 16 / 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow), opacity var(--transition-base);
}

.gallery-item:hover img {
    transform: scale(1.08);
    opacity: 0.85;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: #ffffff;
}

.gallery-caption h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.gallery-caption p {
    font-size: 0.85rem;
    color: #e5d4c0;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 13, 11, 0.95);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-modal.active {
    display: flex;
    animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-info {
    margin-top: 1rem;
    color: #ffffff;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
}

.lightbox-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    color: #ffffff;
    font-size: 2rem;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: -4rem;
}

.lightbox-next {
    right: -4rem;
}

/* ==========================================================================
   Pronájem & Rezervační sekce
   ========================================================================== */
.reservation-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
}

.reservation-intro {
    padding: 3.5rem;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2f2a24 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.reservation-intro-top .tagline {
    font-family: var(--font-hand);
    color: #e5b382;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    display: block;
}

.reservation-intro-top h3 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.reservation-intro-top p {
    color: #c7beaf;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.rental-options-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.rental-option-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rental-option-item svg {
    color: #e5b382;
    margin-top: 0.2rem;
    min-width: 20px;
}

.rental-option-item h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.rental-option-item p {
    font-size: 0.85rem;
    color: #a8a094;
    margin: 0;
    line-height: 1.4;
}

.reservation-form-container {
    padding: 3.5rem;
    background-color: #ffffff;
}

.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.15rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-light);
    background-color: #fdfcfb;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(138, 87, 42, 0.12);
}

.phone-input-group {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
}

.phone-prefix-select {
    width: auto;
    min-width: 110px;
    flex-shrink: 0;
    padding-inline: 0.65rem;
    font-weight: 600;
    cursor: pointer;
}

.phone-number-input {
    flex: 1;
    min-width: 0;
    letter-spacing: 0.5px;
}

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* ==========================================================================
   Kontakt & Kde nás najdete
   ========================================================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 3.5rem;
    align-items: start;
}

.contact-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: all var(--transition-base);
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.35rem;
}

.contact-person-photo {
    width: 84px;
    height: 84px;
    min-width: 84px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 18%;
    border: 2.5px solid var(--color-primary-light);
    box-shadow: var(--shadow-sm);
}

.contact-card-body h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.35rem;
}

.contact-card-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.contact-card-body a {
    font-weight: 600;
    color: var(--color-primary);
}

.contact-card-body a:hover {
    text-decoration: underline;
}

.whatsapp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: #25d366;
    color: #ffffff !important;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    margin-top: 0.65rem;
    transition: transform var(--transition-fast);
}

.whatsapp-badge:hover {
    transform: scale(1.05);
    text-decoration: none !important;
}

/* Billing card */
.billing-card {
    background-color: var(--bg-alt);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    border: 1px solid var(--border-light);
}

.billing-card h4 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.billing-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.billing-details strong {
    color: var(--text-main);
}

/* Map Wrapper */
.map-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-subtle);
    height: 100%;
    min-height: 480px;
    background-color: #eae5dc;
    display: flex;
    flex-direction: column;
}

.map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    flex-grow: 1;
}

.map-footer {
    padding: 1.25rem 1.75rem;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-subtle);
}

.map-footer p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.map-btn {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* ==========================================================================
   Partneři
   ========================================================================== */
.partners-section {
    padding-block: 4.5rem;
    border-top: 1px solid var(--border-subtle);
}

.partners-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4.5rem;
    flex-wrap: wrap;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: all var(--transition-base);
}

.partner-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-3px);
}

.partner-img {
    height: 75px;
    width: auto;
    object-fit: contain;
}

.partner-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--text-on-dark);
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-brand .logo-main-text {
    color: #ffffff;
}

.footer-brand .logo-sub-text {
    color: #e5b382;
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--text-muted-dark);
    line-height: 1.65;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-dark-card);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-heading {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background-color: var(--color-primary-light);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted-dark);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 0.25rem;
}

.opening-hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: var(--text-muted-dark);
}

.opening-hours-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 0.4rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: var(--text-light);
    flex-wrap: wrap;
    gap: 1rem;
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--bg-dark);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 3000;
    transform: translateY(120%);
    transition: transform var(--transition-base);
    border-left: 4px solid var(--color-primary);
}

.toast-notification.show {
    transform: translateY(0);
}

/* ==========================================================================
   Pravidelná cvičení a kurzy (Flyer Cards Grid)
   ========================================================================== */
.cviceni-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.cviceni-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

.cviceni-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.cviceni-poster-wrap {
    position: relative;
    aspect-ratio: 1 / 1.38;
    background-color: #f7f4ef;
    overflow: hidden;
    cursor: pointer;
}

.cviceni-poster-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.cviceni-card:hover .cviceni-poster-wrap img {
    transform: scale(1.05);
}

.cviceni-poster-badge {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(36, 34, 31, 0.82);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    opacity: 0.9;
    transition: all var(--transition-fast);
}

.cviceni-card:hover .cviceni-poster-badge,
.event-card:hover .cviceni-poster-badge {
    background: var(--color-primary);
    opacity: 1;
}

.cviceni-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cviceni-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 0.85rem;
}

.cviceni-meta-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    background: var(--bg-alt);
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-primary);
}

.cviceni-meta-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.cviceni-meta-label {
    font-weight: 700;
    color: var(--color-primary-dark);
    min-width: 65px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cviceni-meta-val {
    color: var(--text-main);
    font-weight: 500;
    line-height: 1.35;
}

.cviceni-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.cviceni-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
    .cviceni-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-inline: auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-photo {
        height: 420px;
    }

    .reservation-card {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .map-card {
        min-height: 380px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.span-2 {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16 / 10;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .section {
        padding-block: 4rem;
    }

    .hero-section {
        padding-top: 6.5rem;
        padding-bottom: 4rem;
    }

    .hero-features-bar {
        grid-template-columns: 1fr;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .reservation-intro,
    .reservation-form-container {
        padding: 2.25rem 1.5rem;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
    }

    .yurt-specs-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .lightbox-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .cviceni-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-group .btn-primary,
    .hero-cta-group .btn-secondary {
        width: 100%;
    }

    .about-photo {
        height: 340px;
    }

    .about-badge-card {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        padding: 1rem;
    }

    .billing-details {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Ceník (Pronájem jurty, Oslavy, Pravidelné kurzy)
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: stretch;
}

.pricing-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
    padding: 2.75rem 2.25rem 2.25rem;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.pricing-card.featured {
    border: 2px solid var(--color-primary);
    box-shadow: 0 14px 40px rgba(138, 87, 42, 0.16);
    background: linear-gradient(180deg, #ffffff 0%, #faf6f0 100%);
    transform: scale(1.03);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-6px);
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.35rem 1.15rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 12px rgba(138, 87, 42, 0.3);
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-category {
    font-family: var(--font-hand);
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.pricing-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.85rem;
}

.pricing-seasons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.pricing-season-box {
    background-color: var(--bg-alt);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.75rem 0.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pricing-season-box.pricing-season-winter {
    background-color: #fbf5ee;
    border-color: var(--border-light);
}

.pricing-season-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
    display: block;
    white-space: nowrap;
}

.pricing-amount-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
    white-space: nowrap;
}

.pricing-amount {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    line-height: 1.1;
    white-space: nowrap;
}

.pricing-period {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-top: 0.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex-grow: 1;
}

.pricing-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.925rem;
    color: var(--text-main);
    line-height: 1.45;
}

.pricing-feature-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card .btn-primary,
.pricing-card .btn-outline {
    width: 100%;
    justify-content: center;
    text-align: center;
}

/* Tabulka doplňkových služeb a cvičení */
.pricing-extra-box {
    background-color: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2.75rem 3rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.pricing-extra-header {
    margin-bottom: 2rem;
    text-align: center;
}

.pricing-extra-header h3 {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    color: var(--text-main);
    margin-bottom: 0.4rem;
}

.pricing-extra-header p {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.pricing-extra-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 3rem;
}

.pricing-extra-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px dashed var(--border-subtle);
}

.pricing-extra-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.pricing-extra-name {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

.pricing-included-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.pricing-included-badge.is-included {
    background-color: var(--color-accent-soft);
    color: var(--color-accent);
}

.pricing-included-badge.is-extra {
    background-color: var(--bg-alt);
    color: var(--color-primary-dark);
}

.pricing-extra-note {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 400;
}

.pricing-extra-price {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-primary-dark);
    white-space: nowrap;
    text-align: right;
}

.pricing-important-info {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.pricing-important-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    text-align: center;
}

.pricing-important-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-important-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.pricing-important-list li svg {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.pricing-guarantee-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-guarantee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-guarantee-item svg {
    color: var(--color-primary);
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-inline: auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-6px);
    }

    .pricing-extra-grid,
    .pricing-important-list {
        grid-template-columns: 1fr;
    }

    .pricing-extra-box {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   Vylepšení responzivity a rozložení pro mobilní telefony
   (Zachovává design a čitelnost webu, opravuje přetékání a zarovnání)
   ========================================================================== */
@media (max-width: 768px) {

    .container,
    .container-narrow {
        padding-inline: 1.25rem;
    }

    /* Odstranění dvojitého vnitřního odsazení u sekce Kavárna, aby karta lícovala s ostatními */
    .kavarna-contain {
        padding-inline: 0;
    }

    /* Hlavička a mobilní vysouvací menu */
    .site-header {
        padding-block: 0.9rem;
    }

    .site-header.scrolled {
        padding-block: 0.65rem;
    }

    .logo-img {
        height: 44px;
    }

    .mobile-drawer {
        height: 100dvh;
        overflow-y: auto;
        padding: 5rem 1.75rem 2rem;
    }

    .mobile-nav-link.active {
        color: var(--color-primary);
        padding-left: 0.65rem;
        border-left: 3px solid var(--color-primary);
    }

    /* Hero sekce – plynulé přizpůsobení mobilní obrazovce */
    .hero-section {
        min-height: 100dvh;
        padding-top: 6.5rem;
        padding-bottom: 3rem;
    }

    .hero-badge {
        max-width: 100%;
        padding: 0.45rem 1rem;
        font-size: 0.85rem;
        line-height: 1.35;
        text-align: center;
    }

    .hero-cta-group {
        gap: 0.85rem;
        margin-bottom: 1rem;
    }

    /* O nás – hezčí zobrazení fotky a karet vlastností jurty */
    .about-photo {
        height: 390px;
    }

    .yurt-specs-grid {
        gap: 1rem;
    }

    .spec-item {
        background-color: var(--bg-surface);
        padding: 0.9rem 1rem;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        border: 1px solid var(--border-subtle);
    }

    /* Ceník – oprava přetékání letní/zimní sezóny na úzkých displejích */
    .pricing-card {
        padding: 2.25rem 1.5rem 1.75rem;
    }

    .pricing-season-box {
        padding: 0.65rem 0.35rem;
    }

    .pricing-season-label {
        white-space: normal;
        text-align: center;
        line-height: 1.25;
    }

    .pricing-extra-box {
        padding: 1.75rem 1.25rem;
        border-radius: var(--radius-lg);
    }

    .pricing-extra-item {
        align-items: center;
    }

    /* Rezervační karta a formulář */
    .reservation-card {
        border-radius: var(--radius-lg);
    }

    .reservation-intro,
    .reservation-form-container {
        padding: 2rem 1.35rem;
    }

    /* Kontakt a mapa – zarovnání karet a patičky mapy */
    .contact-card {
        padding: 1.4rem;
        gap: 1rem;
    }

    .contact-person-photo {
        width: 68px;
        height: 68px;
        min-width: 68px;
    }

    .map-card {
        min-height: 320px;
    }

    .map-card iframe {
        min-height: 270px;
    }

    .map-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
        padding: 1.15rem 1.35rem;
    }

    /* Patička a notifikace */
    .opening-hours-list li {
        flex-wrap: wrap;
        gap: 0.2rem 0.75rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .toast-notification {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
}

@media (max-width: 480px) {

    .event-card-content,
    .cviceni-content {
        padding: 1.35rem;
    }

    .event-card-footer {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
}

/* ==========================================================================
   Reenio Rezervační systém (rezervace.php)
   ========================================================================== */
.reenio-hero {
    position: relative;
    padding-top: 8.5rem;
    padding-bottom: 4rem;
    background: url('images/jurtapozadi.jpg') center/cover no-repeat;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.reenio-hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin-inline: auto;
}

.reenio-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #f0eae1;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    margin-bottom: 1.5rem;
    transition: all var(--transition-fast);
}

.reenio-back-link:hover {
    background: rgba(255, 255, 255, 0.24);
    color: #ffffff;
    transform: translateX(-3px);
}

.reenio-hero-tagline {
    display: block;
    font-family: var(--font-hand);
    font-size: 1.35rem;
    color: #e5b382;
    margin-bottom: 0.35rem;
}

.reenio-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 0.85rem;
}

.reenio-hero-subtitle {
    font-size: 1.05rem;
    color: #e6dfd5;
    max-width: 620px;
    margin-inline: auto;
    line-height: 1.6;
}

.reenio-course-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.reenio-course-pill {
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-pill);
    background-color: var(--bg-surface);
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.reenio-course-pill:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.reenio-course-pill.active {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 4px 14px rgba(138, 87, 42, 0.3);
}

.reenio-selected-banner {
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.reenio-selected-info {
    flex: 1 1 340px;
}

.reenio-selected-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--color-primary);
    background-color: var(--bg-alt);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.5rem;
}

.reenio-selected-info h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 0.35rem;
}

.reenio-selected-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

.reenio-selected-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.reenio-meta-pill {
    background-color: var(--bg-alt);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.reenio-meta-pill span {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.reenio-meta-pill strong {
    color: var(--text-main);
    font-weight: 700;
}

.reenio-widget-card {
    background-color: var(--bg-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.reenio-widget-header {
    padding: 1.15rem 2rem;
    background-color: var(--bg-dark);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.reenio-widget-header-left {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.95rem;
}

.reenio-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #4ade80;
    box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2);
}

.reenio-external-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #e5b382;
    font-size: 0.85rem;
    font-weight: 600;
}

.reenio-external-link:hover {
    color: #ffffff;
}

.reenio-widget-body {
    padding: 2rem;
    min-height: 540px;
    background-color: #ffffff;
}

.reenio-iframe {
    width: 100%;
    min-height: 500px;
}

.reenio-widget-footer {
    padding: 1.1rem 2rem;
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.reenio-help-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.reenio-rental-callout {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2f2a24 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.25rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    box-shadow: var(--shadow-md);
}

.reenio-rental-callout h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.reenio-rental-callout p {
    color: #c7beaf;
    font-size: 0.95rem;
    margin: 0;
    max-width: 640px;
}

@media (max-width: 768px) {
    .reenio-hero {
        padding-top: 6.5rem;
        padding-bottom: 2.75rem;
    }

    .reenio-course-selector {
        gap: 0.5rem;
    }

    .reenio-course-pill {
        padding: 0.5rem 0.95rem;
        font-size: 0.82rem;
    }

    .reenio-selected-banner {
        padding: 1.25rem;
        gap: 1.15rem;
    }

    .reenio-selected-meta {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }

    .reenio-widget-header,
    .reenio-widget-footer {
        padding: 1rem 1.25rem;
    }

    .reenio-widget-body {
        padding: 1rem 0.75rem;
        min-height: 420px;
    }

    .reenio-rental-callout {
        padding: 1.5rem 1.25rem;
        text-align: center;
        justify-content: center;
    }

    .reenio-rental-callout .btn-primary {
        width: 100%;
    }
}