/* Card Komodo Tour Form - Custom Styles */

/* Tour Swiper Wrapper */
.tour-form-swiper-wrapper {
    position: relative;
    overflow: visible !important;
}

.luxury-tour-swiper {
    overflow: hidden;
}

/* Navigation Buttons - Mobile: bottom-left, Desktop: bottom-left horizontal */
.tour-nav-buttons {
    position: absolute !important;
    bottom: -4rem !important;
    left: 0 !important;
    z-index: 9999 !important;
    display: flex !important;
    justify-content: flex-start !important;
    gap: 1rem !important;
    pointer-events: none !important;
}

@media (min-width: 768px) {
    .tour-nav-buttons {
        bottom: -6rem !important;
    }
}

.btn-tour-lux-prev,
.btn-tour-lux-next {
    --swiper-navigation-color: #ffffff !important;
    --swiper-navigation-size: 16px !important;
    position: static !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border: 1px solid white !important;
    background-color: transparent !important;
    margin: 0 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (min-width: 768px) {
    .btn-tour-lux-prev,
    .btn-tour-lux-next {
        --swiper-navigation-size: 18px !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
    }
}

/* Override Swiper default icon */
.btn-tour-lux-prev::after,
.btn-tour-lux-next::after {
    font-size: var(--swiper-navigation-size) !important;
    color: #ffffff !important;
}

/* Override SVG icon inside swiper buttons */
.btn-tour-lux-prev svg,
.btn-tour-lux-next svg {
    width: 100% !important;
    height: 14px !important;
    object-fit: contain !important;
    fill: #ffffff !important;
    color: #ffffff !important;
}

@media (min-width: 768px) {
    .btn-tour-lux-prev svg,
    .btn-tour-lux-next svg {
        height: 16px !important;
    }
}

.btn-tour-lux-prev:hover,
.btn-tour-lux-next:hover {
    --swiper-navigation-color: #000000 !important;
    background-color: white !important;
    border-color: white !important;
}

.btn-tour-lux-prev:hover::after,
.btn-tour-lux-next:hover::after {
    color: #000000 !important;
}

.btn-tour-lux-prev:hover svg,
.btn-tour-lux-next:hover svg {
    fill: #000000 !important;
    color: #000000 !important;
}

/* Modal Styles */
.custom-modal {
    transition: opacity 0.3s ease;
}

.custom-modal.hidden {
    display: none;
}

/* Popular Phinisi Swiper Wrapper (3d2n-komodo-tour.php) */
.popular-phinisi-swiper-wrapper {
    position: relative;
    overflow: visible !important;
}

.popular-phinisi-swiper {
    overflow: hidden;
}

/* Popular Phinisi Navigation Buttons */
.popular-phinisi-nav-buttons {
    position: absolute !important;
    bottom: -4rem !important;
    left: 0 !important;
    z-index: 9999 !important;
    display: flex !important;
    justify-content: flex-start !important;
    gap: 1rem !important;
    pointer-events: none !important;
}

@media (min-width: 768px) {
    .popular-phinisi-nav-buttons {
        bottom: -6rem !important;
    }
}

.btn-popular-phinisi-prev,
.btn-popular-phinisi-next {
    --swiper-navigation-color: #ffffff !important;
    --swiper-navigation-size: 16px !important;
    position: static !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border: 1px solid white !important;
    background-color: transparent !important;
    margin: 0 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (min-width: 768px) {
    .btn-popular-phinisi-prev,
    .btn-popular-phinisi-next {
        --swiper-navigation-size: 18px !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
    }
}

/* Override Swiper default icon */
.btn-popular-phinisi-prev::after,
.btn-popular-phinisi-next::after {
    font-size: var(--swiper-navigation-size) !important;
    color: #ffffff !important;
}

/* Override SVG icon inside swiper buttons */
.btn-popular-phinisi-prev svg,
.btn-popular-phinisi-next svg {
    width: 100% !important;
    height: 14px !important;
    object-fit: contain !important;
    fill: #ffffff !important;
    color: #ffffff !important;
}

@media (min-width: 768px) {
    .btn-popular-phinisi-prev svg,
    .btn-popular-phinisi-next svg {
        height: 16px !important;
    }
}

.btn-popular-phinisi-prev:hover,
.btn-popular-phinisi-next:hover {
    --swiper-navigation-color: #000000 !important;
    background-color: white !important;
    border-color: white !important;
}

.btn-popular-phinisi-prev:hover::after,
.btn-popular-phinisi-next:hover::after {
    color: #000000 !important;
}

.btn-popular-phinisi-prev:hover svg,
.btn-popular-phinisi-next:hover svg {
    fill: #000000 !important;
    color: #000000 !important;
}

/* Form Select Styling for Dark Background */
#tour-booking-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

#tour-booking-form select option {
    background-color: #000;
    color: white;
}

/* Error Messages */
.error-message:empty {
    display: none;
}

/* Focus States */
#tour-booking-form input:focus,
#tour-booking-form select:focus,
#tour-booking-form textarea:focus {
    border-color: var(--color-secondary, #d4af37);
}

/* More Boats Navigation Buttons (card-more-boats.php) */
.komodo-swiper-wrapper {
    position: relative;
    overflow: visible !important;
}

.more-boats-swiper {
    overflow: hidden;
}

.komodo-nav-buttons {
    position: static !important;
    display: flex !important;
    justify-content: flex-start !important;
    gap: 1rem !important;
    pointer-events: none !important;
    margin-top: 2.5rem !important;
}

@media (min-width: 768px) {
    .komodo-nav-buttons {
        display: none !important;
    }

    .komodo-nav-buttons.moments-nav-show {
        display: flex !important;
    }
}

.btn-more-boats-prev,
.btn-more-boats-next,
.btn-moments-prev,
.btn-moments-next {
    --swiper-navigation-color: #ffffff !important;
    --swiper-navigation-size: 16px !important;
    position: static !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border: 1px solid white !important;
    background-color: transparent !important;
    margin: 0 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (min-width: 768px) {
    .btn-more-boats-prev,
    .btn-more-boats-next,
    .btn-moments-prev,
    .btn-moments-next {
        --swiper-navigation-size: 18px !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
    }
}

/* Override Swiper default icon */
.btn-more-boats-prev::after,
.btn-more-boats-next::after,
.btn-moments-prev::after,
.btn-moments-next::after {
    font-size: var(--swiper-navigation-size) !important;
    color: #ffffff !important;
}

/* Override SVG icon inside swiper buttons */
.btn-more-boats-prev svg,
.btn-more-boats-next svg,
.btn-moments-prev svg,
.btn-moments-next svg {
    width: 100% !important;
    height: 14px !important;
    object-fit: contain !important;
    fill: #ffffff !important;
    color: #ffffff !important;
}

@media (min-width: 768px) {
    .btn-more-boats-prev svg,
    .btn-more-boats-next svg,
    .btn-moments-prev svg,
    .btn-moments-next svg {
        height: 16px !important;
    }
}

.btn-more-boats-prev:hover,
.btn-more-boats-next:hover,
.btn-moments-prev:hover,
.btn-moments-next:hover {
    --swiper-navigation-color: #000000 !important;
    background-color: white !important;
    border-color: white !important;
}

.btn-more-boats-prev:hover::after,
.btn-more-boats-next:hover::after,
.btn-moments-prev:hover::after,
.btn-moments-next:hover::after {
    color: #000000 !important;
}

.btn-more-boats-prev:hover svg,
.btn-more-boats-next:hover svg,
.btn-moments-prev:hover svg,
.btn-moments-next:hover svg {
    fill: #000000 !important;
    color: #000000 !important;
}

/* Komodo Tour Navigation Buttons (komodo-tour-card-black.php) */
.komodo-tour-swiper-unified {
    overflow: hidden;
}

.komodo-slide-content {
    position: absolute;
    z-index: 20;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

@media (min-width: 768px) {
    .komodo-slide-content {
        top: auto;
        left: 1.5rem;
        bottom: 1.5rem;
        transform: none;
        text-align: left;
    }
}

.btn-komodo-prev,
.btn-komodo-next {
    --swiper-navigation-color: #ffffff !important;
    --swiper-navigation-size: 16px !important;
    position: static !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border: 1px solid white !important;
    background-color: transparent !important;
    margin: 0 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (min-width: 768px) {
    .btn-komodo-prev,
    .btn-komodo-next {
        --swiper-navigation-size: 18px !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
    }
}

/* Override Swiper default icon */
.btn-komodo-prev::after,
.btn-komodo-next::after {
    font-size: var(--swiper-navigation-size) !important;
    color: #ffffff !important;
}

/* Override SVG icon inside swiper buttons */
.btn-komodo-prev svg,
.btn-komodo-next svg {
    width: 100% !important;
    height: 14px !important;
    object-fit: contain !important;
    fill: #ffffff !important;
    color: #ffffff !important;
}

@media (min-width: 768px) {
    .btn-komodo-prev svg,
    .btn-komodo-next svg {
        height: 16px !important;
    }
}

.btn-komodo-prev:hover,
.btn-komodo-next:hover {
    --swiper-navigation-color: #000000 !important;
    background-color: white !important;
    border-color: white !important;
}

.btn-komodo-prev:hover::after,
.btn-komodo-next:hover::after {
    color: #000000 !important;
}

.btn-komodo-prev:hover svg,
.btn-komodo-next:hover svg {
    fill: #000000 !important;
    color: #000000 !important;
}

/* Boats Swiper Navigation (4d3n-komodo-tour.php) */
.boatsSwiper {
    overflow: hidden;
}

.boatsSwiper .swiper-button-prev,
.boatsSwiper .swiper-button-next {
    --swiper-navigation-color: #e6b31e !important;
    --swiper-navigation-size: 16px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border: 1px solid #e6b31e !important;
    background-color: transparent !important;
    margin-top: -20px !important;
    border-radius: 0 !important;
}

@media (min-width: 768px) {
    .boatsSwiper .swiper-button-prev,
    .boatsSwiper .swiper-button-next {
        --swiper-navigation-size: 18px !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        margin-top: -24px !important;
    }
}

/* Override Swiper default icon */
.boatsSwiper .swiper-button-prev::after,
.boatsSwiper .swiper-button-next::after {
    font-size: var(--swiper-navigation-size) !important;
    color: #e6b31e !important;
}

/* Override SVG icon inside swiper buttons */
.boatsSwiper .swiper-button-prev svg,
.boatsSwiper .swiper-button-next svg {
    width: 100% !important;
    height: 14px !important;
    object-fit: contain !important;
    fill: #e6b31e !important;
    color: #e6b31e !important;
}

@media (min-width: 768px) {
    .boatsSwiper .swiper-button-prev svg,
    .boatsSwiper .swiper-button-next svg {
        height: 16px !important;
    }
}

.boatsSwiper .swiper-button-prev:hover,
.boatsSwiper .swiper-button-next:hover {
    --swiper-navigation-color: #000000 !important;
    background-color: #e6b31e !important;
    border-color: #e6b31e !important;
}

.boatsSwiper .swiper-button-prev:hover::after,
.boatsSwiper .swiper-button-next:hover::after {
    color: #000000 !important;
}

.boatsSwiper .swiper-button-prev:hover svg,
.boatsSwiper .swiper-button-next:hover svg {
    fill: #000000 !important;
    color: #000000 !important;
}

/* Ship Swiper Navigation (4d3n-komodo-tour.php - View More Boats) */
.shipSwiper {
    overflow: hidden;
}

.shipSwiper .swiper-button-prev,
.shipSwiper .swiper-button-next {
    --swiper-navigation-color: #e6b31e !important;
    --swiper-navigation-size: 16px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border: 1px solid #e6b31e !important;
    background-color: transparent !important;
    margin-top: -20px !important;
    border-radius: 0 !important;
}

@media (min-width: 768px) {
    .shipSwiper .swiper-button-prev,
    .shipSwiper .swiper-button-next {
        --swiper-navigation-size: 18px !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        margin-top: -24px !important;
    }
}

/* Override Swiper default icon */
.shipSwiper .swiper-button-prev::after,
.shipSwiper .swiper-button-next::after {
    font-size: var(--swiper-navigation-size) !important;
    color: #e6b31e !important;
}

/* Override SVG icon inside swiper buttons */
.shipSwiper .swiper-button-prev svg,
.shipSwiper .swiper-button-next svg {
    width: 100% !important;
    height: 14px !important;
    object-fit: contain !important;
    fill: #e6b31e !important;
    color: #e6b31e !important;
}

@media (min-width: 768px) {
    .shipSwiper .swiper-button-prev svg,
    .shipSwiper .swiper-button-next svg {
        height: 16px !important;
    }
}

.shipSwiper .swiper-button-prev:hover,
.shipSwiper .swiper-button-next:hover {
    --swiper-navigation-color: #000000 !important;
    background-color: #e6b31e !important;
    border-color: #e6b31e !important;
}

.shipSwiper .swiper-button-prev:hover::after,
.shipSwiper .swiper-button-next:hover::after {
    color: #000000 !important;
}

.shipSwiper .swiper-button-prev:hover svg,
.shipSwiper .swiper-button-next:hover svg {
    fill: #000000 !important;
    color: #000000 !important;
}
