:root {
    --main-bg: #FFFFFF;
    --secondary-bg: #F8F9FA;
    --accent-bg: #DC143C;
    --dark-bg: #1A1A1A;
    --text-on-white: #1A1A1A;
    --text-on-crimson: #FFFFFF;
    --text-on-dark: #F9FAFB;
    --secondary-text-light: #6C757D;
    --secondary-text-dark: #ADB5BD;
    --button-bg: #DC143C;
    --button-text: #FFFFFF;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --accent-border: #DC143C;
    --popular-tag-bg: #D81B60;
    --font-family: 'Montserrat', sans-serif;
    --border-radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--main-bg);
    color: var(--text-on-white);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
}

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

ul,
ol {
    padding: 0;
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

button:active {
    transform: scale(0.98);
}

.price-text {
    font-weight: 700;
    color: var(--accent-bg);
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: calc(1.8rem + 1.5vw);
    }

    h2 {
        font-size: calc(1.5rem + 1vw);
    }

    body {
        font-size: 15px;
    }

    .mobile-text-small {
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

/* ===== header ===== */
#header {
    background-color: var(--main-bg);
    width: 100%;
    position: relative;
}

.text-main {
    color: var(--text-on-white) !important;
}

.header-nav-link {
    color: var(--text-on-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.header-nav-link:hover {
    color: var(--button-bg);
}

.btn-cta {
    background-color: var(--button-bg);
    color: var(--text-on-crimson) !important;
    padding: 8px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: opacity 0.3s;
    font-size: 0.95rem;
    border: none;
}

.btn-cta:hover {
    opacity: 0.9;
    color: var(--text-on-crimson);
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--main-bg);
    z-index: 2000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ===== hero_section ===== */
.hero-section {
    width: 100%;
    background-image: url("graphics/graphics/jungfraujoch-hero-panorama.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    min-height: 100vh;
    position: relative;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.text-crimson-contrast {
    color: var(--text-on-crimson) !important;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .btn {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
    color: var(--text-on-crimson) !important;
}

/* ===== ticket_options ===== */
#tickets .js-ticket-card {
    transition: transform 0.3s ease-in-out;
}

#tickets .js-ticket-card:hover {
    transform: translateY(-10px);
}

#tickets .display-5,
#tickets h3 {
    font-family: 'Crimson Text', serif;
}

/* ===== why_visit ===== */
#advantages .js-advantage-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

#advantages .js-advantage-item.visible {
    opacity: 1;
    transform: translateY(0);
}

#advantages img {
    transition: transform 0.5s ease;
}

#advantages img:hover {
    transform: scale(1.02);
}

/* ===== whats_included ===== */
#included .included-img-container:hover img {
    transform: scale(1.05);
}

#included .js-included-item {
    transition: transform 0.3s ease;
}

#included .js-included-item:hover {
    transform: translateX(10px);
}

@media (max-width: 991.98px) {
    #included h2 {
        font-size: 2rem;
    }
}

/* ===== directions ===== */
#directions .direction-item {
    position: relative;
}

#directions .icon-wrapper {
    flex-shrink: 0;
}

#directions .content-wrapper h3 {
    margin-bottom: 0.5rem;
}

#directions .content-wrapper p {
    margin-bottom: 0;
    line-height: 1.6;
}

#directions .image-container img {
    transition: transform 0.3s ease;
}

#directions .image-container:hover img {
    transform: scale(1.02);
}

@media (max-width: 991.98px) {
    #directions .icon-wrapper {
        margin-right: 1rem !important;
    }

    #directions .icon-wrapper div {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.2rem !important;
    }
}

/* ===== itinerary ===== */
.itinerary-step {
    position: relative;
    transition: transform 0.3s ease;
}

.itinerary-wrapper {
    position: relative;
}



.step-icon-box {
    z-index: 1;
}

.js-step {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease-out;
}

.js-step.visible {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 991.98px) {


    .image-container {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    h1 {
        word-break: break-all;
    }

    h5 {
        font-size: 1rem !important;
    }
}


/* ===== essentials ===== */
.info-section {
    overflow: hidden;
}

.info-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
}

.image-overlay-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(220, 20, 60, 0.1), transparent);
    pointer-events: none;
}

.info-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--accent-border);
}

.info-item:hover {
    transform: translateX(5px);
}

.icon-box {
    min-width: 40px;
    text-align: center;
}

/* ===== footer ===== */
#footer a {
    transition: color 0.3s ease, opacity 0.3s ease;
}

#footer a:hover {
    color: var(--accent-bg) !important;
    opacity: 1;
}

#footer .fas,
#footer .fab {
    width: 20px;
    text-align: center;
}

#footer hr {
    width: 100%;
    border-color: rgba(255, 255, 255, 0.1);
}