/*
    STYLY PRO CHATA U LESA (FINÁLNÍ VERZE - BEZ LOGA)
*/

:root {
    --primary-color: #A32929; /* Tmavě červená / Vínová */
    --secondary-color: #333; /* Tmavě šedá pro text */
    --accent-color: #D4A373; /* Hnědá/béžová pro akcenty */
    --light-gray: #f4f4f4;
    --dark-bg: #222;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: #fff;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

/* --- HLAVIČKA A NAVIGACE --- */
header {
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--primary-color);
}

.logo h1 {
    font-size: 1.5em;
    font-weight: 700;
    padding: 0;
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--secondary-color);
    font-weight: 600;
    padding: 5px 10px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Tlačítka v navigaci */
.button {
    display: inline-block;
    padding: 10px 20px;
    text-align: center;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s;
    border: 2px solid transparent;
}

.primary-button {
    background: var(--primary-color);
    color: #fff;
}

.primary-button:hover {
    background: #8b2323;
}

.secondary-button {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-button:hover {
    background: var(--light-gray);
}

.large-button {
    padding: 12px 25px;
    font-size: 1.1em;
}

/* Hamburger menu (pro mobilní zobrazení) */
.hamburger-menu {
    display: none; /* Skryté na desktopu */
    cursor: pointer;
    padding: 10px;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    margin: 5px 0;
}

/* --- HERO SEKCE S VIDEEM (OPRAVA POZICOVÁNÍ) --- */
#video-hero {
    position: relative; 
    height: 30vh; 
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transform: translate(-50%, -50%); 
    z-index: 1; 
}

#video-hero .container {
    position: relative;
    z-index: 2; 
    color: #fff;
    background: rgba(0, 0, 0, 0.4); 
    padding: 20px 40px;
    border-radius: 10px;
}

.hero-content h2 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* --- HLAVNÍ OBSAH STRÁNEK --- */
.page-section {
    padding: 60px 0;
}

.bg-light-gray {
    background-color: var(--light-gray);
}

h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--white);
}

.intro-text {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Sekce o chatě (features) */
#about .features {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    text-align: center;
    margin-top: 20px;
}

.feature-item img {
    max-width: 100%;
    height: auto;
    max-height: 250px; 
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 8px;
}

/* Ostatní detailní styly (rental-flex, accommodation-grid, detail-content-flex, lightbox, price-table, activity-season) */

.rental-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 30px 0;
}

.rental-text {
    flex: 1;
}

.rental-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.rental-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.accommodation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.accommodation-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.detail-content-flex {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 50px;
    border-bottom: 1px dashed var(--light-gray);
    padding-bottom: 30px;
}

.detail-content-flex.reverse {
    flex-direction: row-reverse;
}

.detail-text {
    flex: 1.5;
    padding-top: 20px;
}

.detail-image {
    flex: 1;
    min-width: 250px; 
    max-width: 350px; 
    cursor: zoom-in; 
}

.detail-image img {
    width: 100%;
    height: auto; 
    max-height: 300px; 
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000; 
    display: none; 
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    display: block;
    margin: auto;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.price-table-container {
    max-width: 700px;
    margin: 0 auto 50px auto;
    overflow-x: auto;
}

.price-table-container table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.price-table-container th, .price-table-container td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.price-table-container th {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: bold;
}

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

.discount-note {
    text-align: center;
    padding: 40px 20px;
    border: 2px dashed var(--accent-color);
    border-radius: 8px;
}

.activity-season {
    max-width: 800px;
    margin: 0 auto;
}

.activity-season h2 {
    text-align: left;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Změněno z <ul> na blokový obsah */
.activity-season h3 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 5px;
}

.activity-season p {
    margin-bottom: 15px;
    font-size: 1.05em;
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
}

/* --- Kontakt --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.reservation-info {
    padding: 20px;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.reservation-info h3 {
    color: #fff;
    margin-bottom: 10px;
}

.contact-details h3 {
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 5px;
}

.contact-form-block form {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
}

.contact-form-block label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
}

.contact-form-block input, 
.contact-form-block textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.map-block {
    margin-top: 40px;
}

/* --- ZÁPATÍ --- */
footer {
    background: var(--dark-bg);
    color: #fff;
    padding: 40px 0 20px 0;
    margin-top: 30px;
    font-size: 0.9em;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a, .footer-contact p, .footer-about p {
    color: #ccc;
    margin-bottom: 5px;
    line-height: 1.8;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* --- MEDIA QUERIES (RESPONZIVITA) --- */
@media (max-width: 900px) {
    .detail-content-flex, .detail-content-flex.reverse {
        flex-direction: column;
    }
    .rental-flex {
        flex-direction: column;
    }
    .rental-text h2 {
        text-align: center;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    
    header .container {
        flex-wrap: wrap;
    }
    
    nav {
        display: none; 
        width: 100%;
        order: 3;
        margin-top: 10px;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    nav ul li {
        margin: 5px 0;
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
        padding-bottom: 5px;
    }
    
    .hamburger-menu {
        display: block; 
    }

    .hero-content h2 {
        font-size: 2em;
    }
    
    #about .features {
        flex-direction: column;
    }
    
    .detail-image {
        min-width: 100%; 
        max-width: 100%; 
        order: -1; 
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}