* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f5f0;
    color: #252525;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

.shadow-primary {
    /*box-shadow: 0 0 0 100vmax #f7f7ff;*/
    background-color: #f7f7ff;
}

.shadow-secondary {
    /*box-shadow: 0 0 0 100vmax #8a6565;*/
    background-color: #8a6565;
}

section:nth-of-type(even) {
    background-color: white;
}

section:nth-of-type(odd) {
    background-color: #f7f7ff;
}

#contact {
    background-color: #252525;
}

/* =========================
   Header
   ========================= */

.header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: #e8e8f2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);

    backdrop-filter: blur(10px);
}

.navbar {
    width: 100%;
    margin: 0 auto;
    padding: 20px clamp(20px, 4vw, 40px);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(4px, 1.5vw, 20px);
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px clamp(8px, 1vw, 14px);
    white-space: nowrap;
    text-decoration: none;
    border-radius: 4px;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.nav-links a:hover {
    background-color: #252525;
    color: #f7f5f0;
}


/* =========================
   Language Switch
   ========================= */

.switch {
    position: relative;
    display: inline-block;
    margin: 0 5px;
}

.switch>span {
    position: absolute;
    top: 14px;
    pointer-events: none;
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .06);
    width: 50%;
    text-align: center;
}

input.check-toggle-round-flat:checked~.off {
    color: #252525;
}

input.check-toggle-round-flat:checked~.on {
    color: #fff;
}

.switch>span.on {
    left: 0;
    padding-left: 2px;
    top: 50%;
    transform: translateY(-50%);
    color: #252525;
}

.switch>span.off {
    right: 0;
    padding-right: 4px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
}

.check-toggle {
    position: absolute;
    margin-left: -9999px;
    visibility: hidden;
}

.check-toggle+label {
    display: block;
    position: relative;
    cursor: pointer;
    outline: none;
    user-select: none;
}

input.check-toggle-round-flat+label {
    padding: 2px;
    width: 97px;
    height: 35px;
    background-color: #252525;
    border-radius: 60px;
}

input.check-toggle-round-flat+label:before,
input.check-toggle-round-flat+label:after {
    display: block;
    position: absolute;
    content: "";
}

input.check-toggle-round-flat+label:before {
    top: 2px;
    left: 2px;
    bottom: 2px;
    right: 2px;
    background-color: #252525;
    border-radius: 60px;
}

input.check-toggle-round-flat+label:after {
    top: 4px;
    left: 4px;
    bottom: 4px;
    width: 48px;
    background-color: #fff;
    border-radius: 52px;
    transition: margin 0.2s;
}

input.check-toggle-round-flat:checked+label:after {
    margin-left: 44px;
}

/* =========================
   General
   ========================= */

/*.section {
    width: min(1400px, 100%);
    margin: 0 auto;
    padding: clamp(70px, 9vw, 120px) clamp(20px, 4vw, 40px);
}*/

.content {
    max-width: 900px;
}

.eyebrow {
    margin-bottom: 12px;

    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: #777;
}

h1,
h2,
h3 {
    line-height: 1.15;
}

h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    letter-spacing: clamp(-3px, -0.3vw, -1px);
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -1.5px;
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
}

p {
    color: #5e5e5e;
}

.button {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 24px;

    background: #252525;
    color: white;

    border-radius: 4px;

    font-weight: 600;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.button:hover {
    background: #444;
    transform: translateY(-2px);
}


/* =========================
   About
   ========================= */

.section--secondary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    align-items: center;
    gap: clamp(40px, 7vw, 80px);
}

.section-image {
    width: 100%;
    height: auto;
    /*height: clamp(350px, 40vw, 500px);*/
    display: block;
}

.section-image img {
    width: 100%;
    height: 100%;

    border-radius: 4px;
}

.section-content p:not(.eyebrow) {
    max-width: 550px;
    margin-top: 25px;
}


/* =========================
   Guide
   ========================= */

.section--primary {
    min-height: min(700px, 80vh);

    margin: 0 auto;
    padding: clamp(50px, 7vw, 90px) clamp(20px, 5vw, 60px);

    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);

    align-items: center;
    gap: clamp(40px, 7vw, 90px);
}

.guide-section {
    padding: 100px 5%;
    background: #f7f5f0;
}

.guide-flex {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 auto;
    align-items: center;
}

.about-section {
    min-height: 90vh;

    /*background-image: url("images/city-landscape.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;*/
    padding: 100px 5%;
}

.about-flex {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    margin: 0 auto;
    gap: 20px;
    /*align-items: center;*/
}

.about-text {
    max-width: 550px;
    margin-top: 25px;

    font-size: clamp(1rem, 1.5vw, 1.2rem);
    /*color: white;*/
}

.guide-image {
    width: 60%;
    height: auto;
    /*height: clamp(400px, 45vw, 600px);*/
    display: block;
    /*justify-self: center;*/
}

.about-image {
    background-image: url("images/city-landscape.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-image img {
    border-radius: 4px;
}

.guide-image img {
    width: 100%;
    height: 100%;

    border-radius: 4px;
}



/* =========================
   Experience
   ========================= */

.experience-section {
    padding: 100px 5%;
    background: #f7f5f0;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-heading .eyebrow {
    margin-bottom: 10px;
}

.section-heading h2 {
    margin-bottom: 20px;
}

.section-intro {
    max-width: 600px;
    margin: 0 auto;
    color: #666;
    line-height: 1.7;
}

.experience-grid {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.experience-card {
    padding: 35px;
    background: #ffffff;
    border: 1px solid #ddd9d0;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.experience-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f0eee8;
    border-radius: 10%;
}

.experience-icon span {
    font-size: 24px;
}

.experience-card h3 {
    margin-bottom: 12px;
}

.experience-card p {
    margin: 0;
    color: #666;
    line-height: 1.7;
}

/* =========================
   For whom
   ========================= */

.for-whom {
    padding: 100px 5%;
    background: #f7f5f0;
}

.for-whom .section-heading {
    max-width: 750px;
    margin: 0 auto 50px;
    text-align: center;
}

.for-whom .section-intro {
    margin-top: 20px;
    color: #666;
    line-height: 1.7;
}

.for-whom-grid {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.for-whom-card {
    grid-column: span 2;

    padding: 30px;
    background: #fff;

    border: 1px solid #ddd9d0;
    border-radius: 12px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.for-whom-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.for-whom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.for-whom-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eeeae2;
    border-radius: 10%;
}

.for-whom-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.for-whom-card p {
    color: #666;
    line-height: 1.6;
}

/* =========================
   Pricing
   ========================= */

.pricing {
    padding: 6rem 0;
}

.section-heading {
    max-width: 650px;
    margin: 0 auto 2rem;
    text-align: center;
}

.section-heading .eyebrow {
    margin-bottom: 0.5rem;
}

.section-heading h2 {
    margin-bottom: 1rem;
}


/* Language switch */

.language-switch {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.language-switch button {
    padding: 0.65rem 1.2rem;

    border: 1px solid #ddd9d0;
    background: transparent;

    font: inherit;
    color: inherit;

    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.language-switch button:first-child {
    border-radius: 0.5rem 0 0 0.5rem;
}

.language-switch button:last-child {
    border-radius: 0 0.5rem 0.5rem 0;
}

.language-switch button.active {
    background: #222;
    color: #fff;
}


/* Tour cards */

.tour-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;

    max-width: 1200px;
    margin: 0 auto;
}

.tour-card {
    padding: 2rem;

    background: #fff;

    border: 1px solid #ddd9d0;
    border-radius: 1rem;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.tour-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}


/* Featured card */
/*
.tour-card.featured {
    border: 2px solid #222;
    transform: translateY(-8px);
}

.tour-card.featured:hover {
    transform: translateY(-12px);
}
*/

/* Card heading */

.tour-card-header {
    margin-bottom: 2rem;
}

.tour-duration {
    display: block;
    margin-bottom: 0.5rem;

    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tour-card h3 {
    margin: 0;

    font-size: 1.4rem;
    line-height: 1.25;
}


/* Prices */

.tour-prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.price {
    padding: 1rem;

    background: #f7f5f0;
    border-radius: 0.5rem;
}

.price span {
    display: block;
    margin-bottom: 0.35rem;

    font-size: 0.8rem;
}

.price strong {
    font-size: 1.1rem;
    line-height: 1.2;
}


/* Hide English prices for now */

.price-english {
    display: none;
}

.pricing.english .price-czech {
    display: none;
}

.pricing.english .price-english {
    display: block;
}



/* =========================
   Tours
   ========================= */

.tours {
    padding: 100px 5%;
    /*padding-top: clamp(60px, 7vw, 90px);*/
}

.section-heading {
    max-width: 650px;
    margin-bottom: clamp(35px, 5vw, 50px);
}

.section-heading>p:last-child {
    margin-top: 20px;
}

.tour-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(min(100%, 280px), 1fr));

    gap: clamp(20px, 3vw, 30px);
}

.tour-card {
    overflow: hidden;

    background: white;
    border-radius: 4px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.tour-card img {
    width: 100%;
    height: auto;
    display: block;
}

.tour-card-content {
    padding: clamp(20px, 3vw, 25px);
}

.tour-card-content p {
    margin-top: 12px;
}


/* =========================
   City
   ========================= */

.city-section {
    min-height: 600px;

    background-image: url("images/city-landscape.webp");
    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
}

.city-overlay {
    width: 100%;
    min-height: 600px;

    padding: clamp(70px, 10vw, 120px) 20px;

    display: flex;
    align-items: center;

    background: rgba(0, 0, 0, 0.6);
}

.city-content {
    width: min(650px, 100%);
    margin: 0 auto;

    color: white;
}

.city-content h2 {
    color: white;
}

.city-content p {
    margin-top: 20px;
    color: white;
}


/* =========================
   Gallery
   ========================= */

.gallery {
    padding: 100px 5%;
    /*padding-bottom: clamp(80px, 10vw, 130px);*/
}

.gallery-masonry {
    columns: 4 300px;
    column-gap: 10px
}

.gallery-masonry img {
    width: 100%;
    height: auto;

    display: block;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.gallery-masonry img:hover {
    transform: scale(1.02);
    cursor: pointer;
}

/*
.gallery-grid {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    grid-auto-rows: clamp(220px, 25vw, 300px);
    gap: clamp(10px, 1.5vw, 15px);
}

.gallery-grid img {
    width: 100%;
    height: auto;

    border-radius: 3px;

    transition: transform 0.3s ease;
}
*/


/* =========================
   Contact
   ========================= */

.contact-section {
    padding: clamp(80px, 10vw, 130px) 20px;

    background: #252525;
    color: white;

    text-align: center;
}

.contact-content {
    width: min(650px, 100%);
    margin: 0 auto;
}

.contact-section h2 {
    color: white;
}

.contact-section p {
    margin-top: 20px;
    color: #c8c8c8;
}

.contact-details {
    margin-top: 35px;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 20px 30px;
    flex-wrap: wrap;
}

.contact-details a {
    font-size: 1.1rem;
    font-weight: 600;

    border-bottom: 1px solid #777;
    padding-bottom: 4px;
}

.contact-details a:hover {
    border-color: white;
}



/* =========================
   Footer
   ========================= */

.footer {
    padding: 25px 20px;

    background: #1c1c1c;
    color: #888;

    text-align: center;
}

.footer p {
    color: #888;
    font-size: 0.85rem;
}


/* =========================
   Tablet / smaller screens
   ========================= */

@media (max-width: 1000px) {

    .navbar {
        padding: 18px 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .section--primary {
        min-height: auto;

        grid-template-columns: 1fr;

        gap: 50px;
    }

    .guide-content {
        max-width: 800px;
    }

    .guide-flex {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .guide-image {
        width: 50vw;
    }

    .about {
        grid-template-columns: 1fr;
    }

    .about .section-content {
        max-width: 700px;
    }

    .section-image {
        height: clamp(350px, 60vw, 500px);
    }

    .for-whom-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .for-whom-card {
        grid-column: span 1;
    }

    .for-whom-card:nth-child(4) {
        grid-column: span 1;
    }

    .tour-cards {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .tour-card.featured {
        transform: none;
    }

    .tour-card.featured:hover {
        transform: translateY(-4px);
    }

}


/* =========================
   Mobile menu
   ========================= */

.menu-button {
    display: none;

    width: 42px;
    height: 42px;

    padding: 8px;

    background: none;
    border: none;

    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.menu-button span {
    display: block;

    width: 100%;
    height: 2px;

    background: #252525;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


@media (max-width: 1200px) {

    .navbar {
        position: relative;
        padding: 16px 20px;
    }

    .menu-button {
        display: flex;
    }

    .nav-links {
        display: none;

        position: absolute;
        top: 105%;
        /*left: 0;*/
        right: 5px;

        padding: 5px 20px 5px;

        flex-direction: column;
        align-items: stretch;
        gap: 0;

        background: #e8e8f2;
        border: 1px solid #c0bebb;
        border-radius: 8px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 14px 10px;

        font-size: 1rem;
        border-bottom: 1px solid #c0bebb;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }
}

/* =========================
   Mobile
   ========================= */

@media (max-width: 750px) {

    /* Page sections */

    .section--primary {
        padding-top: 45px;
        padding-bottom: 60px;
        gap: 40px;
    }

    .guide-image {
        width: 50vw;
    }

    .about-image {
        display: none;
    }

    .section {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .section-image {
        height: 350px;
    }

    .experience-section {
        padding: 80px 5%;
    }

    .experience-grid {
        grid-template-columns: 1fr;
    }

    .experience-card {
        padding: 30px;
    }

    .for-whom {
        padding: 80px 5%;
    }

    .for-whom-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .pricing {
        padding: 5rem 0;
    }

    .tour-grid {
        grid-template-columns: 1fr;
    }

    .gallery-masonry {
        columns: 2;
    }

    .gallery-masonry img {
        width: 100%;
        height: auto;
        display: block;
    }

    .city-section {
        min-height: 500px;
    }

    .city-overlay {
        min-height: 500px;
        padding: 70px 20px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        padding-top: 0;
    }

    .contact-button {
        width: 100%;
    }
}


/* =========================
   Hamburger animation
   ========================= */

.menu-button.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-button.active span:nth-child(2) {
    opacity: 0;
}

.menu-button.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================
   Very small phones
   ========================= */

@media (max-width: 380px) {

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 1.9rem;
    }

    .guide-image {
        height: 330px;
    }

    .section-image {
        height: 300px;
    }

    .experience-section {
        padding: 60px 5%;
    }

    .experience-card {
        padding: 25px;
    }

    .for-whom {
        padding: 60px 5%;
    }

    .for-whom-grid {
        grid-template-columns: 1fr;
    }

    .pricing {
        padding: 4rem 0;
    }

    .tour-card {
        padding: 1.5rem;
    }

    .tour-prices {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-auto-rows: 250px;
    }
}