/* 
   Camp IDN - JavaScript Features CSS
   Additional styles for dynamic features generated by JavaScript
*/

/* ===== MODAL ANIMATIONS ===== */
.modal.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.modal.active.zoom-animation .modal-content {
    animation: modalZoom 0.5s ease-out;
}

@keyframes modalZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-content.wide-modal {
    max-width: 1100px;
}

.modal-content.fullscreen-modal {
    width: 95%;
    height: 90vh;
    max-width: none;
}

/* ===== IMAGE TRANSITIONS ===== */
.image-transition {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.main-image.transition {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Image Zoom Feature */
.zoom-enabled {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.zoomed {
    cursor: zoom-out;
}

/* ===== GALLERY FILTER ANIMATIONS ===== */
.gallery-item {
    transition: transform 0.5s ease, opacity 0.3s ease, display 0.3s ease;
}

.gallery-item.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.gallery-item.appear {
    animation: scaleIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile Filter Dropdown for Gallery */
.mobile-filter-dropdown {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
    display: none;
}

.filter-selected {
    padding: 0.8rem 1rem;
    background-color: rgb(37, 36, 36);
    border: 1px solid #ddd;
    border-radius: var(--radius-md);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-selected::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 0.5rem;
}

.filter-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgb(37, 36, 36);
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: var(--shadow-md);
}

.filter-option {
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.filter-option:hover {
    background-color: #f8f9fa;
}

/* ===== TESTIMONIAL SLIDER ===== */
.testimonial-item {
    display: none;
}

.testimonial-item.fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

/* ===== FORM VALIDATION STYLES ===== */
input.invalid, textarea.invalid, select.invalid {
    border-color: #e74c3c !important;
    background-color: rgba(231, 76, 60, 0.05) !important;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: block;
}

.form-group.loading button[type="submit"] {
    pointer-events: none;
}

/* ===== CUSTOM NOTIFICATIONS ===== */
.custom-notifications {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: var(--z-popup);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 350px;
    width: 100%;
}

.custom-notification {
    background-color: rgb(0, 0, 0);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(120%);
    transition: transform 0.3s ease-out;
}

.custom-notification.show {
    transform: translateX(0);
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.notification-header h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--color-night);
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.close-btn:hover {
    opacity: 1;
}

.notification-body p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.custom-notification.success {
    border-left: 4px solid var(--color-leaf);
}

.custom-notification.warning {
    border-left: 4px solid #f39c12;
}

.custom-notification.error {
    border-left: 4px solid #e74c3c;
}

.custom-notification.info {
    border-left: 4px solid var(--color-ocean);
}

/* ===== FORM LOADER ANIMATION ===== */
.btn-submit.loading, .btn-book-now.loading {
    position: relative;
}

.btn-submit.loading i, .btn-book-now.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ===== DYNAMIC CONTENT ELEMENTS ===== */
/* Price calculation box */
.price-calculation {
    background-color: #f8f9fa;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.price-item:last-child {
    border-bottom: none;
}

.price-item.discount {
    color: #e74c3c;
}

.price-item.total {
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 2px solid #ddd;
}

/* Seat availability indicator */
.seat-availability {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(5, 76, 153, 0.8);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.seat-availability i {
    margin-right: 0.5rem;
    color: var(--color-leaf);
}

.seat-availability.limited i {
    color: #e74c3c;
}

.seat-availability.limited {
    animation: pulse 2s infinite;
}

/* Show more features button for mobile */
.show-more-features {
    display: none;
    width: 100%;
    padding: 0.5rem;
    background-color: transparent;
    border: 1px dashed var(--color-leaf);
    border-radius: var(--radius-md);
    color: var(--color-leaf);
    font-size: 0.9rem;
    text-align: center;
    margin-top: 1rem;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.show-more-features:hover {
    background-color: rgba(85, 166, 48, 0.1);
}

.hidden-mobile {
    display: list-item;
}

/* ===== SOCIAL PROOF NOTIFICATION ===== */
.social-proof {
    position: fixed;
    bottom: 20px;
    left: -400px;
    max-width: 300px;
    background-color: rgb(0, 0, 0);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    display: flex;
    align-items: center;
    z-index: 99;
    transition: left 0.5s ease-out;
}

.social-proof.show {
    left: 20px;
}

.social-proof-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(85, 166, 48, 0.1);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--color-leaf);
    font-size: 1.2rem;
}

.social-proof-content {
    flex: 1;
}

.social-proof-content p {
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
}

.social-proof-content span {
    font-size: 0.8rem;
    color: var(--color-earth);
}

.close-social-proof {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    font-size: 0.9rem;
    color: var(--color-night);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.close-social-proof:hover {
    opacity: 1;
}

/* ===== PROMO BANNER ===== */
.promo-banner {
    position: relative;
    display: flex;
    align-items: center;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    animation: fadeInUp 0.5s ease-out;
}

.promo-banner.closing {
    animation: fadeOutDown 0.3s ease-out forwards;
}

@keyframes fadeOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

.banner-icon {
    font-size: 2.5rem;
    margin-right: 1.5rem;
    color: white;
}

.banner-content {
    flex: 1;
}

.banner-content h3 {
    color: white;
    margin-bottom: 0.3rem;
    font-size: 1.4rem;
}

.banner-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.banner-button {
    background-color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    margin-left: 2rem;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.banner-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.close-banner {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.close-banner:hover {
    opacity: 1;
}

/* ===== TIP CARD ===== */
.tip-card {
    position: fixed;
    bottom: 20px;
    right: -400px;
    width: 300px;
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    z-index: 99;
    transition: right 0.5s ease-out;
}

.tip-card.show {
    right: 20px;
}

.tip-icon {
    font-size: 2rem;
    color: var(--color-forest);
    margin-bottom: 1rem;
    text-align: center;
}

.tip-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-mountain);
}

.tip-content p {
    font-size: 0.95rem;
    color: var(--color-earth);
    margin-bottom: 0;
}

.close-tip {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1rem;
    color: var(--color-night);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.close-tip:hover {
    opacity: 1;
}

/* ===== TOOLTIP ===== */
.tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    max-width: 200px;
    text-align: center;
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px 5px 0;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent;
}

.tooltip.show {
    opacity: 1;
}

/* ===== CHAT SUPPORT ===== */
.chat-support-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-forest);
    color: white;
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 98;
    transition: all var(--transition-medium);
}

.chat-support-button:hover {
    transform: scale(1.1);
    background-color: var(--color-leaf);
}

.chat-support-button.hidden {
    transform: scale(0);
}

.chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 450px;
    background-color: rgb(30, 29, 29);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 98;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.chat-window.open {
    transform: scale(1);
}

.chat-header {
    padding: 1rem;
    background-color: var(--color-forest);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-agent {
    display: flex;
    align-items: center;
}

.chat-agent img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-round);
    margin-right: 1rem;
    border: 2px solid white;
}

.agent-info h4 {
    margin-bottom: 0;
    font-size: 1rem;
}

.agent-info span {
    font-size: 0.8rem;
    opacity: 0.8;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.close-chat:hover {
    opacity: 1;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message-system {
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-earth);
    margin: 0.5rem 0;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: var(--radius-md);
}

.message-agent, .message-user {
    display: flex;
    gap: 0.5rem;
    max-width: 80%;
}

.message-agent {
    align-self: flex-start;
}

.message-user {
    align-self: flex-end;
    justify-content: flex-end;
}

.message-avatar {
    display: flex;
    align-items: flex-end;
}

.message-avatar img {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-round);
}

.message-content {
    display: flex;
    flex-direction: column;
}

.message-name {
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
    color: var(--color-earth);
}

.message-bubble {
    padding: 0.8rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    position: relative;
    max-width: 100%;
}

.message-agent .message-bubble {
    background-color: #3f4041;
    color: var(--color-night);
}

.message-user .message-bubble {
    background-color: var(--color-forest);
    color: white;
}

.message-time {
    font-size: 0.75rem;
    color: var(--color-earth);
    margin-top: 0.2rem;
    align-self: flex-end;
}

.message-typing {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    max-width: 80%;
    align-self: flex-start;
}

.typing-indicator {
    padding: 0.8rem;
    border-radius: var(--radius-md);
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    height: 24px;
    width: 50px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background-color: var(--color-earth);
    border-radius: var(--radius-round);
    opacity: 0.5;
    animation: typingAnimation 1.5s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.5s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 1s;
}

@keyframes typingAnimation {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

.chat-input {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid #057b30;
}

.chat-input input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #1d1414;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
}

.send-message {
    width: 40px;
    height: 40px;
    background-color: var(--color-forest);
    color: rgb(13, 169, 75);
    border: none;
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.send-message:hover {
    background-color: var(--color-leaf);
}

/* ===== VIRTUAL TOUR ===== */
.virtual-tour-button {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background-color: transparent;
    border: 1px solid var(--color-ocean);
    color: var(--color-ocean);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.virtual-tour-button:hover {
    background-color: rgba(0, 119, 182, 0.1);
}

.virtual-tour-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tour-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.tour-loading i {
    font-size: 3rem;
    color: var(--color-forest);
    margin-bottom: 1rem;
    animation: spin 1s linear infinite;
}

.tour-loading p {
    font-size: 1.1rem;
    color: var(--color-mountain);
}

.tour-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 5;
}

.tour-control {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.tour-control:hover {
    background-color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.tour-info {
    position: absolute;
    top: 20px;
    left: 20px;
    max-width: 300px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    border-radius: var(--radius-md);
    z-index: 5;
}

.tour-info h2 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--color-mountain);
}

.tour-info p {
    font-size: 0.9rem;
    color: var(--color-earth);
    margin-bottom: 0;
}

.tour-view {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.tour-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tour-image.transition {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.tour-image.zoom-in-effect {
    transform: scale(1.1);
}

.tour-image.zoom-out-effect {
    transform: scale(0.9);
}

.tour-image.move-left {
    animation: moveLeft 0.3s ease-out;
}

.tour-image.move-right {
    animation: moveRight 0.3s ease-out;
}

.tour-image.move-up {
    animation: moveUp 0.3s ease-out;
}

.tour-image.move-down {
    animation: moveDown 0.3s ease-out;
}

.tour-image.pan-left {
    animation: panLeft 0.3s ease-out;
}

.tour-image.pan-right {
    animation: panRight 0.3s ease-out;
}

.tour-image.pan-up {
    animation: panUp 0.3s ease-out;
}

.tour-image.pan-down {
    animation: panDown 0.3s ease-out;
}

.tour-image.dragging {
    transition: none;
}

@keyframes moveLeft {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-20px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes moveRight {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(20px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes moveUp {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes moveDown {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(20px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes panLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-10px);
    }
}

@keyframes panRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(10px);
    }
}

@keyframes panUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}

@keyframes panDown {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(10px);
    }
}

.tour-thumbnail-strip {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    overflow-x: auto;
    background-color: rgba(255, 255, 255, 0.8);
}

.tour-thumbnail {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all var(--transition-medium);
}

.tour-thumbnail:hover {
    opacity: 0.8;
    transform: translateY(-3px);
}

.tour-thumbnail.active {
    opacity: 1;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.tour-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== EXIT POPUP ===== */
.exit-popup-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.exit-popup-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.exit-popup-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.exit-popup-content {
    padding: 1rem;
}

.exit-popup-content h2 {
    color: #e74c3c;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.exit-popup-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--color-mountain);
}

.exit-popup-content p {
    margin-bottom: 1.5rem;
    color: var(--color-earth);
}

.exit-form {
    margin-bottom: 1.5rem;
}

.btn-subscribe {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-medium);
}
.btn-subscribe:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.form-footer {
    font-size: 0.8rem;
    color: var(--color-earth);
    text-align: center;
}

.subscription-success {
    text-align: center;
    padding: 2rem 0;
}

.subscription-success i {
    font-size: 3rem;
    color: var(--color-leaf);
    margin-bottom: 1rem;
}

.subscription-success h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-mountain);
}

.subscription-success p {
    margin-bottom: 1.5rem;
    color: var(--color-earth);
}

.subscription-success strong {
    font-size: 1.2rem;
    color: #e74c3c;
    padding: 0.3rem 0.8rem;
    background-color: rgba(231, 76, 60, 0.1);
    border-radius: var(--radius-md);
}

/* ===== CUSTOM CURSOR ===== */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    display: none;
}

.cursor-dot {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 8px;
    height: 8px;
    background-color: var(--color-leaf);
    border-radius: var(--radius-round);
    transform: translate(0, 0);
    transition: transform 0.1s ease;
}

.cursor-ring {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 32px;
    height: 32px;
    border: 2px solid var(--color-leaf);
    border-radius: var(--radius-round);
    transform: translate(0, 0);
    transition: all 0.3s ease;
}

.cursor-ring.hover {
    width: 40px;
    height: 40px;
    top: -20px;
    left: -20px;
    border-color: var(--color-forest);
    background-color: rgba(85, 166, 48, 0.1);
}

.cursor-ring.click {
    transform: translate(0, 0) scale(0.8);
    background-color: rgba(85, 166, 48, 0.2);
    border-width: 3px;
}

/* ===== PROGRESSIVE LOADING ===== */
.lazy-load-container {
    position: relative;
    min-height: 200px;
}

.lazy-loading-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-loading-indicator.active {
    opacity: 1;
}

.lazy-loading-indicator i {
    margin-right: 0.5rem;
    color: var(--color-leaf);
    animation: spin 1s linear infinite;
}

/* ===== ACCESSIBILITY FEATURES ===== */
.accessibility-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-forest);
    color: white;
    border: none;
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 98;
    transition: all var(--transition-medium);
}

.accessibility-button:hover {
    background-color: var(--color-leaf);
    transform: scale(1.1);
}

.accessibility-menu {
    position: fixed;
    bottom: 90px;
    left: 30px;
    width: 300px;
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 98;
    padding: 1.5rem;
    transition: all 0.3s ease;
    transform: scale(0);
    transform-origin: bottom left;
}

.accessibility-menu.show {
    transform: scale(1);
}

.accessibility-menu h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-mountain);
    text-align: center;
}

.accessibility-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.accessibility-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.accessibility-option label {
    font-size: 1rem;
    color: var(--color-night);
    margin-bottom: 0;
}

.option-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.option-buttons button {
    width: 30px;
    height: 30px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.option-buttons button:hover {
    background-color: #e9ecef;
}

.toggle-button {
    width: 50px;
    height: 26px;
    background-color: #ddd;
    border: none;
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.toggle-button .toggle-indicator {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: var(--radius-round);
    transition: left 0.3s ease;
}

.toggle-button.active {
    background-color: var(--color-leaf);
}

.toggle-button.active .toggle-indicator {
    left: 27px;
}

.close-accessibility {
    display: block;
    width: 100%;
    padding: 0.8rem;
    margin-top: 1.5rem;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.close-accessibility:hover {
    background-color: #e9ecef;
}

/* High contrast mode */
body.high-contrast {
    color: white !important;
    background-color: black !important;
    background-image: none !important;
}

body.high-contrast header,
body.high-contrast footer,
body.high-contrast section,
body.high-contrast .modal-content,
body.high-contrast .destination-card,
body.high-contrast .package-card,
body.high-contrast .blog-post,
body.high-contrast .testimonial-item,
body.high-contrast .contact-form,
body.high-contrast .value-item,
body.high-contrast .team-member {
    background-color: black !important;
    color: white !important;
}

body.high-contrast h1, 
body.high-contrast h2, 
body.high-contrast h3, 
body.high-contrast h4, 
body.high-contrast h5, 
body.high-contrast h6,
body.high-contrast p,
body.high-contrast label,
body.high-contrast li {
    color: white !important;
}

body.high-contrast a,
body.high-contrast button {
    color: yellow !important;
}

body.high-contrast .btn-primary,
body.high-contrast .btn-submit,
body.high-contrast .btn-book-now {
    background-color: yellow !important;
    color: black !important;
    border: 2px solid black !important;
}

body.high-contrast input,
body.high-contrast textarea,
body.high-contrast select {
    background-color: black !important;
    color: white !important;
    border: 2px solid white !important;
}

/* Disable animations mode */
body.no-animations *,
body.no-animations *::before,
body.no-animations *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}

/* Dyslexic font mode */
body.dyslexic-font * {
    font-family: 'OpenDyslexic', var(--font-primary) !important;
    line-height: 1.8 !important;
    letter-spacing: 0.05em !important;
    word-spacing: 0.2em !important;
}

/* Focus indicator mode */
body.focus-indicator a:focus,
body.focus-indicator button:focus,
body.focus-indicator input:focus,
body.focus-indicator textarea:focus,
body.focus-indicator select:focus {
    outline: 3px solid var(--color-ocean) !important;
    outline-offset: 3px !important;
}

body.keyboard-navigation a:focus,
body.keyboard-navigation button:focus,
body.keyboard-navigation input:focus,
body.keyboard-navigation textarea:focus,
body.keyboard-navigation select:focus {
    outline: 3px solid var(--color-ocean) !important;
    outline-offset: 3px !important;
}

/* ===== WEATHER WIDGET ===== */
.weather-widget {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm);
}

.weather-widget h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--color-mountain);
}

.weather-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.weather-main {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.weather-icon {
    font-size: 2.5rem;
    color: var(--color-ocean);
}

.weather-temp {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-night);
}

.weather-details {
    display: flex;
    gap: 1.5rem;
}

.weather-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.weather-detail i {
    color: var(--color-ocean);
}

.weather-update {
    font-size: 0.8rem;
    color: var(--color-earth);
    text-align: right;
    margin-top: 1rem;
}

/* ===== COUNTDOWN TIMER ===== */
.countdown-timer {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
    border-radius: var(--radius-md);
    min-width: 50px;
}

.countdown-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.countdown-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.booking-deadline {
    display: inline-block;
    margin-left: 1rem;
    font-size: 0.9rem;
}

.deadline-time {
    padding: 0.3rem 0.8rem;
    background-color: rgba(85, 166, 48, 0.1);
    color: var(--color-forest);
    border-radius: var(--radius-md);
}

.deadline-time.urgent {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    animation: pulse 2s infinite;
}

.expired {
    padding: 0.3rem 0.8rem;
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border-radius: var(--radius-md);
}

/* ===== PRINT BUTTON ===== */
.print-button {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    margin-left: 1rem;
    transition: all var(--transition-medium);
    display: inline-flex;
    align-items: center;
}

.print-button i {
    margin-right: 0.5rem;
}

.print-button:hover {
    background-color: #e9ecef;
}

/* Print styles */
@media print {
    .print-header,
    .print-footer {
        display: block !important;
    }
    
    .close-modal,
    .modal-footer,
    .print-button,
    .share-button,
    .favorite-button,
    nav,
    .footer,
    .header,
    .cta-section,
    .back-to-top,
    .chat-support-button,
    .accessibility-button {
        display: none !important;
    }
    
    .modal-content {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        box-shadow: none !important;
    }
    
    .modal-body {
        height: auto !important;
        overflow: visible !important;
    }
    
    .print-logo {
        font-family: var(--font-accent);
        font-size: 24px;
        margin-bottom: 0.5rem;
    }
    
    .modal::before {
        display: none !important;
    }
    
    a {
        text-decoration: underline;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .tour-controls {
        bottom: 80px;
    }
    
    .exit-popup-container {
        gap: 1.5rem;
    }
}

@media (max-width: 991px) {
    .chat-window {
        width: 320px;
        height: 400px;
        bottom: 90px;
    }
    
    .virtual-tour-container {
        height: 80vh;
    }
    
    .tour-info {
        max-width: 250px;
    }
    
    .exit-popup-container {
        grid-template-columns: 1fr;
    }
    
    .exit-popup-image {
        display: none;
    }
    
    .custom-notifications {
        width: 300px;
    }
    
    .promo-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.2rem;
    }
    
    .banner-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .banner-button {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .mobile-filter-dropdown {
        display: block;
    }
    
    .gallery-filter {
        display: none;
    }
    
    .hidden-mobile {
        display: none;
    }
    
    .show-more-features {
        display: block;
    }
    
    .virtual-tour-button {
        display: none;
    }
    
    .chat-window {
        width: 300px;
        right: 20px;
    }
    
    .chat-support-button {
        right: 20px;
        bottom: 20px;
    }
    
    .seat-availability {
        top: auto;
        bottom: 10px;
        right: 10px;
    }
    
    .price-calculation {
        padding: 1rem;
    }
    
    .weather-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .tour-thumbnail-strip {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0.5rem;
    }
    
    .tour-thumbnail {
        width: 60px;
        height: 45px;
        flex-shrink: 0;
    }
    
    .custom-notifications {
        bottom: 10px;
        right: 10px;
    }
    
    .social-proof {
        max-width: 250px;
    }
    
    .tip-card {
        width: 250px;
    }
    
    .accessibility-menu {
        width: 280px;
    }
    
    .accessibility-button {
        left: 20px;
        bottom: 20px;
    }
}

@media (max-width: 576px) {
    .chat-window {
        width: calc(100% - 40px);
        height: 350px;
        bottom: 80px;
    }
    
    .chat-support-button {
        width: 50px;
        height: 50px;
    }
    
    .tour-info {
        top: 10px;
        left: 10px;
        max-width: 200px;
        padding: 0.8rem;
    }
    
    .tour-info h2 {
        font-size: 1.1rem;
    }
    
    .tour-controls {
        bottom: 70px;
        gap: 0.3rem;
    }
    
    .tour-control {
        width: 36px;
        height: 36px;
    }
    
    .custom-notification {
        width: calc(100% - 20px);
        max-width: none;
    }
    
    .social-proof {
        width: calc(100% - 40px);
        max-width: none;
    }
    
    .tip-card {
        width: calc(100% - 40px);
    }
    
    .accessibility-menu {
        width: calc(100% - 40px);
        left: 20px;
    }
    
    .weather-widget {
        padding: 1rem;
    }
    
    .countdown-timer {
        gap: 0.5rem;
    }
    
    .countdown-item {
        min-width: 40px;
        padding: 0.3rem;
    }
    
    .countdown-value {
        font-size: 1rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
}

/* ===== ANIMATIONS FOR JAVASCRIPT INTERACTIONS ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-down {
    animation: fadeInDown 0.5s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.zoom-in {
    animation: zoomIn 0.5s ease-out;
}

/* ===== SPECIAL THEME COLOR VARIATIONS ===== */
body.theme-dark {
    background-color: #121212;
    background-image: linear-gradient(to bottom, #1a1a2e, #121212);
    color: #f0f0f0;
}

body.theme-dark header,
body.theme-dark .destination-card,
body.theme-dark .package-card,
body.theme-dark .blog-post,
body.theme-dark .testimonial-item,
body.theme-dark .modal-content,
body.theme-dark .contact-form,
body.theme-dark .value-item,
body.theme-dark .team-member,
body.theme-dark .custom-notification,
body.theme-dark .social-proof,
body.theme-dark .tip-card,
body.theme-dark .chat-window,
body.theme-dark .accessibility-menu {
    background-color: #1e1e1e;
    color: #f0f0f0;
}

body.theme-dark .modal-header,
body.theme-dark .modal-footer {
    background-color: #262626;
}

body.theme-dark input, 
body.theme-dark textarea, 
body.theme-dark select {
    background-color: #333;
    border-color: #444;
    color: #f0f0f0;
}

body.theme-dark .toggle-button {
    background-color: #555;
}

body.theme-dark .option-buttons button {
    background-color: #333;
    border-color: #444;
    color: #f0f0f0;
}

body.theme-nature {
    background-color: #f5f7e6;
    background-image: linear-gradient(to bottom, #e8f3d6, #f5f7e6);
    color: #2c5d2d;
}

body.theme-nature .btn-primary,
body.theme-nature .btn-book-now,
body.theme-nature .btn-submit {
    background-color: #639a67;
}

body.theme-nature header.sticky {
    background-color: rgba(245, 247, 230, 0.9);
}

body.theme-ocean {
    background-color: #e3f6f5;
    background-image: linear-gradient(to bottom, #bae8e8, #e3f6f5);
    color: #272643;
}

body.theme-ocean .btn-primary,
body.theme-ocean .btn-book-now,
body.theme-ocean .btn-submit {
    background-color: #2c698d;
}

body.theme-ocean header.sticky {
    background-color: rgba(227, 246, 245, 0.9);
}

/* ===== FALLBACK STYLES ===== */
.no-js .gallery-filter,
.no-js .search-form,
.no-js .testimonial-controls,
.no-js .newsletter-form {
    display: none;
}

.no-js .gallery-item {
    display: block !important;
}

.no-js .testimonial-item {
    display: block !important;
    margin-bottom: 2rem;
}

.no-js .modal {
    position: relative;
    display: block;
    opacity: 1;
    margin: 2rem 0;
    padding: 0;
    background: none;
    overflow: visible;
}

.no-js .modal-content {
    max-width: 100%;
    margin: 0;
}

.cssanimations .testimonial-item:not(:first-child) {
    display: none;
}

/* ===== UTILITIES FOR JAVASCRIPT INTERACTIONS ===== */
.fade {
    transition: opacity 0.3s ease;
}

.fade.show {
    opacity: 1;
}

.collapse {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.collapse.show {
    height: auto;
}

.d-none {
    display: none !important;
}

.invisible {
    visibility: hidden !important;
}

.position-relative {
    position: relative !important;
}

.position-absolute {
    position: absolute !important;
}

.overflow-hidden {
    overflow: hidden !important;
}

.pointer-events-none {
    pointer-events: none !important;
}

.user-select-none {
    user-select: none !important;
}

/* ===== DESTINATION FILTER MODAL STYLES ===== */
#modal-destination-filter .modal-content {
    max-width: 500px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: modalZoomIn 0.4s ease-out;
    background-color: white;
    margin: 20px auto;
}

@keyframes modalZoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#modal-destination-filter .modal-header {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-leaf) 100%);
    color: white;
    border-bottom: none;
}

#modal-destination-filter .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%23ffffff10' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z'%3E%3C/path%3E%3C/svg%3E");
    z-index: 0;
    opacity: 0.3;
}

#modal-destination-filter .modal-header h2 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    font-family: var(--font-accent);
    letter-spacing: 1px;
}

#modal-destination-filter .modal-header h2::after {
    display: none;
}

#modal-destination-filter .close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: white;
    opacity: 0.8;
    z-index: 2;
    transition: all 0.3s ease;
}

#modal-destination-filter .close-modal:hover {
    transform: rotate(90deg);
    opacity: 1;
}

#modal-destination-filter .modal-body {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
    background-color: white;
}

/* Custom scrollbar for the modal body */
#modal-destination-filter .modal-body::-webkit-scrollbar {
    width: 6px;
}

#modal-destination-filter .modal-body::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

#modal-destination-filter .modal-body::-webkit-scrollbar-thumb {
    background: var(--color-leaf);
    border-radius: 10px;
}

#modal-destination-filter .filter-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#modal-destination-filter .filter-section {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

#modal-destination-filter .filter-section:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

#modal-destination-filter .filter-section h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--color-forest);
    font-weight: 600;
    display: flex;
    align-items: center;
}

/* Adding icons to section headings */
#modal-destination-filter .filter-section:nth-child(1) h3::before {
    content: '🏔️';
    margin-right: 0.5rem;
    font-size: 1.3rem;
}

#modal-destination-filter .filter-section:nth-child(2) h3::before {
    content: '📍';
    margin-right: 0.5rem;
    font-size: 1.3rem;
}

#modal-destination-filter .filter-section:nth-child(3) h3::before {
    content: '📊';
    margin-right: 0.5rem;
    font-size: 1.3rem;
}

/* Stylish Checkbox Group */
#modal-destination-filter .checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.8rem;
}

#modal-destination-filter .checkbox-group input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

#modal-destination-filter .checkbox-group label {
    display: flex;
    align-items: center;
    padding: 0.7rem 1rem;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    color: var(--color-mountain);
    position: relative;
    padding-left: 2.8rem;
    user-select: none;
}

#modal-destination-filter .checkbox-group label::before {
    content: '';
    position: absolute;
    left: 1rem;
    width: 18px;
    height: 18px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.2s ease;
}

#modal-destination-filter .checkbox-group input[type="checkbox"]:checked + label {
    border-color: var(--color-leaf);
    background-color: rgba(85, 166, 48, 0.05);
    color: var(--color-forest);
}

#modal-destination-filter .checkbox-group input[type="checkbox"]:checked + label::before {
    border-color: var(--color-leaf);
    background-color: var(--color-leaf);
}

#modal-destination-filter .checkbox-group input[type="checkbox"]:checked + label::after {
    content: '';
    position: absolute;
    left: 1.45rem;
    top: 1.1rem;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

#modal-destination-filter .checkbox-group label:hover {
    border-color: var(--color-leaf);
    box-shadow: 0 2px 8px rgba(85, 166, 48, 0.1);
}

/* Destination Type Icons */
#modal-destination-filter label[for="filter-gunung"]::before {
    border-color: #e76f51;
}

#modal-destination-filter input[type="checkbox"]:checked + label[for="filter-gunung"]::before {
    background-color: #e76f51;
    border-color: #e76f51;
}

#modal-destination-filter label[for="filter-laut"]::before {
    border-color: #0077b6;
}

#modal-destination-filter input[type="checkbox"]:checked + label[for="filter-laut"]::before {
    background-color: #0077b6;
    border-color: #0077b6;
}

#modal-destination-filter label[for="filter-hutan"]::before {
    border-color: #2a9d8f;
}

#modal-destination-filter input[type="checkbox"]:checked + label[for="filter-hutan"]::before {
    background-color: #2a9d8f;
    border-color: #2a9d8f;
}

#modal-destination-filter label[for="filter-danau"]::before {
    border-color: #48cae4;
}

#modal-destination-filter input[type="checkbox"]:checked + label[for="filter-danau"]::before {
    background-color: #48cae4;
    border-color: #48cae4;
}

/* Stylish Range Slider */
#modal-destination-filter .range-filter {
    padding: 0 0.5rem;
    margin-top: 1.5rem;
}

#modal-destination-filter input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 10px;
    outline: none;
    margin: 1rem 0;
    position: relative;
}

#modal-destination-filter input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-forest);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

#modal-destination-filter input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-forest);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border: none;
    transition: all 0.2s ease;
}

#modal-destination-filter input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#modal-destination-filter input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Create difficulty indicators */
#modal-destination-filter input[type="range"]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 6px;
    width: calc(var(--range-value, 5) * 20%);
    background: linear-gradient(90deg, #4CAF50, #FFC107, #FF5722);
    border-radius: 10px;
    z-index: -1;
}

#modal-destination-filter .range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--color-earth);
    margin-top: 0.5rem;
}

/* Range level indicators */
#modal-destination-filter .range-levels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
}

#modal-destination-filter .range-level {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

#modal-destination-filter .range-level:nth-child(1) {
    background-color: #4CAF50; /* Easy */
}
#modal-destination-filter .range-level:nth-child(2) {
    background-color: #8BC34A;
}
#modal-destination-filter .range-level:nth-child(3) {
    background-color: #FFC107;
}
#modal-destination-filter .range-level:nth-child(4) {
    background-color: #FF9800;
}
#modal-destination-filter .range-level:nth-child(5) {
    background-color: #FF5722; /* Hard */
}

/* Modal Footer */
#modal-destination-filter .modal-footer {
    display: flex;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

#modal-destination-filter .btn-reset-filter {
    padding: 0.8rem 1.5rem;
    background-color: transparent;
    border: 1px solid #ddd;
    color: var(--color-night);
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#modal-destination-filter .btn-reset-filter:hover {
    background-color: #eee;
    color: var(--color-mountain);
}

#modal-destination-filter .btn-apply-filter {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-leaf) 100%);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(85, 166, 48, 0.2);
}

#modal-destination-filter .btn-apply-filter:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(85, 166, 48, 0.3);
}

#modal-destination-filter .btn-apply-filter:active {
    transform: translateY(0);
}

/* Range Value Display */
#modal-destination-filter .range-value-display {
    text-align: center;
    font-weight: 700;
    color: var(--color-forest);
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

/* Add a difficulty text indicator */
#modal-destination-filter .difficulty-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-earth);
    margin-top: 0.5rem;
}

/* Animated radio-like dots for the range */
#modal-destination-filter .range-dots {
    display: flex;
    justify-content: space-between;
    margin: 0.5rem 0;
}

#modal-destination-filter .range-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #e0e0e0;
    transition: all 0.3s ease;
}

#modal-destination-filter .range-dot.active {
    transform: scale(1.2);
}

#modal-destination-filter .range-dot:nth-child(1).active {
    background-color: #4CAF50;
}
#modal-destination-filter .range-dot:nth-child(2).active {
    background-color: #8BC34A;
}
#modal-destination-filter .range-dot:nth-child(3).active {
    background-color: #FFC107;
}
#modal-destination-filter .range-dot:nth-child(4).active {
    background-color: #FF9800;
}
#modal-destination-filter .range-dot:nth-child(5).active {
    background-color: #FF5722;
}

/* Dark theme support */
body.theme-dark #modal-destination-filter .modal-content {
    background-color: #1e1e1e;
}

body.theme-dark #modal-destination-filter .modal-body {
    background-color: #1e1e1e;
}

body.theme-dark #modal-destination-filter .modal-footer {
    background-color: #262626;
    border-top-color: #333;
}

body.theme-dark #modal-destination-filter .filter-section {
    background-color: #262626;
}

body.theme-dark #modal-destination-filter .filter-section h3 {
    color: #e0e0e0;
}

body.theme-dark #modal-destination-filter .checkbox-group label {
    background-color: #333;
    border-color: #444;
    color: #e0e0e0;
}

body.theme-dark #modal-destination-filter .checkbox-group label::before {
    border-color: #555;
}

body.theme-dark #modal-destination-filter .checkbox-group input[type="checkbox"]:checked + label {
    background-color: rgba(85, 166, 48, 0.2);
}

body.theme-dark #modal-destination-filter .range-labels {
    color: #999;
}

body.theme-dark #modal-destination-filter input[type="range"] {
    background-color: #444;
}

body.theme-dark #modal-destination-filter .btn-reset-filter {
    border-color: #444;
    color: #e0e0e0;
}

body.theme-dark #modal-destination-filter .btn-reset-filter:hover {
    background-color: #333;
}

body.theme-dark #modal-destination-filter .range-dot {
    background-color: #444;
}

body.theme-dark #modal-destination-filter .difficulty-text {
    color: #999;
}

/* Responsive styles */
@media (max-width: 768px) {
    #modal-destination-filter .modal-content {
        width: 90%;
        max-width: 500px;
        margin: 30px auto;
    }
    
    #modal-destination-filter .checkbox-group {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media (max-width: 576px) {
    #modal-destination-filter .modal-content {
        width: 95%;
        margin: 20px auto;
    }
    
    #modal-destination-filter .modal-header h2 {
        font-size: 1.4rem;
    }
    
    #modal-destination-filter .filter-section {
        padding: 1.2rem;
    }
    
    #modal-destination-filter .checkbox-group {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
    
    #modal-destination-filter .modal-footer {
        flex-direction: column-reverse;
        gap: 0.8rem;
    }
    
    #modal-destination-filter .btn-reset-filter,
    #modal-destination-filter .btn-apply-filter {
        width: 100%;
        text-align: center;
    }
    
    #modal-destination-filter .range-filter {
        padding: 0;
    }
}
