﻿/* ============================================================
   INDEX PAGE STYLES - Therapy Website Theme
   ============================================================ */

/* ============ THEME VARIABLES ============ */
/* Centralized in Pages/Shared/_FrontendThemeVariables.cshtml */

/* ============ UTILITY CLASSES ============ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent-text);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

    .section-label::before {
        content: '';
        width: 40px;
        height: 1px;
        background: var(--color-accent);
    }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.2;
    margin-top: 0;
    color: var(--color-text);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

    .section-header .section-label {
        justify-content: center;
    }

    .section-header .section-subtitle {
        margin: 0 auto;
    }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-xl);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    line-height: 1;
}

.btn-primary {
    background: var(--color-text);
    color: var(--color-white);
}

    .btn-primary:hover {
        background: var(--color-primary);
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
    }

.btn-secondary {
    background: var(--color-white);
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
}

    .btn-secondary:hover {
        background: var(--color-bg-accent);
        transform: translateY(-3px);
    }

.btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

    .hero-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.15;
    }

    .hero-bg::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient( 135deg, rgba(248, 246, 243, 0.9) 0%, rgba(248, 246, 243, 0.7) 50%, rgba(232, 226, 217, 0.8) 100% );
    }

.hero-decoration {
    display: none;
}

.hero-circle {
    display: none;
}

.hero-circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.hero-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

.hero-circle-3 {
    display: none;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(30px, -30px) rotate(180deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 500;
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--color-text);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

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

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3; /* Fixed aspect ratio to prevent hero height changes */
}

/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 4 / 3) {
    .hero-image-wrapper {
        padding-top: 75%; /* 4:3 ratio = 75% */
        height: 0;
    }

        .hero-image-wrapper img {
            position: absolute;
            top: 0;
            left: 0;
        }
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover ensures image fills container without distortion */
    display: block;
}

.hero-badge {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: var(--color-white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-badge-icon {
    width: 50px;
    height: 50px;
    background: var(--color-accent-icon-bg);
    border: 1px solid color-mix(in srgb, var(--color-accent-text) 18%, var(--color-accent-border) 82%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-text);
    font-size: 1.5rem;
}

.hero-badge-text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.hero-badge-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1;
}

/* Alert in hero */
.hero .alert {
    background: var(--color-success);
    color: var(--color-white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

/* ============================================================
   HERO - OVERRIDES (jen rozdíly vůči šabloně)
   VLOŽIT NA KONEC SOUBORU
   ============================================================ */

/* 1) Template styl pro druhý řádek v H1 (pokud v titulku máš <span>) */
.hero-title span {
    display: block;
    font-style: italic;
    color: var(--color-primary);
}

/* 2) Tlačítka v hero – přebít Bootstrap .btn jen v této sekci */
.hero .hero-buttons .btn {
    padding: 16px 32px !important;
    border-radius: var(--radius-xl) !important;
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    border: none !important;
    text-decoration: none !important;
    width: auto; /* ať ti to neskáče, šířku řeší až mobile media query */
}

    .hero .hero-buttons .btn.btn-primary {
        background: var(--color-text) !important;
        color: var(--color-white) !important;
    }

        .hero .hero-buttons .btn.btn-primary:hover {
            background: var(--color-primary) !important;
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
        }

    .hero .hero-buttons .btn.btn-secondary {
        background: var(--color-white) !important;
        color: var(--color-text) !important;
        box-shadow: var(--shadow-sm);
    }

        .hero .hero-buttons .btn.btn-secondary:hover {
            background: var(--color-bg-accent) !important;
            transform: translateY(-3px);
        }

/* 3) Badge – největší vizuální rozdíl: template přesahuje ven z obrázku */
.hero .hero-badge {
    bottom: -30px !important;
    left: -30px !important;
}

/* 4) Mobile: badge už nepřesahuje (ať se to nerozbije) */
@media (max-width: 768px) {
    .hero .hero-badge {
        bottom: 20px !important;
        left: 20px !important;
    }

    .hero .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* HERO badge – ven z obrázku (template look) */
.hero .hero-image {
    position: relative;
}

.hero .hero-badge {
    bottom: -30px !important;
    left: -30px !important;
}

/* Mobile: vrať badge dovnitř, ať to neleze mimo viewport */
@media (max-width: 768px) {
    .hero .hero-badge {
        bottom: 20px !important;
        left: 20px !important;
    }
}



/* ============================================================
   RESERVATION / CALENDAR SECTION
   ============================================================ */
.reservation {
    padding: 100px 0;
    background: var(--color-white);
}

.reservation-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

    .reservation-header .section-label {
        justify-content: center;
        margin-bottom: 16px;
    }

        .reservation-header .section-label::before {
            display: inline-block;
            margin-right: 12px;
        }

    .reservation-header .section-title {
        margin-bottom: 20px;
    }

    .reservation-header .section-subtitle {
        margin: 0 auto;
        max-width: 700px;
    }

.notice-banner {
    background: var(--color-accent-soft);
    border: 1px solid color-mix(in srgb, var(--color-accent-text) 18%, var(--color-accent-border) 82%);
    border-radius: var(--radius-md);
    padding: 20px 32px;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    box-shadow: var(--shadow-sm);
}

    .notice-banner i {
        font-size: 1.75rem;
        flex-shrink: 0;
        color: var(--color-accent-text);
    }

.calendar-grid {
    display: grid;
    gap: 24px;
    margin-bottom: 50px;
}

/* Specific column count based on number of items */
.calendar-grid-1 {
    grid-template-columns: repeat(1, 1fr);
}

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

.calendar-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.calendar-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.calendar-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

.calendar-grid-6 {
    grid-template-columns: repeat(6, 1fr);
}

.calendar-grid-7 {
    grid-template-columns: repeat(7, 1fr);
}

.calendar-grid-8 {
    grid-template-columns: repeat(8, 1fr);
}

/* Fallback for more than 8 items */
.calendar-grid:not([class*="calendar-grid-"]) {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.calendar-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0; /* Allow grid items to shrink */
}

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

.calendar-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent-soft), var(--color-accent-soft-strong));
    border: 1px solid color-mix(in srgb, var(--color-accent-text) 16%, var(--color-accent-border) 84%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--color-accent-text);
    font-size: 1.5rem;
}

.calendar-day {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
}

.calendar-date {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1;
}

.calendar-month {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.slot-count {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    padding: 12px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

    .slot-count strong {
        color: var(--color-primary);
        font-size: 1.25rem;
        font-weight: 600;
    }

.slot-count-clickable {
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    user-select: none;
}

    .slot-count-clickable:hover {
        background: var(--color-bg-accent);
        color: var(--color-text);
    }

.slots-available {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 0;
    padding: 12px 0;
}

.slots-collapsible {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, padding 0.3s ease-out;
    padding: 0;
}

    .slots-collapsible.slots-visible {
        max-height: 200px;
        opacity: 1;
        padding: 12px 0;
    }

.slot-badge {
    display: inline-flex;
    padding: 8px 16px;
    background: rgba(122, 158, 122, 0.14);
    color: var(--color-success);
    border: 1px solid rgba(122, 158, 122, 0.24);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: none;
}

.calendar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--color-text);
    color: var(--color-white);
    text-decoration: none;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    margin-top: auto;
}

    .calendar-btn:hover {
        background: var(--color-primary);
        transform: translateX(4px);
    }

.reservation-cta {
    text-align: center;
}

/* ============================================================
   MOTTO SECTION
   ============================================================ */
.motto-section {
    padding: 104px 0 88px;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-warm) 100%);
}

.motto-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

    .motto-card .section-label {
        justify-content: center;
        margin-bottom: 16px;
    }

.motto-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: 20px;
}

.motto-content {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================================
   CONTENT SECTIONS (Article with Image)
   ============================================================ */
.content-section {
    padding: 100px 0;
    background: var(--color-white);
}

    .content-section:nth-of-type(even) {
        background: var(--color-bg);
    }

/* Two column grid - side by side */
.content-grid-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* One column grid - centered when no image */
.content-grid-one-col {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
}

.content-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

    .content-text > :first-child {
        margin-top: 0;
    }

    .content-text h2,
    .content-text h3,
    .content-text h4,
    .content-text h5,
    .content-text h6 {
        font-family: var(--font-display);
        color: var(--color-text);
        line-height: 1.14;
        letter-spacing: -0.01em;
        margin-bottom: 14px;
    }

    .content-text h2 {
        font-family: var(--font-display);
        font-size: clamp(1.95rem, 3vw, 2.35rem);
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .content-text h3 {
        font-size: clamp(1.55rem, 2.3vw, 1.8rem);
        margin-top: 32px;
        margin-bottom: 16px;
    }

    .content-text h4 {
        font-size: 1.28rem;
        margin-top: 28px;
    }

    .content-text h5 {
        font-size: 1.12rem;
        margin-top: 24px;
    }

    .content-text h6 {
        font-size: 1rem;
        font-weight: 600;
        margin-top: 22px;
    }

    .content-text h2 + p,
    .content-text h3 + p,
    .content-text h4 + p,
    .content-text h5 + p,
    .content-text h6 + p {
        margin-top: 0;
    }

    .content-text p {
        margin-bottom: 20px;
    }

    .content-text ul,
    .content-text ol {
        margin-bottom: 20px;
        padding-left: 24px;
    }

    .content-text li {
        margin-bottom: 10px;
        color: var(--color-text-muted);
    }

.content-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(45, 42, 38, 0.25), 0 8px 30px rgba(45, 42, 38, 0.15);
}

/* Offset border frame (shifted outside the image) */
.content-image .image-wrapper::before {
    content: none;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Feature Badges */
.feature-badges {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 14px;
}

.feature-badge-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--color-accent-soft), var(--color-accent-soft-strong));
    border: 1px solid color-mix(in srgb, var(--color-accent-text) 16%, var(--color-accent-border) 84%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-text);
    font-size: 1.35rem;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(45, 42, 38, 0.1);
}

.feature-badge span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.4;
}

/* ============================================================
   PORTFOLIO / BLOG CARDS (Stacked Articles)
   ============================================================ */
.portfolio-section {
    padding: 100px 0;
    background: var(--color-bg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.portfolio-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .portfolio-card:hover {
        transform: translateY(-12px);
        box-shadow: var(--shadow-lg);
    }

.portfolio-card-link {
    display: flex;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

    .portfolio-card-link:focus-visible {
        outline: 2px solid rgba(79, 70, 229, .35);
        outline-offset: 6px;
        border-radius: calc(var(--radius-lg) + 4px);
    }

/* ============================================================
   BLOG PAGER
   ============================================================ */
.blog-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.blog-pager-pages {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.blog-pager-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

    .blog-pager-link:hover {
        background: var(--color-bg-accent);
        color: var(--color-text);
    }

    .blog-pager-link.is-active {
        background: var(--color-text);
        color: var(--color-white);
        border-color: var(--color-text);
        pointer-events: none;
    }

    .blog-pager-link.is-disabled {
        opacity: 0.4;
        pointer-events: none;
    }

.blog-pager-ellipsis {
    color: var(--color-text-muted);
    padding: 0 4px;
}

.portfolio-card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

    .portfolio-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition-smooth);
    }

.portfolio-card:hover .portfolio-card-image img {
    transform: scale(1.05);
}

.portfolio-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, transparent 0%, rgba(45, 42, 38, 0.8) 100% );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.portfolio-card:hover .portfolio-card-overlay {
    opacity: 1;
}

.portfolio-card-overlay h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 8px;
}

.portfolio-card-overlay p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.portfolio-card-content {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .portfolio-card-content h4 {
        font-family: var(--font-display);
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--color-text);
        margin-bottom: 16px;
    }

.portfolio-card-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    flex: 1;
}

    .portfolio-card-text p {
        margin-bottom: 12px;
    }

        .portfolio-card-text p:last-child {
            margin-bottom: 0;
        }

/* Limit text length in cards */
.portfolio-card-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   PRICE SECTION
   ============================================================ */
.price-section {
    padding: 100px 0;
    background: var(--color-bg-warm);
}

    .price-section .section-header {
        text-align: center;
        margin-bottom: 60px;
    }

    .price-section .section-label {
        justify-content: center;
        margin-bottom: 16px;
    }

    .price-section .section-title {
        margin-bottom: 16px;
    }

    .price-section .section-subtitle {
        margin: 0 auto;
        max-width: 700px;
    }

.price-grid {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    box-shadow: var(--shadow-md);
}

.price-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.price-column .section-title {
    text-align: center;
    margin-bottom: 32px;
}

.price-column .section-label {
    justify-content: center;
}

.price-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

    .price-content > :first-child {
        margin-top: 0;
    }

    .price-content h2,
    .price-content h3,
    .price-content h4,
    .price-content h5,
    .price-content h6 {
        font-family: var(--font-display);
        color: var(--color-text);
        line-height: 1.14;
        letter-spacing: -0.01em;
        margin-bottom: 14px;
    }

    .price-content h2 {
        font-size: clamp(1.9rem, 2.7vw, 2.2rem);
        margin-top: 36px;
        margin-bottom: 18px;
    }

    .price-content h3 {
        font-size: clamp(1.5rem, 2vw, 1.72rem);
        margin-top: 30px;
        margin-bottom: 16px;
    }

    .price-content h4 {
        font-size: 1.24rem;
        margin-top: 26px;
    }

    .price-content h5 {
        font-size: 1.1rem;
        margin-top: 22px;
    }

    .price-content h6 {
        font-size: 1rem;
        font-weight: 600;
        margin-top: 20px;
    }

    .price-content p,
    .price-content ul,
    .price-content ol {
        color: var(--color-text-muted);
    }

    .price-content li {
        color: var(--color-text-muted);
    }

    .price-content table {
        width: 100%;
        margin: 24px 0;
        border-collapse: collapse;
    }

        .price-content table th,
        .price-content table td {
            padding: 12px 16px;
            text-align: left;
            border-bottom: 1px solid var(--color-border);
        }

        .price-content table td {
            color: var(--color-text-muted);
        }

        .price-content table th {
            background: var(--color-bg-accent);
            font-weight: 600;
            color: var(--color-text);
        }

        .price-content table tr:last-child td {
            border-bottom: none;
        }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
    padding: 100px 0;
    background: var(--color-white);
}

.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.contact-info-item {
    text-align: center;
    padding: 32px 24px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

    .contact-info-item:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }

.contact-info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-accent-soft), var(--color-accent-soft-strong));
    border: 1px solid color-mix(in srgb, var(--color-accent-text) 16%, var(--color-accent-border) 84%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--color-accent-text);
    font-size: 1.75rem;
}

.contact-info-item h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}

.contact-info-item p {
    color: var(--color-text-muted);
    margin: 0;
}

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

    .contact-info-item a:hover {
        color: var(--color-primary-dark);
        text-decoration: underline;
    }

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    /* Removed max-width to make it full width like other sections */
}

.spam-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.spam-widget-wrap {
    margin: 0 0 14px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.form-input {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

    .form-input:focus {
        outline: none;
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px var(--color-accent-glow);
    }

    .form-input::placeholder {
        color: var(--color-text-muted);
    }

textarea.form-input {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    text-align: center;
    margin-top: 32px;
}

/* ============================================================
   MAP SECTION
   ============================================================ */
.map-section {
    padding: 100px 0;
    background: var(--color-bg-warm);
}

.map-intro {
    text-align: center;
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 20px;
}

.map-frame {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
}

.map-caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-style: italic;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 991px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-image {
        order: -1;
    }

    /* Both two-col and one-col become single column on mobile */
    .content-grid-two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .content-grid-two-col .content-image {
        order: 1;
    }

    .content-grid-two-col .content-text {
        order: 2;
    }

    .content-grid-one-col {
        grid-template-columns: 1fr;
    }

    .price-grid-two {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    /* Calendar grid on tablet - reduce columns but keep responsive */
    .calendar-grid-6,
    .calendar-grid-7,
    .calendar-grid-8 {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    /* Portfolio cards - 2 columns on tablet */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }

    .reservation,
    .content-section,
    .price-section,
    .contact-section,
    .map-section,
    .portfolio-section {
        padding: 60px 0;
    }

    .motto-section {
        padding: 64px 0 56px;
    }

    .motto-card,
    .contact-form-wrapper {
        padding: 40px 24px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Hero badge smaller on mobile */
    .hero-badge {
        bottom: 20px;
        left: 20px;
        padding: 16px 20px;
        gap: 12px;
    }

    .hero-badge-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .hero-badge-text {
        font-size: 0.75rem;
    }

    .hero-badge-number {
        font-size: 1.5rem;
    }

    /* Feature badges on mobile */
    .feature-badges {
        flex-direction: column;
        gap: 20px;
        margin-top: 32px;
    }

    .feature-badge-icon {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }

    .feature-badge span {
        font-size: 0.9rem;
    }

    /* Calendar cards on mobile - 2 columns */
    .calendar-grid-1,
    .calendar-grid-2,
    .calendar-grid-3,
    .calendar-grid-4,
    .calendar-grid-5,
    .calendar-grid-6,
    .calendar-grid-7,
    .calendar-grid-8 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .calendar-card {
        padding: 24px 16px;
    }

    .calendar-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 12px;
    }

    .calendar-date {
        font-size: 2rem;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 40px;
    }

    .hero-circle-1,
    .hero-circle-2 {
        display: none;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    /* Portfolio cards - 1 column on mobile */
    .portfolio-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .portfolio-card-image {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

    .map-frame {
        height: 350px;
    }

    /* Calendar cards on very small screens - 1 column */
    .calendar-grid-1,
    .calendar-grid-2,
    .calendar-grid-3,
    .calendar-grid-4,
    .calendar-grid-5,
    .calendar-grid-6,
    .calendar-grid-7,
    .calendar-grid-8 {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .calendar-card {
        padding: 20px 12px;
    }

    .calendar-date {
        font-size: 1.75rem;
    }

    .calendar-day,
    .calendar-month {
        font-size: 0.75rem;
    }

    .calendar-btn {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
}

/* === Slot toggle row (label + badge together, NO chevron) === */
.slot-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    user-select: none;
    text-decoration: none; /* protože je to <a> */
    color: inherit;
}

.slot-toggle-left {
    display: inline-flex;
    align-items: center;
    gap: 10px; /* label + badge k sobě */
    min-width: 0;
}

.slot-toggle-label {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.2;
    white-space: nowrap;
}

.slot-toggle-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--color-accent-soft);
    color: var(--color-accent-text);
    border: 1px solid color-mix(in srgb, var(--color-accent-text) 18%, var(--color-accent-border) 82%);
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* Klikací stav */
.slot-toggle.slot-count-clickable {
    cursor: pointer;
    justify-content: space-between;
}

    .slot-toggle.slot-count-clickable .slot-toggle-label {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    /* Hover – ať to působí jako odkaz (jemně) */
    .slot-toggle.slot-count-clickable:hover .slot-toggle-label {
        color: var(--color-text);
    }

    /* Fokus pro klávesnici (a11y) */
    .slot-toggle.slot-count-clickable:focus-visible {
        outline: 2px solid rgba(79, 70, 229, .35); /* můžeš nechat, nebo dát var */
        outline-offset: 4px;
        border-radius: 10px;
    }

/* === Collapsible slots container === */
.slots-collapsible {
    display: none;
    margin-top: 10px;
}

    .slots-collapsible.slots-visible {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

/* === Single slot badge === */
.slot-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--color-accent-soft);
    color: var(--color-accent-text);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1;
    border: 1px solid color-mix(in srgb, var(--color-accent-text) 18%, var(--color-accent-border) 82%);
}

/* Mobile: ať se to nezalamuje divně */
@media (max-width: 576px) {
    .slot-toggle {
        justify-content: center;
        padding: 10px 0;
    }

    .slot-toggle.slot-count-clickable {
        flex-direction: column;
        gap: 6px;
    }

    .slot-toggle-left {
        justify-content: center;
        width: 100%;
    }

    .slot-toggle-label {
        font-size: 0.92rem;
    }
}




/* ============================================================
   SMOOTH SCROLLING
   ============================================================ */
html {
    scroll-behavior: smooth;
}

.scrollto {
    scroll-behavior: smooth;
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
    .hero-decoration,
    .hero-buttons,
    .calendar-btn,
    .reservation-cta,
    .contact-form-wrapper,
    .map-wrapper {
        display: none;
    }

    .hero,
    .reservation,
    .content-section,
    .price-section,
    .contact-section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
}

/* ============ PRICE SECTION (template) ============ */
.price {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--color-bg-warm) 0%, var(--color-bg) 100%);
}

.price-header {
    text-align: center;
    margin-bottom: 60px;
}

    .price-header .section-label {
        justify-content: center;
    }

        .price-header .section-label::before {
            display: none;
        }

    .price-header .section-subtitle {
        margin: 0 auto;
    }

.price-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    /* ✅ stejné “plné” jako dřív */
    max-width: none;
    margin: 0;
}

.price-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 48px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    color: var(--color-text-muted);
}

    .price-card > :first-child {
        margin-top: 0;
    }

    .price-card::before {
        content: none;
    }

    .price-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
    }

.price-card h2,
.price-card h3,
.price-card h4,
.price-card h5,
.price-card h6 {
    font-family: var(--font-display);
    color: var(--color-text);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.price-card h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.12;
    margin-bottom: 12px;
}

.price-card h3 {
    font-size: clamp(1.5rem, 2.2vw, 1.8rem);
    margin-top: 28px;
    margin-bottom: 14px;
}

.price-card h4 {
    font-size: 1.24rem;
    margin-top: 24px;
    margin-bottom: 12px;
}

.price-card h5 {
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.price-card h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 18px;
    margin-bottom: 10px;
}

.price-card .subtitle {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.price-card > :last-child {
    margin-bottom: 0;
}

.price-card p,
.price-card ul,
.price-card ol,
.price-card li {
    color: var(--color-text-muted);
}

.price-list {
    list-style: none;
    margin-top: 24px;
    padding: 0;
}

    .price-list li {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        padding: 12px 0;
        border-bottom: 1px solid var(--color-bg-accent);
    }

        .price-list li:last-child {
            border-bottom: none;
        }

    .price-list .service {
        color: var(--color-text);
    }

    .price-list .amount {
        font-weight: 600;
        color: var(--color-primary);
        white-space: nowrap;
    }

/* Responsive */
@media (max-width: 768px) {
    .price-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================
   PRICE - force template layout
   ============================= */

.price .price-grid {
    /* ✅ grid je jen layout – žádná “společná karta” */
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px; /* větší mezera jako v HTML */
    max-width: none;
    margin: 0;
}

.price .price-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

    .price .price-card::before {
        content: none;
    }

/* Mobile */
@media (max-width: 768px) {
    .price .price-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* =============================
   COOKIE BAR
   ============================= */
.cookie-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 -8px 20px rgba(15, 23, 42, 0.08);
    backdrop-filter: saturate(140%) blur(4px);
}

.cookie-bar__inner {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.cookie-bar__text {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    line-height: 1.35;
    color: var(--color-text, #1f2937);
    min-width: 0;
}

.cookie-bar__title {
    color: #0f172a;
    font-weight: 600;
    white-space: nowrap;
}

.cookie-bar__desc {
    opacity: 0.9;
}

.cookie-bar__more {
    color: var(--color-primary, #2563eb);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-bar__actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .cookie-bar__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .cookie-bar__actions {
        width: 100%;
    }

    .cookie-bar__actions .btn {
        flex: 1 1 0;
    }
}
