/* --- CSS Proměnné (Design Systém) --- */
:root {
    --color-primary: #2C5E3B; /* Lesní zelená */
    --color-primary-light: #3E8253;
    --color-accent: #D4AF37; /* Zlatavá/Písková */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #FFFFFF;
    --color-bg-light: #F7F9F8;
    --color-dark: #1A1A1A;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
}

/* --- Základní reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-bg);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

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

/* --- Utility třídy --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

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

.bg-dark {
    background-color: var(--color-dark);
    color: #fff;
}

.bg-dark h2, .bg-dark p {
    color: #fff;
}

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-header h2 {
    font-size: 2.5rem;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

/* --- Grid Systém --- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* --- Tlačítka --- */
.btn-primary, .btn-large, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

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

.btn-large {
    background-color: var(--color-accent);
    color: var(--color-dark);
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-large:hover {
    background-color: #e5c158;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: white;
}

/* --- Navigace --- */
#main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    margin-left: 30px;
    transition: var(--transition);
}

.nav-links a:hover:not(.btn-primary) {
    color: var(--color-primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-primary);
    cursor: pointer;
}

/* --- Hero Sekce --- */
#hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1587061949409-02df41d5e562?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); /* Zástupný obrázek */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    color: white;
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* --- Vybavení (Amenities) --- */
.amenity-card {
    background: white;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.amenity-card i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.amenity-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--color-text);
    font-family: var(--font-body);
}

/* --- Karty Pokojů --- */
.room-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.room-img {
    height: 250px;
    background-color: #ddd; /* Placeholder pro obrázek */
    background-size: cover;
    background-position: center;
    position: relative;
}

.room-price {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--color-primary);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
}

.room-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.room-features {
    list-style: none;
    margin: 15px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.room-features li {
    font-size: 0.9rem;
    background: var(--color-bg-light);
    padding: 5px 12px;
    border-radius: 15px;
    color: var(--color-text-light);
}

.room-desc {
    color: var(--color-text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* --- Mapa a Lokalita --- */
.location-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

#map-container {
    height: 400px;
    width: 100%;
    z-index: 1; /* Kvůli překrývání Leafletu s navigací */
}

.poi-list {
    padding: 30px;
}

.poi-list ul {
    list-style: none;
}

.poi-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.poi-list li:last-child {
    border-bottom: none;
}

.poi-dist {
    font-weight: 600;
    color: var(--color-primary);
}

/* --- Rezervace CTA --- */
.booking-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* --- Patička --- */
footer {
    background-color: #111;
    color: #ccc;
    padding-top: 60px;
}

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

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* --- Responzivita (Mobily a Tablety) --- */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Pro jednoduchost skryto na mobilu, menu se dá oživit v JS */
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .location-wrapper {
        grid-template-columns: 1fr;
    }
    
    #map-container {
        height: 300px;
    }
    
    .section-padding {
        padding: 50px 0;
    }
}
