/* === ZÁKLADNÍ NASTAVENÍ === */

body {
    margin: 0;
    padding-top: 80px;
    font-family: 'Source Sans 3', sans-serif;
    background: #F8F6F2; /* světlejší styl */
    color: #333;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Lora', serif;
    margin-top: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: .2s ease;
}

/* === KONTEJNER === */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === HLAVIČKA === */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #F8F6F2; /* sjednocená světlejší barva */
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center; /* desktop centrování */
    align-items: center;
    border-bottom: 1px solid #ddd;
    z-index: 1000;
    gap: 40px;
}

/* === DESKTOP MENU === */

nav {
    display: flex;
    gap: 20px;
}

nav a:hover {
    background: rgba(122, 31, 42, 0.12);
    color: #7A1F2A;
}

.header-btn {
    padding: 10px 20px;
    background: #7A1F2A;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: .2s ease;
}

.header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(122, 31, 42, 0.35);
}

/* === HAMBURGER === */

.hamburger {
    display: none;
    font-size: 32px;
    cursor: pointer;
    user-select: none;
}

#menu-toggle {
    display: none;
}

/* === MOBILNÍ MENU – OPRAVA ZAROVNÁNÍ A POSUNU === */

@media (max-width: 700px) {

    /* Header layout */
    header {
        justify-content: space-between;
        align-items: center;
        padding: 0 16px;
        height: 70px;
        background: #F8F6F2;
    }

    /* Skryj desktop menu */
    nav,
    .header-btn {
        display: none;
    }

    /* Hamburger */
    .hamburger {
        display: block;
        font-size: 32px;
        cursor: pointer;
        z-index: 3001;
    }

    /* Otevřené menu */
    #menu-toggle:checked ~ nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #F8F6F2;
        padding: 25px 0 40px;
        gap: 18px;
        border-bottom: 1px solid #ddd;
        z-index: 3000;

        /* TADY JE KLÍČ */
        align-items: center;
        text-align: center;
    }

    /* Odkazy uvnitř menu */
    #menu-toggle:checked ~ nav a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        margin: 0;
    }

    /* Tlačítko rezervovat na mobilu nechceme */
    #menu-toggle:checked ~ .header-btn {
        display: none !important;
    }
}



/* === SEKCE === */

section {
    padding: 100px 0 80px;
}

.section-light { background: #F8F6F2; }
.section-dark { background: #F0ECE6; } /* světlejší varianta */

/* === HERO === */

.hero {
    text-align: center;
    padding-top: 120px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

/* === TLAČÍTKA === */

.btn {
    padding: 12px 22px;
    background: #7A1F2A;
    color: white;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    transition: .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(122, 31, 42, 0.35);
}

.btn-outline {
    padding: 12px 22px;
    border: 2px solid #7A1F2A;
    color: #7A1F2A;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    transition: .2s ease;
}

.btn-outline:hover {
    background: rgba(122, 31, 42, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(122, 31, 42, 0.35);
}

/* === POKOJE === */

.rooms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    align-items: stretch;
}

.room-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 20px;
}

.room-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.room-card h3 {
    font-size: 1.4rem;
    margin: 20px 20px 10px 20px;
    font-weight: 600;
}

.room-card p {
    margin: 0 20px 20px 20px;
    line-height: 1.55;
    opacity: 0.9;
    font-size: 1rem;
}

.btn-small {
    padding: 12px 24px;
    background: #7A1F2A;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    width: fit-content;
    margin: auto auto 0 auto;
    transition: .2s ease;
}

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(122, 31, 42, 0.35);
}

/* === GALERIE === */

.gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.gallery-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    transition: .2s ease;
}

.gallery-item img:hover {
    transform: scale(1.04);
}

/* === LIGHTBOX === */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.lightbox:target {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    pointer-events: none;
    z-index: 2002;
}

.lightbox .close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 48px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    z-index: 2003;
    cursor: pointer;
    transition: .2s ease;
}

.lightbox .close:hover {
    opacity: 0.6;
}

/* === FOOTER === */

footer {
    background: #F0ECE6;
    text-align: center;
    padding: 30px 0;
    font-size: 0.95rem;
    color: #444;
    border-top: 1px solid #d6d1c8;
    margin-top: 1px;
}

/* === RESPONSIVITA === */

@media (max-width: 1000px) {
    .rooms { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .rooms { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
}
