﻿/* =========================
   ZÁKLAD / LAYOUT / NAV / HERO / FOOTER
   ========================= */
:root {
    --bg: #0b1020;
    --fg: #111827;
    --text: #0f172a;
    --muted: #6b7280;
    --white: #fff;
    --brand: #0ea5e9;
    --brand2: #22d3ee;
    --b: #e5e7eb;
    --card: #ffffff;
}

* {
    box-sizing: border-box
}

html, body {
    height: 100%
}

body {
    margin: 0;
    font-family: system-ui,Segoe UI,Roboto,Arial,sans-serif;
    color: #111;
    background: #fafafa
}

/* NAV */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    backdrop-filter: saturate(140%) blur(8px)
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg,rgba(8,12,24,.85),rgba(8,12,24,.55));
    color: var(--white)
}

.brand {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 800;
    letter-spacing: .2px
}

    .brand a {
        color: #fff;
        text-decoration: none
    }

    .brand .dot {
        width: 10px;
        height: 10px;
        border-radius: 999px;
        background: linear-gradient(45deg,var(--brand),var(--brand2))
    }

.menu {
    display: flex;
    gap: 16px;
    align-items: center
}

    .menu a {
        color: #e5e7eb;
        text-decoration: none;
        font-weight: 600
    }

        .menu a:hover {
            color: #fff
        }

    .menu .extra {
        opacity: .85
    }

.hamb {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer
}

@media (max-width:900px) {
    .menu {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(8,12,24,.96);
        border-bottom: 1px solid rgba(255,255,255,.08)
    }

        .menu a {
            padding: 14px 20px;
            border-top: 1px solid rgba(255,255,255,.06)
        }

    .hamb {
        display: block
    }

    .menu.open {
        display: flex
    }
}

/* HERO video */
.hero {
    position: relative;
    height: 62vh;
    min-height: 420px;
    background: #0b1020;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

    .hero video {
        position: absolute;
        inset: 0;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        object-fit: cover;
        filter: brightness(.7) saturate(110%)
    }

    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg,rgba(2,6,23,.35) 0%,rgba(2,6,23,.55) 55%,rgba(250,250,250,1) 100%)
    }

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 1100px
}

.hero h1 {
    font-size: clamp(28px,5vw,44px);
    margin: 10px 0 8px 0
}

.hero p {
    font-size: clamp(14px,2.3vw,18px);
    opacity: .95;
    margin: 0
}

/* MAIN wrapper (ak používaš) */
.wrap {
    max-width: 1140px;
    margin: -60px auto 40px auto;
    padding: 0 20px;
    position: relative
}

.card {
    background: var(--card);
    border: 1px solid var(--b);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(2,6,23,.06)
}

    .card .inner {
        padding: 20px
    }

/* FOOTER */
.footer {
    margin-top: 36px;
    background: #0b1020;
    color: #cbd5e1
}

    .footer .grid {
        max-width: 1140px;
        margin: 0 auto;
        padding: 28px 20px;
        display: grid;
        gap: 16px;
        grid-template-columns: repeat(12,1fr)
    }

.col {
    grid-column: span 12
}

@media(min-width:700px) {
    .col {
        grid-column: span 4
    }
}

.footer h4 {
    margin: 0 0 10px 0;
    color: #e2e8f0;
    font-size: 14px;
    letter-spacing: .5px;
    text-transform: uppercase
}

.footer a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    padding: 5px 0
}

    .footer a:hover {
        color: #fff
    }

.copy {
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
    padding: 12px 10px
}

.pill {
    display: inline-block;
    border: 1px solid rgba(255,255,255,.2);
    padding: 6px 10px;
    border-radius: 999px;
    margin-top: 12px;
    color: #e5e7eb;
    text-decoration: none
}

    .pill:hover {
        border-color: #fff;
        color: #fff
    }

/* =========================
   VÝPIS HOTELov – SCOPEnuté pod .th-listing
   (aby sa nebil s nav/hero/footer a inými kartami)
   ========================= */
.th-listing h1 {
    margin: 0 0 6px 0
}

/* grid */
.th-listing .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    gap: 16px;
}

/* karta */
.th-listing .card {
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none; /* nech nededí tieň z globálnej .card */
    background: #fff;
}

    /* hlavný obrázok v karte */
    .th-listing .card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        background: #f3f4f6;
        display: block;
    }

/* obsah */
.th-listing .p {
    padding: 12px
}

.th-listing .title {
    font-weight: bold;
    margin-bottom: 4px
}

.th-listing .meta {
    color: #555;
    font-size: 14px;
    margin-bottom: 6px
}

.th-listing .price {
    font-weight: bold;
    color: #000;
    margin: 6px 0
}

.th-listing .btn {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 12px;
    border: 1px solid #000;
    border-radius: 8px;
    text-decoration: none
}

/* galéria */
.th-listing .img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    background: #f3f4f6;
    display: block
}

.th-listing .photos {
    display: flex;
    gap: 6px;
    overflow: auto;
    margin-top: 8px
}

    .th-listing .photos img {
        width: 56px;
        height: 42px;
        object-fit: cover;
        border-radius: 8px;
        border: 1px solid #e5e7eb;
        cursor: pointer
    }

.th-listing .thumb--active {
    outline: 2px solid #111
}

/* --- Sticky SUBNAV (pre Hotely & Aktivity) --- */
:root {
    --navh: 56px;
}
/* výška hlavného navbaru */
.subnav-wrap {
    position: sticky;
    top: calc(var(--navh) + 6px);
    z-index: 35;
}

.subnav {
    display: flex;
    gap: 10px;
    overflow: auto;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: rgba(255,255,255,.8);
    backdrop-filter: saturate(140%) blur(8px);
    box-shadow: 0 6px 20px rgba(2,6,23,.08);
}

    .subnav a {
        white-space: nowrap;
        text-decoration: none;
        color: #111;
        font-weight: 600;
        padding: 8px 12px;
        border-radius: 999px;
        border: 1px solid transparent;
    }

        .subnav a:hover {
            background: #f4f4f5
        }

        .subnav a.active {
            border-color: #0ea5e955;
            box-shadow: 0 0 0 3px rgba(14,165,233,.15);
        }

/* Kotvy: aby ich nezakryl fixed navbar */
.section-anchor {
    scroll-margin-top: calc(var(--navh) + 70px);
}

/* Sekcie obsahu (len pre prehľadnosť) */
.section {
    padding: 20px 0;
}

/* Jemný prechod pri scrolli */
html {
    scroll-behavior: smooth;
}

/* Mobile úpravy */
@media (max-width:900px) {
    :root {
        --navh: 56px;
    }
    /* ak má mobil iný navbar, uprav tu */
    .subnav {
        border-radius: 14px;
    }
}

