:root {
    --color-bg: #f5f1e8;
    --color-surface: rgba(255, 255, 255, 0.92);
    --color-surface-strong: rgba(255, 255, 255, 0.96);
    --color-text: #1f1f1f;
    --color-muted: #5f5a53;
    --color-primary: #355c7d;
    --color-primary-dark: #26445c;
    --color-border: rgba(53, 92, 125, 0.16);
    --color-dark: #23313d;
    --color-dark-soft: rgba(35, 49, 61, 0.9);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-light: 0 8px 24px rgba(0, 0, 0, 0.08);
    --radius-lg: 20px;
    --radius-md: 14px;
    --max-width: 1200px;
    --max-width-narrow: 900px;
    --header-height: 76px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    background: var(--color-bg);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.7;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    display: block;
}

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

    a:hover {
        text-decoration: underline;
    }

.container {
    width: min(100% - 2rem, var(--max-width));
    margin: 0 auto;
}

.narrow {
    width: min(100%, var(--max-width-narrow));
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: var(--header-height);
    background: rgba(245, 241, 232, 0.96);
    border-bottom: 1px solid rgba(53, 92, 125, 0.12);
}

    .site-header.scrolled {
        background: rgba(245, 241, 232, 0.98);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    }

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0 0.5rem;
}

.site-logo {
    color: var(--color-primary-dark);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
}

    .site-logo:hover {
        text-decoration: none;
    }

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

    .site-nav a {
        color: var(--color-primary-dark);
        font-size: 1.05rem;
        font-weight: 600;
        text-decoration: none;
    }

        .site-nav a:hover {
            color: var(--color-primary);
        }

        .site-nav a.active {
            color: var(--color-primary);
            text-decoration: underline;
        }

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 0.25rem;
    cursor: pointer;
}

.menu-toggle-line {
    display: block;
    width: 26px;
    height: 2px;
    margin: 5px 0;
    background: var(--color-primary-dark);
}

/* HERO */

.hero-section {
    min-height: calc(100vh - var(--header-height));
    background: linear-gradient(rgba(20, 20, 20, 0.36), rgba(20, 20, 20, 0.34)), url('/images/hero/hero-main.jpg') center center / cover no-repeat;
}

.hero-overlay {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    color: #ffffff;
    padding: 5rem 0 6rem;
    max-width: 760px;
    text-align: center;
}

.hero-kicker {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.92;
}

.hero-content h1 {
    margin: 0 0 1rem;
    font-size: clamp(3rem, 6vw, 5.2rem);
    line-height: 1.03;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

.hero-text {
    max-width: 680px;
    margin: 0 0 2rem;
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    line-height: 1.65;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* BUTTONS */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.8rem 1.3rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease, background-color 0.15s ease;
}

    .button:hover {
        text-decoration: none;
        transform: translateY(-1px);
    }

.button-primary {
    background: rgba(53, 92, 125, 0.95);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

    .button-primary:hover {
        background: var(--color-primary-dark);
    }

.button-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

    .button-secondary:hover {
        background: rgba(255, 255, 255, 0.08);
    }

/* SECTIONS */

.content-section {
    padding: 5rem 0;
    scroll-margin-top: calc(var(--header-height) + 12px);
}

.section-light {
    background: transparent;
}

.section-accent {
    background: linear-gradient(180deg, #efe7d8 0%, #f7f3ec 100%);
}

.section-dark {
    background: var(--color-dark-soft);
    color: #ffffff;
}

.section-heading {
    margin-bottom: 2rem;
    text-align: center;
}

    .section-heading h2 {
        margin: 0 0 0.75rem;
        color: var(--color-primary-dark);
        font-size: clamp(2.4rem, 4vw, 3.4rem);
        line-height: 1.1;
    }

    .section-heading p {
        max-width: 680px;
        margin: 0 auto;
        color: var(--color-muted);
        font-size: 1.15rem;
    }

.section-heading-light h2,
.section-heading-light p {
    color: #ffffff;
}

/* CARDS */

.text-card,
.price-card,
.contact-box {
    background: var(--color-surface);
    border: 1px solid rgba(53, 92, 125, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    padding: 2rem;
}

    .text-card p {
        margin-top: 0;
        margin-bottom: 1.25rem;
    }

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

/* FEATURES */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--color-surface-strong);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
    padding: 1.5rem;
}

    .feature-card h3 {
        margin-top: 0;
        margin-bottom: 0.75rem;
        color: var(--color-primary-dark);
    }

/* PRICE TABLES */

.price-table-wrapper {
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 540px;
}

    .price-table th,
    .price-table td {
        padding: 1rem;
        text-align: left;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .price-table thead th {
        color: var(--color-primary-dark);
        font-size: 1.05rem;
    }

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.price-name {
    font-weight: 600;
}

.price-value {
    font-weight: 700;
    color: var(--color-primary-dark);
}

.price-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--color-muted);
}

/* GALLERIES */

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

.gallery-item {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    background: #d8d2c7;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.placeholder-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-dark);
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #d8d2c7 0%, #eee7da 100%);
}

/* UBYTOVANI GALLERY 2x2 */

.gallery-ubytovani {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

    .gallery-ubytovani .gallery-item {
        padding: 0;
        background: none;
        box-shadow: none;
        aspect-ratio: auto;
    }

        .gallery-ubytovani .gallery-item img {
            display: block;
            width: 100%;
            height: 260px;
            object-fit: cover;
            border-radius: 12px;
            transition: transform 0.3s ease;
        }

        .gallery-ubytovani .gallery-item:hover img {
            transform: scale(1.05);
        }

/* CONTACT */

.contact-box {
    text-align: center;
}

.contact-title-main {
    margin-top: 0;
    margin-bottom: 1.75rem;
    font-size: 2rem;
    color: var(--color-primary-dark);
    text-align: center;
}

.contact-columns {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.contact-left {
    flex: 1;
    font-weight: 600;
    line-height: 1.6;
}

.contact-right {
    flex: 1;
    max-width: 320px;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.3rem 0;
}

    .contact-row span {
        color: var(--color-muted);
        white-space: nowrap;
    }

    .contact-row strong {
        text-align: right;
    }

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

.contact-links {
    margin-top: 1rem;
}

.contact-note {
    margin-top: 1.5rem;
    font-style: italic;
    color: var(--color-muted);
}

.fb-link,
.fb-share {
    display: inline-block;
    margin: 0 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.15s ease;
}

.fb-link {
    color: #ffffff !important;
    background: #1877f2;
}

    .fb-link:hover {
        background: #0f5ec4;
        text-decoration: none;
    }

.fb-share {
    color: var(--color-primary-dark) !important;
    border: 1px solid var(--color-primary-dark);
    background: transparent;
}

    .fb-share:hover {
        background: rgba(53, 92, 125, 0.08);
        text-decoration: none;
    }

/* MAP */

.map-wrapper {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.map-inside {
    margin-top: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

#map {
    width: 100%;
    height: 320px;
    border-radius: 10px;
}

/* FOOTER */

.site-footer {
    padding: 1.5rem 0;
    background: #18212a;
    color: rgba(255, 255, 255, 0.86);
}

.footer-inner {
    text-align: center;
}

    .footer-inner p {
        margin: 0;
    }

/* RESPONSIVE */

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

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

@media (max-width: 768px) {
    .menu-toggle {
        display: inline-block;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(245, 241, 232, 0.99);
        border-bottom: 1px solid rgba(53, 92, 125, 0.12);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    }

        .site-nav.is-open {
            display: flex;
        }

        .site-nav a {
            padding: 1rem;
            border-top: 1px solid rgba(53, 92, 125, 0.08);
        }

    .hero-content {
        padding: 4rem 0;
        max-width: 100%;
    }

    .content-section {
        padding: 4rem 0;
    }

    .text-card,
    .price-card,
    .contact-box {
        padding: 1.5rem;
    }

    .contact-columns {
        flex-direction: column;
        text-align: center;
    }

    .contact-right {
        max-width: 100%;
    }

    .contact-row {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .gallery-ubytovani {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        width: min(100% - 1.25rem, var(--max-width));
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .hero-text {
        font-size: 1rem;
    }

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

    .button {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }
}
