:root {
    --primary-color: #006a4e; /* Logo Green */
    --secondary-color: #8c735d; /* Wood/Earth */
    --accent-color: #d4a373; /* Light wood/Gold */
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --dark-bg: #2c2c2c;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Nunito Sans', sans-serif;
    --container-width: 1100px;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    scroll-behavior: smooth;
}

body.no-scroll {
    overflow: hidden;
}

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-top: 1rem;}
h3 { font-size: 1.5rem; }

a { text-decoration: none; color: inherit; transition: color 0.3s; }
a:hover { color: var(--accent-color); }

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    border: none;
}

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

.btn-primary:hover {
    background-color: #004d38;
    transform: translateY(-2px);
}

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

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

.btn-large {
    font-size: 1.2rem;
    padding: 1rem 2rem;
}

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo, .logo:visited {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo img {
    height: 60px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    font-weight: 600;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background-image: url('images/039_celkovy-pohled-48aa-2905-644451.jpg'); /* Needs an image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

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

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

/* Sections */
.section {
    padding: 4rem 0;
    scroll-margin-top: 60px;
}

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

.lead {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.content-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.content-text p { margin-bottom: 1rem; }

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.feature-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    text-align: center; /* Center content for icons */
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon-wrapper {
    margin-bottom: 1.5rem;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.feature-item h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    height: 200px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 5px 10px;
    font-size: 0.8rem;
    transform: translateY(100%);
    transition: transform 0.3s;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-actions {
    margin-top: 2rem;
    text-align: center;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox */
#lightbox {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95); /* darker bg */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    justify-content: center;
}

#lightbox img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 4px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    object-fit: contain;
    display: block;
}

#lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto; /* Shrink to fit text */
    max-width: 80%; /* Don't go too wide */
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px); /* Modern frosted glass effect */
    -webkit-backdrop-filter: blur(5px);
    color: white;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 30px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 3rem;
    cursor: pointer;
    background: rgba(0,0,0,0.3);
    padding: 10px;
    user-select: none;
    transition: background 0.2s;
}

.lightbox-nav:hover {
    background: rgba(0,0,0,0.6);
}

#prev-btn { left: 20px; }
#next-btn { right: 20px; }


/* Video */
.video-container {
    max-width: 800px;
    margin: 2rem auto 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Pricing Cards */
.price-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.price-card {
    background: var(--white);
    padding: 2rem;
    border: 1px solid #eee;
    border-radius: 8px;
    text-align: center;
    width: 300px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.price-card h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.price-card .price {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.note {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: #222;
    color: #aaa;
    padding: 3rem 0;
}

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

.footer h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer a {
    color: var(--white);
}

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

/* Hamburger Menu Base Styles */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Video Responsive */
.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Calendar */
.calendar-wrapper {
    position: relative;
    margin: 2rem 0;
}

.calendar-wrapper iframe {
    pointer-events: none; /* Disables all interactions (clicks, scroll stealing) */
}

.video-js {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
}

/* iframe Responsive */
iframe {
    max-width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        position: fixed;
        right: -100%;
        top: 70px;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding-top: 2rem;
        gap: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    /* Mobile Menu Items - Larger for Touch */
    .nav-links li a {
        font-size: 1.5rem; /* ~24px for good legibility */
        font-weight: 700;
        display: inline-block;
        padding: 5px 0;
    }

    .hamburger {
        display: flex;
    }

    /* Hamburger Animation */
    .hamburger.toggle span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.toggle span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.toggle span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero-content h1 { font-size: 2.5rem; }
    .hero h1 { font-size: 2.5rem; }
    
    /* Fix for iOS background-attachment: fixed issue */
    .hero {
        background-attachment: scroll;
    }

    .navbar .container {
        justify-content: space-between;
        padding: 0 1.5rem;
    }
}

/* E-chalupy reviews widget overrides */
.echalupy-hodnoceni-btn {
    border-color: #006a4e !important;
    background-color: #006a4e !important;
}

.echalupy-hodnoceni-btn:hover {
    background-color: #004d38 !important;
    border-color: #004d38 !important;
}

.echalupy-hodnoceni-list-item .echalupy-hodnoceni-list-item-title-season {
    color: #006a4e !important;
}

/* Quick Stats Bar */
.quick-stats-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem 0;
    margin-top: -5px; /* Fix potential gap */
}

.quick-stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
    gap: 1.5rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 0.25rem;
    color: var(--white); /* Changed from accent to white for contrast or stick to accent? Let's try white for numbers */
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-sublabel {
    font-size: 0.85rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .quick-stats-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}
