@import url('addon-slider.css');

body.booking-page .tours__container {
    bottom: 20px;
    left: 50%;
    z-index: 10;
}

body.available-tours-page .tours__container {
    position: relative;
    margin-top: 5rem;
}

body {
    padding-top: 50px;
}

.background-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.booking-box, .private-tour-form-container {
    width: 90%;
    max-width: 800px;
    margin: 2rem auto; /* Reduced top margin from 5rem and added bottom margin */
    background-color: var(--container-color);
    padding: 2rem; /* Reduced padding from 2.5rem */
    border-radius: 1rem;
    box-shadow: 0 8px 24px hsla(var(--hue-color), 28%, 8%, 0.6);
    text-align: center;
}

.modal .booking-box {
    margin-top: 0;
}

.booking-box .section__title, .private-tour-form-container .section__title {
    margin-bottom: 2rem;
}

#booking .section__title {
    text-align: center;
}

.booking-tour-subtitle {
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
    color: var(--text-color-light);
    text-align: center;
    margin-bottom: 1.5rem;
}

.tours__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767px) {
    .tours__container {
        grid-template-columns: 1fr;
        justify-items: center;
    }
}

.tour-box {
    background-color: var(--container-color);
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tour-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px hsla(var(--hue-color), 80%, 30%, .4);
    border-color: hsl(var(--hue-color), 80%, 50%);
}

.tour-box__header {
    margin-bottom: 0.5rem;
}

.tour-box__icon {
    width: 100%;
    max-width: 150px;
    max-height: 60px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

.tour-box__body {
    margin-bottom: 1rem;
}

.tour-box__note {
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--white-color);
    margin-bottom: 0.5rem;
}

.tour-box__description {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
}

.tour-box.status-planning { border-color: #f1c40f; }
.tour-box.status-confirmed { border-color: #2ecc71; }
.tour-box.status-cancelled { border-color: #e74c3c; }

.status-planning .tour-box__status { color: #f1c40f; }
.status-confirmed .tour-box__status { color: #2ecc71; }
.status-cancelled .tour-box__status { color: #e74c3c; }

.booking-form {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media screen and (min-width: 768px) {
    .booking-form {
        grid-template-columns: 1fr 1fr;
    }
    .form-group.full-width {
        grid-column: 1 / -1;
    }
}

.form-group {
    text-align: left;
    margin-bottom: 0; 
}

.form-group label {
    display: block;
    margin-bottom: .5rem;
    font-weight: var(--font-medium);
    color: var(--text-color-light);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border-radius: .5rem;
    background-color: var(--body-color);
    border: 1px solid var(--border-color);
    color: var(--white-color);
    font-size: var(--normal-font-size);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--first-color);
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: .75rem;
    position: relative;
    cursor: pointer;
    user-select: none;
    padding-left: 2rem;
    text-align: left;
    margin-bottom: 1rem;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-container .checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 1.25rem;
    width: 1.25rem;
    background-color: var(--body-color);
    border: 1px solid var(--border-color);
    border-radius: .25rem;
    transition: background-color .3s, border-color .3s;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--first-color);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--first-color);
    border-color: var(--first-color);
}

.checkbox-container .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid var(--white-color);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.checkbox-container a {
    color: var(--first-color);
    text-decoration: underline;
}

.button--submit {
    grid-column: 1 / -1;
    padding: 1.25rem 2rem;
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    justify-content: center;
    background: var(--first-color);
    color: var(--title-color);
    border: none;
    transition: background-color .4s, transform .3s;
    position: relative;
    z-index: 1;
}

.button--submit:hover {
    background: var(--first-color-alt);
    transform: translateY(-2px);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 6rem 1rem 2rem 1rem;
}

.modal.is-visible {
    display: block;
}

.modal-content {
    background-color: var(--container-color);
    margin: 0 auto;
    padding: 1.5rem 2.5rem;
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 550px;
    border-radius: 1.5rem;
    position: relative;
    box-shadow: 0 10px 40px hsla(var(--hue-color), 28%, 8%, 0.8);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-button {
    color: var(--text-color-light);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color .3s;
}

.close-button:hover,
.close-button:focus {
    color: var(--first-color);
}

.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: hsla(var(--hue-color), 28%, 8%, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}

.custom-alert-box {
    background-color: var(--container-color);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 8px 24px hsla(var(--hue-color), 28%, 8%, 0.8);
    text-align: center;
    width: 90%;
    max-width: 450px;
    transform: scale(0.9);
    transition: transform .3s;
}

.custom-alert-overlay.show {
    opacity: 1;
    visibility: visible;
}

.custom-alert-overlay.show .custom-alert-box {
    transform: scale(1);
}

.custom-alert-box h3 {
    font-size: var(--h2-font-size);
    color: var(--title-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.custom-alert-box p {
    color: var(--text-color);
    margin-bottom: 2rem;
}

.custom-alert-box .button {
    background-color: var(--first-color);
    color: var(--title-color);
    border: none;
}
.custom-alert-box .button:hover {
    background-color: var(--first-color-alt);
}

.booking__pickers {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.picker {
    text-align: center;
}

.picker label {
    display: block;
    margin-bottom: .5rem;
    font-weight: var(--font-medium);
}

.picker__controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.picker__button {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: var(--first-color);
    color: var(--white-color);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s;
}

.picker__button:hover {
    background-color: var(--first-color-alt);
}

.picker__value {
    font-size: 1.2rem;
    font-weight: var(--font-semi-bold);
    min-width: 2rem;
}
.total-price {
    grid-column: 1 / -1;
    text-align: center;
    margin: 1rem 0;
    padding: 1rem;
    background-color: var(--body-color);
    border-radius: .75rem;
    border: 2px solid var(--first-color);
    font-size: var(--h2-font-size);
    font-weight: var(--font-bold);
    color: var(--white-color);
    letter-spacing: 1px;
}

.total-price span {
    color: var(--first-color);
    margin-left: .5rem;
}

@media screen and (max-width: 767px) {
    .booking-box, .private-tour-form-container {
        padding: 1.5rem;
    }
    
    body.booking-page .tours__container {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    
    .tour-box {
        width: 100%;
        max-width: 400px;
    }

    .tour-options-container {
        grid-template-columns: 1fr;
    }
    
    .tour-option {
        height: auto;
    }
}

.testing-info {
    background-color: #ffc107;
    color: #000;
    text-align: center;
    padding: 10px;
    width: 100%;
    position: fixed;
    top: 60px;
    left: 0;
    z-index: 1000;
}

.tour-options-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 5rem 1rem;
}

.tour-options-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
}

.tour-option {
    position: relative;
    height: 450px;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.tour-option:hover {
    transform: scale(1.05);
}

.tour-option-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
}

.tour-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 20%, transparent 100%);
    z-index: 1;
}

.tour-option-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    color: white;
    transition: all 0.4s ease;
    text-align: center;
}

.tour-option:hover .tour-option-content {
    transform: translateY(-10px);
}

.tour-option-title {
    font-size: var(--h2-font-size);
    margin-bottom: 0.5rem;
}

.tour-option-description {
    font-size: var(--normal-font-size);
    opacity: 0.8;
}

.tour-option-marketing-text {
    margin-bottom: 1rem;
    font-style: italic;
    opacity: 0.9;
}

.marketing-text {
    text-align: center;
    color: var(--white-color);
    padding: 4rem 2rem 2rem;
    max-width: 800px;
}

.disclaimer {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-color-light);
}

.disclaimer a {
    color: var(--first-color);
    text-decoration: none;
}

.disclaimer a:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.faq-section {
    padding: 4rem 0;
    background-color: var(--body-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    text-align: left;
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 2rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 0 1.5rem 0;
    color: var(--text-color);
}

.booking-icon {
    display: block;
    margin: 4rem auto 0;
    width: 100%;
    max-width: 400px;
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: -1;
    pointer-events: none;
}

.addon-section-title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    margin-bottom: 1rem;
    text-align: left;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.swiper-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next {
    right: 10px;
}

.addon-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-only {
    display: none;
}

@media (max-width: 767px) {
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: flex;
    }
}
@media screen and (max-width: 767px) {
  .tours__container {
    justify-items: center;
  }
}
.date-filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.date-filter-btn {
    background-color: var(--container-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: .75rem 1.5rem;
    border-radius: .5rem;
    cursor: pointer;
    transition: all .3s ease;
}

.date-filter-btn:hover {
    background-color: var(--first-color-alt);
    border-color: var(--first-color-alt);
    color: var(--white-color);
}

.date-filter-btn.active {
    background-color: var(--first-color);
    border-color: var(--first-color);
    color: var(--white-color);
    box-shadow: 0 0 15px hsla(var(--hue-color), 80%, 60%, 0.4);
}

.verification-method-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: .5rem;
}

.verification-method-container input[type="radio"] {
    display: none;
}

.verification-method-label {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    border-radius: .5rem;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all .3s ease;
}

.verification-method-container input[type="radio"]:checked + .verification-method-label {
    background-color: var(--first-color);
    border-color: var(--first-color);
    color: var(--white-color);
}
