/*.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}*/
body{
    background-color: var(--beige-1);
}
.header {
    /*background-size: cover; !* Bild füllt den gesamten Header *!*/
    background-position: center; /* Bild zentrieren */
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #565656; /* Textfarbe bleibt gleich */
    padding: 30px;
    text-align: center;
}

.header-trip-nazca {
    background-image: url('../peru/img/zelt.png');
    /*height: 42vh; */
    background-size: cover;
    object-fit: cover;
    background-position: center;
    padding-top: 10vh;
}

/* Journey Map Section */
.journey-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    margin-top: 2rem;
}
.journey-map-container {
    height: 600px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    box-sizing: content-box !important;
}

#journey-map {
    width: 100% !important;
    height: 100% !important;
    background-color: #f8f9fa; /* Fallback für Ladehintergrund */
}
.leaflet-marker-icon {
    background-image: url(https://unpkg.com/leaflet@1.7.1/dist/images/marker-icon.png);
}
/* Destination Navigation */
.destinations-nav {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.destination-item {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid transparent;
}
.destination-item:hover {
    background: #f8f9fa;
    border-color: #c5a572;
    transform: translateX(5px);
}
.destination-item.active {
    background: #fff5e6;
    border-color: #c5a572;
}
.destination-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}
.destination-info {
    font-size: 0.9rem;
    color: #666;
    display: none;
    margin-top: 0.5rem;
    line-height: 1.4;
}
.destination-item:hover .destination-info,
.destination-item.active .destination-info {
    display: block;
}
.destination-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #888;
    margin-top: 0.5rem;
}
.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
    white-space: nowrap;
}
.destination-item:hover .tooltip {
    opacity: 1;
}
/* Map Section */
.map-section {
    clear: both;
    width: 100%;
    margin-top: 4rem;
    text-align: center;
}
.map-container {
    width: 100%;
    height: 600px;
    margin: 2rem auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#south-america-map {
    width: 100%;
    height: 100%;
}


.custom-bullet-list {
    list-style: none; /* Entfernt Standard-Aufzählungszeichen */
    padding-left: 2rem; /* Platz für benutzerdefinierte Aufzählung */
}

.custom-bullet-list li {
    position: relative;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
}

.custom-bullet-list li::before {
    /*content: '\f067'; !* Font Awesome Icon (fa-cross) *!*/
    font-family: 'Font Awesome 5 Free'; /* Setzt die Font-Familie */
    font-weight: 900; /* Macht das Icon fett */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem; /* Größe des Icons */
    color: #b8860b; /* Farbe des Icons */
}
.legend {
    margin: 2rem 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    max-width: 400px;
    background-color: #f9f9f9;
}
.legend h2 {
    margin-top: 0;
    font-size: 1.5em;
    color: #333;
}
.legend ul {
    list-style: none;
    padding: 0;
}
.legend li {
    margin: 10px 0;
}
.legend li span {
    font-weight: bold;
    color: #83753a;
}
.navigation {
    display: flex;
    justify-content: center;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px;
}

.nav-button {
    margin: 0 10px;
    padding: 10px 20px;
    border: solid 1px #333333 ;
    border-radius: 2px;
    background-color: transparent;
    color: #333333;
    cursor: pointer;
    transition: all 0.3s ease;
}
.nav-button:hover, .nav-button:focus {
    transform: scale(1.1);
}
.navigation-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.nav-button.active {
    background-color: #646464;
    color: #e5e5e5;
    border-radius: 2px;
}
.video-container {
    display: flex;
    align-content: center;
    justify-content: center;
    flex: 1; /* Erlaubt es dem Videocontainer, flexibel zu wachsen und zu schrumpfen */
    padding: 2rem; /* Etwas Innenabstand */
    height: 80%;
    border-radius: 8px;
}
#myVideo {
    max-width: 768px; /* oder eine andere passende Breite */
    height: auto; /* behält das Seitenverhältnis bei */
}
@media screen and (max-width: 768px) {
    .text-container, .text-container2, .image-container, .video-container {
        max-width: 100%; /* Nutzt die volle Breite auf kleinen Bildschirmen */
    }
    #myVideo {
        max-width: 100%; /* oder eine andere passende Breite */
        height: auto; /* behält das Seitenverhältnis bei */
    }
}
.content-section {
    display: none;
    padding: 30px;
    background-color: white;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.left-align {
    text-align: left;
    display: flex;
    padding: 2rem;
    flex-direction: column;
    align-items: flex-start;
}
.pleft {
    padding-left: 13rem;
}
.pleft2 {
    padding-left: 4rem;
}
.content-section.active {
    display: block;
}

/* Verbesserte Karteneinstellungen */
#map-container {
    width: 100%;
    max-width: 100%;
    height: 360px;
    /*margin-top: 20px;*/
    border-radius: 2px;
    /*overflow: hidden;*/
    /*box-shadow: 0 4px 6px rgba(0,0,0,0.1);*/
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}
#map-container-2 {
    width: 100%;
    max-width: 100%;
    height: 500px;
    margin-top: 20px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
#map {
    width: 60%;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
#map2 {
    width: 100%;
    height: 100%;
}

.travel-details {
    display: flex;
    justify-content: space-evenly;
    margin-top: 20px;
    background-color: rgba(249, 249, 249, 0);
    color: white;
    /*box-shadow: 0 4px 6px rgba(0,0,0,0.1);*/
    padding: 20px;
    border-radius: 2px;
}

.highlight-item, .accommodation-item {
    display: flex;
    /*align-items: center;*/
    /*justify-content: center;*/
    align-content: center;
    margin-bottom: 15px;
}
.highlight-item span {
    font-size: 1.2rem;
}
.icon {
    /*margin-right: 15px;*/
    color: var(--gold-1);
}
.table-container {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
}

.accommodation-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    text-align: left;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.accommodation-table thead {
    /*background-color: #fff1e3;*/
    background-color: rgb(245, 242, 235);
    color: #333333;
}

.accommodation-table th,
.accommodation-table td {
    padding: 12px 20px;
    border-bottom: 1px solid #ddd;
}

.accommodation-table tr:hover {
    background-color: #f1f1f1;
}

.accommodation-table tbody tr:last-child td {
    border-bottom: none;
}
.p2remM0 {
    padding: 2rem;
}
/* Responsive Anpassungen */
@media screen and (max-width: 768px) {
    .header {
        background-size: cover; /* Bild füllt den gesamten Header */
        background-position: center; /* Bild zentrieren */
        background-attachment: unset;
    }
    .nav-button {
        margin: 0;
        padding: 10px 10px;
    }
    .accommodation-table th,
    .accommodation-table td {
        font-size: 0.9rem;
        padding: 10px;
    }
    .travel-details {
        flex-direction: column;
        align-items: center;
    }
    .pleft {
    padding: 0;
    }
    .pleft2 {
        padding-left: 0rem;
    }
    .travel-details > div {
        margin: 10px 0;
    }
    .custom-bullet-list {
         padding-left: 0;
    }
    .p2remM0 {
        padding: 0;
    }
    #map-container {
        height: 300px;
    }
    #map {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .journey-container {
        grid-template-columns: 1fr;
    }

    .journey-map-container {
        height: 400px;
        order: 1;
    }

    .destinations-nav {
        order: 2;
    }

    .destination-item {
        padding: 0.75rem;
    }

    .destination-info {
        display: block;
    }
}

@media (max-width: 768px) {
    .journey-map-container {
        height: 400px;
    }
}