body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    transition: background 0.3s, color 0.3s;
}

/* SVĚTLÝ REŽIM */
body.light-mode {
    background-color: #f9f9f9;
    color: #222;
}

/* TMAVÝ REŽIM */
body.dark-mode {
    background-color: #111;
    color: #f5f5f5;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    font-size: 2.5rem;
    margin: 0.5rem 0;
}

/* === OBECNÉ BLOKY === */
h1, h2 {
    text-align: center;
}

.subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: inherit;
}

.hero, .about, .why, .pricing, .faq, .cta {
    max-width: 800px;
    margin: 2rem auto;
    line-height: 1.6;
    text-align: center;
}

.hero-text p {
    text-align: center;
}

.hero-button, .cta-button, .price-button {
    background-color: #015427;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s;
    margin-top: 1rem;
}

.hero-button:hover, .cta-button:hover, .price-button:hover {
    background-color: #007a47;
}

.how-it-works {
    max-width: 800px;
    margin: 2rem auto;
    line-height: 1.6;
    /* NEtext-align: center; */
}

.how-it-works p,
.how-it-works h2 {
    text-align: center;
}

.how-it-works ol {
    margin-left: 2rem;
    padding-left: 1rem;
    text-align: left;
}

#logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

#logo-tiger {
    width: clamp(60px, 15vw, 150px); /* min: 60px, ideálně 12 % viewportu, max: 100px */
    aspect-ratio: 232 / 100;
    object-fit: contain;
    height: auto;
}

#logo-text {
    width: clamp(80px, 30vw, 200px); /* min: 80px, max: 200px */
    aspect-ratio: 865 / 100;
    object-fit: contain;
    height: auto;
}

body.dark-mode #logo-tiger {
    content: url('images/wildroom-11.png');
}

body.dark-mode #logo-text {
    content: url('images/wildroom-14.png');
}

body.light-mode #logo-tiger {
    content: url('images/wildroom-12.png');
}

body.light-mode #logo-text {
    content: url('images/wildroom-15.png');
}
#modeToggle {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    background: none;
    border: 1px solid currentColor;
    color: inherit;
    cursor: pointer;
    border-radius: 4px;
}

.content {
    max-width: 800px;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.main-photo {
    text-align: center;
}
.main-photo img {
    width: 75%;
    max-width: 1200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.emphasis {
    font-style: italic;
}

.address {
    font-weight: bold;
    margin: 2rem 0;
}

/* === GALERIE === */
.gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 1rem;
    max-width: 75vw;
    box-sizing: border-box;
    scroll-padding-left: 1rem;
}

.gallery a {
    flex: 0 0 auto;
    scroll-snap-align: start;
    position: relative;
}

/*Pro ikonku na fotce, aby bylo poznat, že jde o rozklikávací fotku.*/
.gallery a::after {
    content: "+";
    position: absolute;
    bottom: 6px;
    right: 6px;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.35); /* míň nápadné pozadí */
    color: white;
    padding: 0.15em 0.35em;
    border-radius: 3px;
    pointer-events: none;
    line-height: 1;
    opacity: 0.8;
}

body.dark-mode .gallery a::after {
    background: rgba(255, 255, 255, 0.35);
    color: #000;
}

.gallery-image {
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.gallery-image:hover {
    transform: scale(1.05);
    z-index: 1;
}
.main-photo .gallery-image:hover {
    transform: none;
}

.gallery::-webkit-scrollbar {
    display: none;
}

.site-footer {
    background-color: #f0f0f0;
    padding: 2rem;
    font-size: 0.9rem;
    color: #333;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-columns div {
    min-width: 150px;
}

.footer-columns a {
    color: #015427;
    text-decoration: none;
}

.footer-columns a:hover {
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}
body.dark-mode .site-footer {
    background-color: #222;
    color: #eee;
}

body.dark-mode .footer-columns a {
    color: #fff;
}

.pricing {
    max-width: 800px;
    margin: 3rem auto;
    padding: 1rem;
    text-align: center;
}

.pricing h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.dev-note {
    font-style: italic;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.notice {
    font-size: 0.95rem;
    color: #aa0000;
    margin-bottom: 1.5rem;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* vždy 2 sloupce */
    gap: 1rem;
}

.price-card {
    border: 1px solid #015427;
    padding: 1rem;
    background: #111;
    color: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body.light-mode .price-card {
    background: #fff;
    color: #000;
    border: 1px solid #015427;
}

.price {
    font-weight: bold;
    margin: 0.5rem 0;
}

.price-button {
    display: inline-block;
    padding: 0.5rem;
    background-color: #015427;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 0.5rem;
    text-align: center;
}

.price-button:hover {
    background-color: #007a47;
}

.price-card.full-width {
    grid-column: span 2;
}

.contact {
    margin-top: 2rem;
}

.contact a {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
}

.contact a:hover {
    text-decoration: underline;
}

#modeToggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    background: transparent;
    border: none;
    color: inherit;
    transition: transform 0.2s;
}

#modeToggle:hover {
    transform: scale(1.2);
}

.booking {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1rem;
}

.booking form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.booking input,
.booking button {
    padding: 0.6rem;
    font-size: 1rem;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.booking button {
    background-color: #015427;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.booking button:hover {
    background-color: #007a47;
}


.confirmation {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1rem;
    text-align: center;
}

.confirmation h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.summary {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
    max-width: 400px;
    margin-inline: auto;
}

.summary li {
    margin-bottom: 0.5rem;
}

.call-bubble {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background-color: #015427;
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.call-bubble:hover {
    background-color: #007a47;
}

/* Zvýraznění červené hlášky pro všechny režimy */
.invalid-feedback {
    font-weight: bold;
    font-size: 0.95rem;
    color: #dc3545; /* Bootstrap červená */
}

/* V dark módu přitvrď barvu pozadí invalidních polí */
body.dark-mode .form-control.is-invalid {
    background-color: #441111;
    border-color: #ff5c5c;
    color: #f8d7da;
}

body.dark-mode .invalid-feedback {
    color: #ff8888;
}

/* shrnuti objednavky*/

.button-group {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

.button-group form {
    margin: 0;
}

.button-group button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #015427;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.button-group .primary-button {
    background-color: #015427;
    color: white;
    border: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s;
}

.button-group .primary-button:hover {
    background-color: #007a47;
}


.button-group button:hover {
    background-color: #007a47;
}

.button-group .back-button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #ccc;
    color: #222;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    transition: background 0.3s;
}

body.dark-mode .button-group .back-button {
    background-color: #444;
    color: #eee;
}

.button-group .back-button:hover {
    background-color: #bbb;
}

.faq dl {
    text-align: left;
}

.faq dt {
    font-weight: bold;
    margin-top: 1rem;
}


.faq dd {
    margin-left: 1rem;

    /* ===== NOVÉ STYLY PRO ÚVODNÍ STRÁNKU ===== */

    .gallery {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 2rem auto;
        max-width: 1000px;
    }

    .gallery-image {
        width: 100%;
        max-width: 1000px;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0,0,0,0.3);
    }

    .hero-button,
    .cta-button {
        background-color: #015427;
        color: white;
        padding: 0.75rem 1.5rem;
        border: none;
        border-radius: 4px;
        text-decoration: none;
        font-size: 1rem;
        font-weight: bold;
        display: inline-block;
        margin-top: 1rem;
        transition: background 0.3s;
    }

    .hero-button:hover,
    .cta-button:hover {
        background-color: #007a47;
    }


    /* === End custom styles === */

}

/* === BONUS === */
.bonus.highlight {
    background-color: #fff7e6;
    color: #b45f06;
    padding: 1rem;
    margin: 2rem auto;
    border-left: 6px solid #ff9900;
    max-width: 700px;
    font-weight: bold;
    border-radius: 4px;
    text-align: center;
}

body.dark-mode .bonus.highlight {
    background-color: #332200;
    color: #ffcc80;
    border-left-color: #ffb84d;
}

/* === BENEFITY A OBSAHY === */
.benefits, .included-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem auto;
    /*text-align: left;*/
}

.benefits li::before, .included-list li::before {
    content: '✔️';
    color: #015427;
    display: inline-block;
    width: 1.5em;
    margin-left: -1.5em;
}

body.dark-mode .benefits li::before,
body.dark-mode .included-list li::before {
    color: #80ffcc;
}

.benefits li, .included-list li {
    padding-left: 0.5rem;
    margin-bottom: 0.5rem;
}

/* === LIGHTBOX === */
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
    box-sizing: border-box;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /*touch-action: none; !* Důležité pro pinch zoom *!*/
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    transform-origin: center center;
    transition: transform 0.2s ease-out;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    cursor: pointer;
    padding: 0.75rem 1rem;
    font-size: 2rem;
    z-index: 2001;
    border-radius: 4px;
    transition: background 0.3s;
}

.lightbox-prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close {
    top: 1rem;
    right: 1rem;
    transform: none;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-counter {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1rem;
}

/* === shrnuti zaplacene objednavky === */
.reservation-details {
    max-width: 500px;
    margin: 2rem auto;
    padding: 1.5rem;
    border: 1px solid #015427;
    border-radius: 8px;
    background-color: #fff;
    color: #222;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

body.dark-mode .reservation-details {
    background-color: #222;
    color: #eee;
    border-color: #80ffcc;
}

.reservation-details h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
}

.reservation-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reservation-details li {
    display: flex;
    padding: 0.4rem 0;
    border-bottom: 1px solid #ccc;
    gap: 1rem;
}

body.dark-mode .reservation-details li {
    border-bottom: 1px solid #444;
}

.reservation-details li span {
    font-weight: bold;
    flex-basis: 45%;
    flex-shrink: 0;
    text-align: left; /* 👈 Tohle je klíčové */
}

