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

:root {
    --dark: #1b261d;
    --moss: #4a5d45;
    --wood: #8c6a46;
    --wood-light: #b08a66;
    --paper: #fdfaf1;
    --paper-dark: #f0ead8;
    --cream: #faf6eb;
    --white: #ffffff;
    --shadow: rgba(27, 38, 29, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--paper);
    color: var(--dark);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100svh;
    min-height: 500px;
    background: linear-gradient(160deg, rgba(27,38,29,0.55) 0%, rgba(27,38,29,0.3) 60%, rgba(140,106,70,0.4) 100%),
                url('chata2.JPG') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--paper));
}

.hero-badge {
    display: inline-block;
    border: 1.5px solid rgba(255,255,255,0.5);
    padding: 6px 18px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 12vw, 7rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero p {
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    font-weight: 400;
    letter-spacing: 2px;
    opacity: 0.85;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 0.8s ease 1s forwards;
}

.hero-scroll::after {
    content: '';
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.5);
    animation: scrollLine 1.5s ease infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== NAVIGACE ===== */
nav {
    background: var(--white);
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 0;
    list-style: none;
}
.nav-logo-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.nav-links a {
    display: block;
    padding: 8px 14px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 1px;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-links a:hover { color: var(--wood); }

.nav-links a.active { color: var(--wood); }

.nav-burger-link {
    background: var(--dark);
    color: white !important;
    border-radius: 6px;
    padding: 8px 14px !important;
    transition: background 0.2s !important;
}
.nav-burger-link:hover { background: var(--wood) !important; color: white !important; }

/* Hamburger tlačítko */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== OBSAH ===== */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-label {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--wood);
    margin-bottom: 12px;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.card {
    background: var(--white);
    padding: clamp(24px, 5vw, 48px);
    border-radius: 16px;
    box-shadow: 0 4px 30px var(--shadow);
    margin-bottom: 30px;
    border-left: 5px solid var(--wood);
}

/* ===== GALERIE ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 30px;
}

.gallery-grid .gallery-item:first-child {
    grid-column: 1 / -1;
    height: 400px;
}

.gallery-item {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
    cursor: zoom-in;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(27,38,29,0.2);
}

/* ===== CTA SEKCE ===== */
.cta-strip {
    background: var(--dark);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.cta-strip h2 { color: white; margin-bottom: 8px; }
.cta-strip p { color: rgba(255,255,255,0.65); margin-bottom: 30px; font-size: 0.9rem; }

.btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary { background: var(--wood); color: white; }
.btn-primary:hover { background: var(--wood-light); transform: translateY(-2px); }

.btn-outline { background: transparent; color: white; border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: white; transform: translateY(-2px); }

/* ===== HERO SEKCE NA PODSTRÁNKÁCH ===== */
.page-hero {
    height: 35vh;
    min-height: 200px;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: clamp(20px, 5vw, 60px);
    color: white;
    position: relative;
    overflow: hidden;
}

.page-hero.has-image {
    background-size: cover;
    background-position: center;
}

.page-hero.has-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27,38,29,0.85) 0%, rgba(27,38,29,0.3) 100%);
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 7vw, 3.5rem);
    font-weight: 900;
    position: relative;
    line-height: 1.1;
}

.page-hero .hero-sub {
    position: relative;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
    letter-spacing: 1px;
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.45);
    padding: 40px 20px;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

footer a { color: rgba(255,255,255,0.6); text-decoration: none; }
footer a:hover { color: white; }

/* ===== MOBILNÍ MENU ===== */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0; right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        box-shadow: 0 10px 40px var(--shadow);
        transform: translateY(-110%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a { padding: 12px 16px; font-size: 0.85rem; border-radius: 8px; }
    .nav-links a:hover { background: var(--paper); }
    .nav-burger-link { text-align: center; margin-top: 8px; }

    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-grid .gallery-item:first-child { grid-column: 1; height: 220px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 3.2rem; }
    .container { padding: 40px 16px; }
}

