/* --- CSS Reset & Base --- */
:root {
    --primary-color: #c09a6c;
    /* A warm, rustic gold */
    --bg-color: #1a1a1a;
    --card-bg: #252525;
    --text-color: #e0e0e0;
    --text-muted: #aaa;
    --heading-color: #ffffff;
    --font-main: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(---text-color);
    line-height: 1.7;
}

h1,
h2,
h3 {
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 300;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
    color: var(--text-color);
}

section {
    padding: 5rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #111;
    padding: 0.8rem 2.5rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #d4ac7f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* --- Parallax & Animations --- */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Fade In Up Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Section 1: Hero --- */
.hero-section {
    position: relative;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../images/hero-background.jpg');
    background-attachment: fixed;
    /* Parallax effect */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: #fff;
}

.hero-content {
    max-width: 900px;
}

.hero-content h1 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    color: #f0f0f0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* --- Language Switcher --- */
.lang-switcher {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
    border-radius: 20px;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.lang-switcher .lang-link {
    color: #fff;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    margin: 0 0.2rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.lang-switcher .lang-link.active {
    background-color: var(--primary-color);
    color: #111;
}

.lang-switcher .lang-link:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.2);
}


/* --- Section 2: Intro --- */
.intro-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-muted);
    line-height: 1.8;
}

/* --- NEW Section: Breakfast Basket --- */
.breakfast-section {
    display: flex;
    flex-direction: column;
    /* Výchozí pro mobil */
    align-items: center;
    gap: 4rem;
    /* Větší mezera mezi obrázkem a textem */
    padding: 8rem 2rem;
    background-color: var(--card-bg);
    /* Mírně tmavší pozadí než hlavní stránka */
}

.breakfast-image-container {
    width: 100%;
    max-width: 600px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    overflow: hidden;
}

.breakfast-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

.breakfast-image-container:hover .breakfast-image {
    transform: scale(1.03);
}

.breakfast-content {
    text-align: left;
    max-width: 550px;
}

.breakfast-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    /* Zvýšení velikosti pro tuto speciální sekci */
}

.breakfast-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.breakfast-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.breakfast-list li {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2.2rem;
    color: var(--text-color);
}

.breakfast-list li::before {
    content: '🥐';
    /* Changed icon */
    position: absolute;
    left: 0;
    top: 2px;
}

/* Responsivní úpravy pro snídaňovou sekci */
@media (min-width: 900px) {
    .breakfast-section {
        flex-direction: row;
        /* Na větších obrazovkách vedle sebe */
        text-align: left;
    }

    .breakfast-content {
        max-width: 50%;
        /* Větší prostor pro text */
        padding-left: 3rem;
    }

    .breakfast-image-container {
        flex-shrink: 0;
        /* Zabrání zmenšení obrázku */
        width: 45%;
    }

    /* Obrácení pořadí pro střídavý design (obrázek vlevo/vpravo) */
    .breakfast-section:nth-child(odd) {
        flex-direction: row-reverse;
    }
}

/* Úpravy pro mobilní zařízení */
@media (max-width: 768px) {
    .breakfast-content h2 {
        font-size: 2rem;
    }

    .breakfast-section {
        padding: 4rem 1rem;
    }
}

/* --- Section 3: Features --- */
.features-section {
    background-color: var(--card-bg);
    padding-top: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Změna: Výchozí 1 sloupec pro mobil */
    gap: 2rem;
    text-align: left;
}

.feature-card {
    background-color: var(--bg-color);
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.feature-card .icon {
    width: 50px;
    height: 50px;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Section 4: Adventure --- */
.adventure-section {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../images/adventure-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding: 6rem 2rem;
    text-align: center;
}

.adventure-title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.adventure-intro {
    max-width: 900px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
}

.game-features-grid {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 3rem 2rem;
    max-width: 1100px;
    margin: 0 auto 3rem auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .game-features-grid {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
    }
}

.game-feature-card {
    background: transparent;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
}

.game-feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.game-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.game-feature-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.game-feature-card p {
    font-size: 0.95rem;
    color: #d0d0d0;
    line-height: 1.6;
}

.adventure-cta {
    margin-top: 1rem;
}

/* --- NEW Section: Testimonials --- */
.testimonials-section {
    background-color: var(--bg-color);
    padding: 6rem 2rem;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: serif;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 0rem;
    left: 1.5rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
}

/* --- NEW Section: Price --- */
.price-section {
    background-color: var(--card-bg);
    /* Darker bg for contrast */
    padding: 6rem 2rem;
    text-align: center;
}

.price-section h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.price-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    color: var(--text-muted);
}

.price-box {
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
    padding: 3rem 4rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.price-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(192, 154, 108, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.price-value {
    font-size: 4.5rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 0.5rem;
    position: relative;
    text-shadow: 0 0 20px rgba(192, 154, 108, 0.3);
}

.price-note {
    font-size: 1.1rem;
    color: var(--text-muted);
    display: block;
    position: relative;
}

/* --- NEW Section: FAQ --- */
.faq-section {
    background-color: var(--bg-color);
    padding: 6rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #333;
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-main);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-muted);
    padding-right: 2rem;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    margin-bottom: 0;
}


/* --- Section 5: Form --- */
.form-section {
    background-color: var(--bg-color);
    padding-top: 4rem;
}

#package-form {
    max-width: 800px;
    margin: 2rem auto 0 auto;
    display: grid;
    gap: 1.5rem;
    text-align: left;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.form-group,
.form-group-checkbox {
    display: flex;
    flex-direction: column;
}

.form-group-checkbox {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

input[type="text"],
input[type="date"],
input[type="time"],
select,
textarea {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-main);
    font-size: 1rem;
    background-color: #1a1a1a;
    /* Darker input bg */
    border: 1px solid #444;
    border-radius: 8px;
    color: var(--text-color);
    transition: border-color 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

.date-time-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

hr {
    border: none;
    border-top: 1px solid #333;
    margin: 2rem 0;
}

.form-section .cta-button {
    width: 100%;
    font-size: 1.2rem;
    padding: 1.2rem;
    margin-top: 1rem;
}

/* --- JS Utilities --- */
.hidden {
    display: none !important;
    /* Důležité pro vynucené skrytí */
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 3rem 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    background-color: #0d0d0d;
    border-top: 1px solid #222;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .adventure-content {
        padding: 2rem;
    }

    .lang-switcher {
        top: 1rem;
        right: 1rem;
    }

    .price-box {
        padding: 2rem;
        width: 100%;
    }

    .price-value {
        font-size: 3.5rem;
    }

    #package-form {
        padding: 1.5rem;
    }
}

/* Nové pravidlo pro 2x2 mřížku na tabletu a PC */
@media (min-width: 700px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Success Page --- */
.success-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    padding: 2rem;
}

.success-container h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.success-container p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 2.5rem;
}

/* --- Payment Modal --- */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    /* Black w/ opacity */
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--card-bg);
    margin: auto;
    padding: 2rem;
    border: 1px solid var(--primary-color);
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.4s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

.qr-container {
    margin: 2rem 0;
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    display: inline-block;
}

.qr-code-img {
    width: 200px;
    height: 200px;
    display: block;
}

.payment-instructions {
    margin-bottom: 2rem;
    color: var(--text-muted);
}