@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

/* FONT */
.poppins-regular {
    font-family: "Poppins", serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-medium {
    font-family: "Poppins", serif;
    font-weight: 500;
    font-style: normal;
}

.poppins-semibold {
    font-family: "Poppins", serif;
    font-weight: 600;
    font-style: normal;
}

/********/

/* General styles */
* {
    font-family: "Poppins", serif;
    font-weight: 400;
    font-style: normal;
    box-sizing: border-box; /* Add this to fix width calculations */
}

body,
html {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    max-width: 100%;
}

.container {
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding-top: 80px;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
}

.container h1 {
    font-size: 3rem;
    margin-top: 35px;
    text-align: center;
    font-weight: bold;
    color: #1F3B4D;
    letter-spacing: 0.025em;
    width: 100%;
}

.details {
    width: 80%;
    background-color: #DF9755;
    border-radius: 8px;
    background: linear-gradient(135deg, #1F3B4D 0%, #1F3B4D 50%, #38637e);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

#selectStartingPoint {
    height: 2.3rem;
    width: 50%;
    font-size: 100%;
    border: none;
    border-radius: 6px;
    appearance: none;
    padding: 8px;
    -webkit-appearance: none;
    -moz-appearance: none;
  
    background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 9L12 15L18 9" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0px center;
    background-size: 20px;
    cursor: pointer;
}

#selectStartingPoint option{
    background-color: #34596f;
    color: white;
    border: none;
    outline: none;
}
  
#selectStartingPoint:focus-visible {
    outline: none;
}

.details .title-box {
    padding: 20px;
    width: 100%;
    display: flex;
    color: #fff;
    gap: 10px;
    align-items: center;
    box-sizing: border-box;
}

.details h2 {
    font-weight: 600;
    letter-spacing: 0.025em;
}

.details .title-box p {
    opacity: 80;
}

.details .info-box-first span {
    border-radius: 99px;
    background: rgb(31, 59, 77, 0.3);
    color: #1F3B4D;
    padding-inline: 12px;
    padding-block: 4px;
}

.info-box {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    padding-block: 10px;
    padding-inline: 10px;
    box-sizing: border-box;
}

.info-box .info-box-first {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    color: #000;
    flex-wrap: wrap;
}

.info-box-first div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.info-box-first div p:first-child {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    font-weight: 600;
    border-radius: 50%;
    background: rgb(31, 59, 77, 0.3);
}

.info-box .description {
    margin-top: 10px;
}

.info-box-second {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    flex-wrap: wrap;
}

.info-box-second p {
    font-size: 14px;
    margin: 0;
    color: #1F3B4D;
}

.trip-duration div {
    color: oklch(0.13 0.028 261.692);
    font-weight: 600;
    font-size: 18px;
}

.trip_start p {
    text-align: end;
}

.trip_start div {
    color: #1F3B4D;
    font-weight: 600;
    font-size: 22px;
}

.see-more {
    width: 100%;
    padding-top: 0.75rem;    
    padding-bottom: 0.75rem; 
    border-radius: 0.75rem;  
    border: 0;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    background-color: #1F3B4D;
    box-shadow: 0 4px 6px rgb(31, 59, 77, 0.7);
}

.see-more:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 15px rgb(31, 59, 77, 0.4);
}

/* image gallery */

.gallery {
    width: 80%;
    height: 60vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0,     0.25);
}

.gallery input {
    position: absolute;
    margin: 0 5px;
    left: -4px;
    opacity: 0;
    visibility: visible;
}

.gallery label {
    position: absolute;
    width: 98%;
    height: 98%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
}

.gallery input[type="radio"]:checked + label {
    position: inherit;
    opacity: 1;
    visibility: visible;
    transform: translateX(0) !important; 
}

.gallery label img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Gallery Navigation - New Section */
.gallery-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 10;
}

.gallery-arrow {
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    pointer-events: auto;
    transition: background-color 0.3s, transform 0.2s;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    visibility: visible !important;
}


.gallery-arrow:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

.gallery-arrow:active {
    transform: scale(0.95);
}

.gallery-arrow {
    color: #1F3B4D;
    font-weight: bold;
}

.gallery label {
    transition: transform 0.4s ease-in-out;
}

.description-short, .description-long {
    display: block;
}

.hideDescription {
    display: none;
}

.features-list-container {
    border-radius: 10px;
    width: 80%;
    padding: 30px; 
    margin: 0; 
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.features-list-title {
    color: #333;
    margin: 10px 0 0 0;
    font-size: 26px;
    font-family: 'Arial', sans-serif;
    text-align: left;
    font-weight: 700;
}

.features-list {
    list-style-type: none;
    padding: 0;
    margin: 20px 0 0;
}

.feature-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    flex-wrap: wrap;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item:hover {
    background-color: #fafafa;
    cursor: pointer;
}

.feature-item i {
    color: #555;
    font-size: 24px;
    margin-right: 20px;
    min-width: 30px;
    text-align: center;
}

.feature-label {
    font-weight: 600;
    color: #333;
    min-width: 170px;
    font-family: 'Arial', sans-serif;
}

.feature-value {
    color: #666;
    margin-top: 5px;
    display: block;
    margin-left: auto;
    text-align: right;
}

#languageSelect option{
    background-color: #34596f;
    color: white;
    border: none;
    outline: none;
}

@media (max-width: 600px) {
    .features-list-container {
        padding: 18px;
        width: 95%;
    }

    .feature-item {
        flex-direction: row;
        align-items: center;
        padding: 2px 0;
    }

    .feature-label {
        margin-bottom: 0;
        min-width: 0;
        font-size: 14px;
    }

    .feature-item i {
        margin-bottom: 0;
        font-size: 18px;
        margin-right: 10px;
        min-width: 20px;
    }

    .feature-value {
        margin-left: 0;
        font-size: 12px;
        text-align: left;
        width: 100%;
        margin-top: 2px;
        padding-left: 30px;
    }

    .gallery-arrow {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

@media (max-width: 900px) {
    .details, .gallery, .features-list-container {
        width: 95%;
    }
    
    #selectStartingPoint {
        width: 100%;
        background-image: none;
    }

    .container h1 {
        font-size: 2rem;
    }
            
    .gallery-arrow {
            width: 35px;
            height: 35px;
            font-size: 18px;
        }
}

/*Design of the open calender day headline on the excursion-page.php*/
.days-of-week span { 
    width: 4ch;             
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0px 5.5px 0px 5.5px;
}