﻿/* Mountain Passage – styly úvodní stránky
   Barevné režimy používají Bootstrap proměnné data-bs-theme="light|dark". */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

button, select {
    font: inherit;
}

.container {
    width: min(1120px, calc(100% - 48px));
    margin-inline: auto;
}

.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 10;
    background: transparent;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 650;
    white-space: nowrap;
}

.brand-mark {
    width: 34px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.logout-form {
    margin: 0;
}

.container main {
    padding-bottom: 0 !important;
}

.hero {
    position: relative;
    min-height: calc(100vh - 95px);
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--mp-bg);
    isolation: isolate;
    margin-inline: calc((100% - 100vw + 15px) / 2);
}

.hero-image {
    position: absolute;
    z-index: -3;
    inset: 0 0 0 26%;
    /*
    background-image: linear-gradient(90deg, var(--mp-bg) 0%, rgba(251,251,248,.8) 24%, rgba(251,251,248,.04) 68%), url("https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=2000&q=88");
    */
    background-image: linear-gradient(90deg, var(--mp-bg) 0%, rgba(251,251,248,.8) 24%, rgba(251,251,248,.04) 68%), url("../img/home-image.webp");
    background-size: cover;
    background-position: center 47%;
    opacity: .94;
    left: 0;
}

[data-bs-theme="dark"] .hero-image {
    background-image: linear-gradient(90deg, var(--mp-bg) 0%, rgba(15,27,30,.88) 17%, rgba(15,27,30,.25) 62%, rgba(15,27,30,.2) 100%), url("../img/home-image.webp");
    /*
    background-image: linear-gradient(90deg, var(--mp-bg) 0%, rgba(15,27,30,.88) 17%, rgba(15,27,30,.25) 62%, rgba(15,27,30,.2) 100%), url("https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=2000&q=88");
    */
    opacity: .72;
}

@media (max-width: 680px) {
    [data-bs-theme="dark"] .hero-image {
        background-image: linear-gradient(90deg, var(--mp-bg) 0%, rgba(15,27,30,.88) 17%, rgba(15,27,30,.25) 62%, rgba(15,27,30,.2) 100%), url("../img/home-image-low.webp");
    }

    .hero-image {
        background-image: linear-gradient(90deg, var(--mp-bg) 0%, rgba(251,251,248,.8) 24%, rgba(251,251,248,.04) 68%), url("../img/home-image-low.webp");
    }
}

.hero::after {
    content: "";
    position: absolute;
    z-index: -2;
    inset: auto 0 0;
    height: 28%;
    background: linear-gradient(0deg, var(--mp-bg), transparent);
}

.hero-contours {
    position: absolute;
    z-index: -1;
    right: 0;
    top: 14%;
    width: 55%;
    height: 78%;
    pointer-events: none;
    opacity: .48;
    display: none;
}

    .hero-contours svg {
        width: 100%;
        height: 100%;
        fill: none;
        stroke: var(--mp-accent);
        stroke-width: .8;
    }

.hero-content {
    padding-top: 55px;
    padding-bottom: 56px;
}

.hero-copy {
    max-width: 570px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--mp-accent);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .17em;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1 {
    margin-bottom: 16px;
    font-size: clamp(34px, 4vw, 46px);
    font-weight: 520;
    line-height: 1.05;
    letter-spacing: -.035em;
}

    h1 span {
        color: var(--mp-accent);
    }

.hero-description {
    max-width: 360px;
    margin-bottom: 20px;
    color: var(--mp-muted);
    font-size: 12px;
    line-height: 1.65;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 39px;
    padding: 0 20px;
    border-radius: 24px;
    font-size: 11px;
    font-weight: 650;
    transition: transform .2s, filter .2s;
}

    .button:hover {
        transform: translateY(-1px);
        filter: brightness(1.04);
    }

.button-primary {
    background: #315e4d;
    color: #fff;
}

[data-bs-theme="dark"] .button-primary {
    background: #a3c99f;
    color: #10211f;
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transform: translateX(-50%);
    color: var(--mp-muted);
    font-size: 9px;
}

.mouse-icon {
    width: 10px;
    height: 17px;
    border: 1.4px solid currentColor;
    border-radius: 7px;
    position: relative;
}

    .mouse-icon::after {
        content: "";
        position: absolute;
        width: 2px;
        height: 4px;
        top: 3px;
        left: 3px;
        border-radius: 2px;
        background: currentColor;
    }

.section-pad {
    padding: 25px 0 31px;
}

.trips-section {
    background: var(--mp-bg);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 20px;
}

    .section-heading .eyebrow {
        margin-bottom: 7px;
    }

h2 {
    margin-bottom: 0;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 560;
    letter-spacing: -.025em;
}

.text-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 4px;
    color: var(--mp-accent);
    font-size: 10px;
    white-space: nowrap;
}

.trip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.trip-card {
    overflow: hidden;
    border: 1px solid var(--mp-line);
    border-radius: 9px;
    background: var(--mp-card);
    box-shadow: var(--mp-shadow);
}

.trip-image {
    height: 132px;
    position: relative;
    display: block;
    background-size: cover;
    background-position: center;
}

    .trip-image::after {
        content: "";
        position: absolute;
        inset: 45% 0 0;
        background: linear-gradient(transparent, rgba(8, 22, 20, .2));
    }

.country-pill {
    position: absolute;
    z-index: 1;
    top: 12px;
    left: 12px;
    padding: 4px 9px;
    border-radius: 14px;
    background: rgba(250, 251, 247, .9);
    color: #203332;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .03em;
}

.trip-card-body {
    padding: 12px 13px 13px;
}

.trip-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

    .trip-title-row h3 {
        margin: 0;
        font-size: 13px;
        font-weight: 650;
    }

.round-arrow {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--mp-section);
    color: var(--mp-accent);
    font-size: 15px;
    transition: transform .2s, background .2s;
}

    .round-arrow:hover {
        transform: translateX(2px);
        background: var(--mp-accent-soft);
        color: #132b26;
    }

.trip-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 3px;
    color: var(--mp-muted);
    font-size: 9px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    padding: 0 0 27px;
}

.benefit-icon {
    display: block;
    height: 30px;
    margin-bottom: 4px;
    color: var(--mp-accent);
    font-size: 26px;
    line-height: 1;
}

.benefit h3 {
    margin: 0 0 5px;
    font-size: 12px;
    font-weight: 650;
}

.benefit p {
    margin: 0;
    color: var(--mp-muted);
    font-size: 10px;
    line-height: 1.55;
}

.cta-banner {
    min-height: 130px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 20px 32px;
    border-radius: 9px;
    color: #f2f7ee;
    background: linear-gradient(90deg, rgba(13, 43, 42, .94), rgba(13, 43, 42, .6)), url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=85") center 48% / cover;
}

.cta-copy {
    position: relative;
    z-index: 1;
}

.cta-banner .eyebrow {
    margin-bottom: 6px;
    color: #b7d5af;
    font-size: 9px;
}

.cta-banner h2 {
    margin-bottom: 13px;
    font-size: 23px;
    font-weight: 500;
}

.button-light {
    min-height: 32px;
    padding: 0 15px;
    color: #16372d;
    background: #a5c99e;
    font-size: 10px;
}

.cta-route {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 55%;
    height: 100%;
    fill: none;
    stroke: #b3d3a5;
    stroke-width: 1;
    opacity: .9;
}

    .cta-route circle {
        fill: #b3d3a5;
        stroke: none;
    }

@media (max-width: 850px) {
    .hero {
        min-height: calc(100vh - 120px);
    }   
}

@media (max-width: 900px) {
    .main-nav {
        margin-left: 0;
        gap: 16px;
    }

    .site-nav {
        gap: 15px;
    }

    .logout-button span {
        display: none;
    }

    .hero-image {
        left: 18%;
    }

    .hero-copy {
        max-width: 420px;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 32px, 540px);
    }

    .site-nav {
        min-height: 66px;
        flex-wrap: wrap;
        padding-block: 12px;
    }

    .brand {
        font-size: 13px;
    }

    .brand-mark {
        width: 29px;
    }

    .header-actions {
        margin-left: auto;
        gap: 6px;
    }

    .language-select {
        padding: 6px 20px 6px 8px;
    }

    .logout-button {
        width: 30px;
        height: 30px;
        padding: 7px;
        justify-content: center;
    }

    .hero {
        min-height: 570px;
        align-items: end;
    }

    .hero-image {
        inset: 0;
        background-position: 58% center;
        opacity: .45;
    }

    [data-bs-theme="dark"] .hero-image {
        opacity: .38;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero-content {
        padding-top: 150px;
        padding-bottom: 78px;
    }

    h1 {
        font-size: clamp(35px, 10vw, 46px);
    }

    .hero-description {
        max-width: 390px;
    }

    .hero-contours {
        width: 100%;
        top: 20%;
        height: 50%;
    }

    .scroll-cue {
        bottom: 12px;
    }

    .section-pad {
        padding: 28px 0;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 12px;
    }

    h2 {
        font-size: 21px;
    }

    .trip-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .trip-image {
        height: 175px;
    }

    .trip-meta {
        gap: 15px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 15px;
        padding-bottom: 24px;
    }

    .cta-banner {
        min-height: 160px;
        padding: 22px;
    }

        .cta-banner h2 {
            max-width: 260px;
            font-size: 22px;
        }

    .cta-route {
        width: 85%;
        opacity: .55;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

@media (max-width: 768px) {
    .trip-card img.trip-image {
        height: 220px !important;
    }
}