/* ==========================================================================
   Tour Detail Shared — Extracted inline styles
   Source: themes/HSJTRAVEL/Tour/Views/frontend/layouts/details/*.blade.php
   ========================================================================== */

/* ── Tour Nav (tour-nav) ── */

/* Fixed state when JS sticky kicks in */
#sectionNav.nav-is-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    z-index: 999 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10) !important;
}
@media (max-width: 991px) {
    #sectionNav:not(.nav-is-fixed) { margin: 0 20px !important; width: calc(100% - 40px) !important; }
}
@media (max-width: 575px) {
    #sectionNav:not(.nav-is-fixed) { margin: 0 12px !important; width: calc(100% - 24px) !important; border-radius: 0 0 10px 10px !important; }
}

/* ── Tour Departure (tour-departure) ── */

.flatpickr-calendar {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.flatpickr-day.selected {
    background: #1a4b89;
    border-color: #1a4b89;
}

/* Compact Inquiry Form Styles */
.compact-inquiry-form {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    border: 1px solid #e9ecef;
}

.compact-alert {
    padding: 8px 12px;
    margin-bottom: 15px;
    font-size: 14px;
    border-radius: 6px;
}

.compact-checkout-form {
    margin: 0;
}

.compact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 15px;
}

.compact-input-group {
    position: relative;
}

.compact-input {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 2px solid #e9ecef !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    background: white !important;
    height: 50px !important;
}

.compact-input:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.compact-input::placeholder {
    color: #6c757d;
    font-size: 14px;
}

.compact-textarea-group {
    margin-bottom: 15px;
}

.compact-textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    padding: 12px 15px;
    resize: vertical;
    min-height: 80px;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.compact-textarea:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.compact-textarea::placeholder {
    color: #6c757d;
    font-size: 14px;
}

.compact-privacy-notice {
    text-align: center;
    margin-bottom: 15px;
    color: #6c757d;
}

.compact-privacy-notice i {
    color: #28a745;
    margin-right: 5px;
}

.compact-recaptcha {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.compact-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #0056b3, #0056b3);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.compact-submit-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.compact-submit-btn:active {
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .compact-form-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .compact-inquiry-form {
        padding: 15px;
        margin: 10px 0;
    }

    .compact-input,
    .compact-textarea {
        padding: 10px 12px;
        font-size: 16px; /* Prevent zoom on iOS */
        min-height: 60px;
    }

    .compact-submit-btn {
        padding: 12px 18px;
        font-size: 15px;
    }
}

/* Remove default margins and gaps */
.departure-section .tab-content {
    margin-top: 15px;
}

.departure-section .nav-tabs {
    margin-bottom: 0;
}

/* Compact tab styling */
.departure-section .nav-tabs .nav-link {
    padding: 10px 20px;
    font-size: 14px;
}

/* Ensure no extra spacing */
#private-trip {
    padding: 0;
}

/* Compact section styling */
.compact-dates-section {
    margin-top: 20px;
}

.compact-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.compact-departure-section {
    margin-top: 10px;
}

/* Remove extra margins from content sections */
.content-section {
    margin-bottom: 20px;
}

/* Optimize tab content spacing */
.tab-content .tab-pane {
    padding-top: 0;
}

/* Phone input with country code styling */
.phone-input-group {
    position: relative;
}

.phone-input-wrapper {
    display: flex;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.phone-input-wrapper:focus-within {
    border-color: #0056b3;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.country-code-select {
    background: #f8f9fa;
    border: none;
    padding: 12px 8px;
    font-size: 14px;
    color: #495057;
    cursor: pointer;
    outline: none;
    max-width: 70px;
    border-right: 1px solid #e9ecef;
}

.country-code-select:focus {
    background: #e9ecef;
}

.phone-number-input {
    flex: 1;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 12px 15px;
    font-size: 14px;
}

.phone-number-input:focus {
    outline: none;
    box-shadow: none !important;
    border: none !important;
}

.phone-number-input::placeholder {
    color: #6c757d;
    font-size: 14px;
}

/* Mobile responsive for phone input */
@media (max-width: 768px) {
    .country-code-select {
        min-width: 80px;
        padding: 10px 6px;
        font-size: 13px;
    }

    .phone-number-input {
        padding: 10px 12px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* ── Elevation Chart (tour-elevation) ── */

.elevation-chart-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
    min-height: 350px;
}

/* ── Gallery Banner (tour-gallery-banner-new) ── */

/* Tour Gallery Banner - New Style */
.tour-gallery-banner-new {
    position: relative;
    margin-bottom: 2rem;
}

/* Gallery Thumbnails Container */
.gallery-thumbnails-container {
    position: relative;
    z-index: 10;
    margin-bottom: -50px; /* Negative margin to overlay on banner */
}

.gallery-thumbnails {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.thumbnail-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thumbnail-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-item:hover .thumbnail-overlay {
    opacity: 1;
}

.thumbnail-overlay i {
    color: white;
    font-size: 1.2rem;
}

/* Big Banner Image */
.banner-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.banner-image-container:hover .banner-image {
    transform: scale(1.02);
}

.banner-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

/* Featured Badge */
.badge-exclusive {
    position: absolute;
    top: 2rem;
    left: 2rem;
        background: linear-gradient(135deg, var(--hsj-theme-primary) 0%, var(--hsj-theme-primary) 100%);

    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Action Buttons */
.banner-actions {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-action {
    border-radius: 2rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #333 !important;
    transition: all 0.3s ease;
}

.btn-action:hover {
    background: rgba(255, 255, 255, 1) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* More Photos Overlay */
.more-photos-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.more-photos-overlay:hover {
    background: rgba(0, 0, 0, 0.9);
}

.more-photos-overlay i {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.more-photos-overlay span {
    font-size: 0.875rem;
    font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .gallery-thumbnails-container {
        margin-bottom: -30px;
    }

    .gallery-thumbnails {
        gap: 0.25rem;
        padding: 0.75rem 0;
    }

    .thumbnail-item {
        width: 60px;
        height: 60px;
    }

    .banner-image-container {
        height: 350px;
    }

    .badge-exclusive {
        top: 1rem;
        left: 1rem;
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }

    .banner-actions {
        bottom: 1rem;
        right: 1rem;
        gap: 0.25rem;
    }

    .btn-action {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .gallery-thumbnails {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .thumbnail-item {
        flex-shrink: 0;
        width: 50px;
        height: 50px;
    }

    .banner-image-container {
        height: 280px;
    }

    .banner-actions {
        bottom: 0.75rem;
        right: 0.75rem;
        flex-direction: column;
        align-items: flex-end;
    }

    .btn-action {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
}

/* ── Route Map Basic (tour-route) ── */

/* Route Map Container */
.route-map-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.route-summary {
    padding: 25px;
}

.route-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.route-points {
    flex: 1;
}

.start-point,
.end-point {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--hsj-theme-primary);
}

.start-point i {
    color: #28a745 !important;
    font-size: 18px;
}

.end-point i {
    color: #dc3545 !important;
    font-size: 18px;
}

.start-point span,
.end-point span {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
    min-width: 50px;
}

.start-point strong,
.end-point strong {
    color: #333;
    font-weight: 600;
}

.middle-points {
    margin: 20px 0;
    text-align: center;
}

.btn-destinations {
    background: none;
    border: 2px dashed var(--hsj-theme-primary);
    color: var(--hsj-theme-primary);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-destinations:hover {
    background: var(--hsj-theme-primary);
    color: white;
}

.destinations-list {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    animation: slideDown 0.3s ease;
}

.destination-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.destination-item:last-child {
    border-bottom: none;
}

.destination-item i {
    font-size: 8px;
    color: var(--hsj-theme-primary);
}

.route-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-view-map {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-view-map:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mini Map */
.route-mini-map {
    position: relative;
    background: #f8f9fa;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.route-mini-map:hover .map-overlay {
    opacity: 1;
}

.map-overlay i {
    font-size: 24px;
    margin-bottom: 8px;
}

/* Modal Styles */
.modal-fullscreen .modal-content {
    border-radius: 0;
}

.modal-header {
    background: linear-gradient(135deg, var(--hsj-theme-primary), var(--hsj-theme-secondary, #1e3c72));
    color: white;
    padding: 20px 30px;
}

.modal-title-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.modal-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.route-stats {
    display: flex;
    gap: 10px;
}

.route-stats .badge {
    padding: 8px 12px;
    font-size: 0.9rem;
}

.btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.btn-close:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .route-info {
        flex-direction: column;
        gap: 15px;
    }

    .route-actions {
        width: 100%;
    }

    .modal-header {
        padding: 15px 20px;
    }

    .modal-title-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .route-stats {
        flex-wrap: wrap;
    }
}

/* Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* Day-wise markers */
.day-marker {
    background: var(--hsj-theme-primary);
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.day-marker.start {
    background: #28a745;
}

.day-marker.end {
    background: #dc3545;
}

.day-marker.multiple {
    background: #ff6b35;
}

/* ── Route Map Enhanced (tour-route-enhanced) ── */

/* Route Map Container */
.route-map-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.route-summary {
    padding: 25px;
}

.route-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.route-points {
    flex: 1;
}

.start-point,
.end-point {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--hsj-theme-primary);
}

.transport-emoji {
    font-size: 24px;
    animation: bounceAnimation 2s ease-in-out infinite;
}

.transport-emoji-small {
    font-size: 16px;
    margin-right: 8px;
}

.start-point span:nth-child(2),
.end-point span:nth-child(2) {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
    min-width: 50px;
}

.start-point strong,
.end-point strong {
    color: #333;
    font-weight: 600;
}

.middle-points {
    margin: 20px 0;
    text-align: center;
}

.btn-destinations {
    background: none;
    border: 2px dashed var(--hsj-theme-primary);
    color: var(--hsj-theme-primary);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-destinations:hover {
    background: var(--hsj-theme-primary);
    color: white;
}

.destinations-list {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    animation: slideDown 0.3s ease;
}

.destination-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.destination-item:last-child {
    border-bottom: none;
}

.route-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-view-map {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-view-map:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mini Map */
.route-mini-map {
    position: relative;
    background: #f8f9fa;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.route-mini-map:hover .map-overlay {
    opacity: 1;
}

.map-overlay i {
    font-size: 24px;
    margin-bottom: 8px;
}

/* Altitude Section */
.altitude-section {
    margin-top: 30px;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.altitude-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.altitude-header h4 {
    margin: 0;
    color: var(--hsj-theme-primary);
    font-size: 18px;
    font-weight: 600;
}

.altitude-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2px;
}

.stat-value {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.altitude-chart-container {
    position: relative;
}

.altitude-loading {
    text-align: center;
    color: #666;
}

.altitude-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    padding: 15px 25px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.altitude-legend .legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #666;
}

.altitude-legend-color {
    width: 16px;
    height: 3px;
    border-radius: 2px;
}

.altitude-legend-color.line {
    background: #2e7d32;
}

.altitude-legend-color.fill {
    background: rgba(46, 125, 50, 0.3);
    height: 8px;
}

.altitude-legend-color.point {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2e7d32;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Modal Styles */
.modal-fullscreen .modal-content {
    border-radius: 0;
}

.modal-header {
    background: linear-gradient(135deg, var(--hsj-theme-primary), var(--hsj-theme-secondary, #1e3c72));
    color: white;
    padding: 20px 30px;
}

.modal-title-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.modal-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.route-stats {
    display: flex;
    gap: 10px;
}

.route-stats .badge {
    padding: 8px 12px;
    font-size: 0.9rem;
}

.btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.btn-close:hover {
    opacity: 1;
}

/* Route Info Popup - External Box */
.route-info-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0e0e0;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.route-info-popup.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.route-info-popup .popup-content {
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
}

.route-info-popup .popup-header {
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.route-info-popup .popup-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

.route-info-popup .popup-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.route-info-popup .popup-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.route-info-popup .popup-body {
    padding: 20px;
}

.route-info-popup .popup-days {
    background: #e3f2fd;
    color: #1976d2;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
}

.route-info-popup .popup-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.route-info-popup .detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #666;
}

.route-info-popup .detail-item i {
    width: 16px;
    color: #2e7d32;
    text-align: center;
    font-size: 14px;
}

/* Custom Map Marker Styles */
.custom-transport-marker {
    background: transparent !important;
    border: none !important;
}

.mini-transport-marker {
    background: transparent !important;
    border: none !important;
}

.marker-container {
    position: relative;
    cursor: pointer;
}

.transport-marker-mini:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.transport-marker-full:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.day-count-badge,
.day-badge-full {
    animation: pulse 2s infinite;
}

/* Transportation Icon Animations */
@keyframes flyAnimation {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-3px) rotate(-2deg);
    }

    75% {
        transform: translateY(-1px) rotate(2deg);
    }
}

@keyframes hoverAnimation {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-4px) scale(1.05);
    }
}

@keyframes driveAnimation {

    0%,
    100% {
        transform: translateX(0px);
    }

    25% {
        transform: translateX(-1px);
    }

    75% {
        transform: translateX(1px);
    }
}

@keyframes bounceAnimation {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-5px) scale(1.1);
    }
}

@keyframes walkAnimation {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-2px) rotate(-1deg);
    }

    75% {
        transform: translateY(-1px) rotate(1deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* Responsive Design */
@media (max-width: 768px) {
    .route-info {
        flex-direction: column;
        gap: 15px;
    }

    .route-actions {
        width: 100%;
    }

    .altitude-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .altitude-stats {
        gap: 15px;
    }

    .route-info-popup {
        position: fixed;
        top: 50%;
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%) translateY(-10px);
        width: 90%;
        max-width: 320px;
    }

    .route-info-popup.show {
        transform: translate(-50%, -50%) translateY(0);
    }

    .modal-header {
        padding: 15px 20px;
    }

    .modal-title-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .route-stats {
        flex-wrap: wrap;
    }
}

/* ── Route Map Immersive (tour-route-immersive) ── */

/* Immersive Route Section Styles */
.immersive-route-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.immersive-route-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

/* Immersive Header */
.immersive-header {
    background: linear-gradient(135deg, var(--hsj-theme-primary, #0056b3) 0%, var(--hsj-theme-secondary, #6f42c1) 100%);
    padding: 30px 40px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.immersive-header-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.header-icon-wrapper {
    position: relative;
}

.animated-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0056b3 0%, #6f42c1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 8px 35px rgba(0, 123, 255, 0.6);
        transform: scale(1.05);
    }
}

.header-text-content {
    flex: 1;
    color: white;
}

.immersive-title {
    margin: 0 0 8px 0;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.immersive-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 400;
}

.header-stats-wrapper {
    display: flex;
    gap: 15px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 100px;
}

.stat-card i {
    font-size: 20px;
    color: #0056b3;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Map Container */
.immersive-map-container {
    position: relative;
    height: 600px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.route-map-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

/* Route Controls Overlay */
.route-controls-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.control-panel {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.control-btn {
    background: linear-gradient(135deg, #0056b3 0%, #6f42c1 100%);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.speed-control-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-size: 0.9rem;
    white-space: nowrap;
}

.speed-control-label i {
    color: #0056b3;
}

.speed-slider {
    width: 100px;
    height: 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    -webkit-appearance: none;
}

.speed-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0056b3;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.4);
}

.speed-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0056b3;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.4);
}

.speed-value {
    color: #333;
    font-weight: 600;
    min-width: 35px;
    text-align: center;
}

/* Route Summary Bar (Like in image) */
.route-summary-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    background: white;
    border-top: 2px dashed rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    gap: 20px;
    flex-wrap: wrap;
}

.route-summary-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 200px;
}

.route-start-icon {
    color: #0056b3;
    font-size: 18px;
}

.route-end-icon {
    color: #dc3545;
    font-size: 18px;
}

.route-label {
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
}

.route-location {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.route-more-btn {
    justify-content: center;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 20px;
    background: #e3f2fd;
    border: 1px solid #90caf9;
    transition: all 0.3s ease;
    flex: 0 0 auto;
}

.route-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
    background: #bbdefb;
}

.more-destinations-badge {
    color: #1976d2;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Route Timeline */
.route-timeline-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    max-height: 200px;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

.route-timeline-container.show {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

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

.route-timeline-container.collapsed {
    max-height: 50px;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: #333;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.timeline-header h4 {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-header h4 i {
    color: #0056b3;
}

.toggle-timeline-btn {
    background: transparent;
    border: none;
    color: #333;
    cursor: pointer;
    font-size: 18px;
    padding: 5px 10px;
    transition: transform 0.3s ease;
}

.toggle-timeline-btn:hover {
    transform: scale(1.2);
}

.timeline-content {
    padding: 15px 20px;
    overflow-y: auto;
    max-height: 150px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.timeline-item {
    background: rgba(248, 249, 250, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    position: relative;
}

.timeline-item:hover {
    background: rgba(0, 123, 255, 0.1);
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.timeline-item.active {
    background: rgba(0, 123, 255, 0.15);
    border-color: #0056b3;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.3);
}

.timeline-item-day {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 5px;
}

.timeline-item-name {
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-item-transport {
    font-size: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.timeline-item.return-visit {
    border-left: 3px solid #ff6b35;
}

.return-badge {
    display: inline-block;
    background: #ff6b35;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
    font-weight: 600;
}

/* Route Info Panel */
.route-info-panel {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 20px;
    min-width: 300px;
    max-width: 400px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    color: #333;
}

.route-info-panel.active {
    display: block;
    animation: slideInLeft 0.3s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.info-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-panel-header h4 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.close-info-panel {
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 20px;
    padding: 5px;
    transition: all 0.3s ease;
}

.close-info-panel:hover {
    color: #333;
    transform: rotate(90deg);
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.detail-item i {
    color: #0056b3;
    width: 20px;
}

.location-description {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.location-description p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Animated Route Dot */
.animated-route-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #ff6b35;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.3),
        0 0 20px rgba(255, 107, 53, 0.6);
    z-index: 1000;
    transition: all 0.1s ease;
    animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.3),
            0 0 20px rgba(255, 107, 53, 0.6);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(255, 107, 53, 0.2),
            0 0 30px rgba(255, 107, 53, 0.8);
        transform: scale(1.1);
    }
}

/* Custom Leaflet Styles */
.immersive-map-container .leaflet-container {
    background: #f8f9fa;
}

.immersive-map-container .leaflet-control-zoom {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.immersive-map-container .leaflet-control-zoom a {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
}

.immersive-map-container .leaflet-control-zoom a:hover {
    background: rgba(0, 123, 255, 0.1);
    color: #0056b3;
}

/* Maximize Map Button (Matching image) */
.maximize-map-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.maximize-map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}

.maximize-map-btn i {
    color: #0056b3;
    font-size: 16px;
}

/* Marker Styles */
.route-start-marker .start-marker {
    animation: pulseMarker 2s ease-in-out infinite;
}

@keyframes pulseMarker {

    0%,
    100% {
        box-shadow: 0 2px 8px rgba(0, 123, 255, 0.4);
    }

    50% {
        box-shadow: 0 2px 12px rgba(0, 123, 255, 0.6);
    }
}

.route-end-marker i {
    animation: flagWave 2s ease-in-out infinite;
}

@keyframes flagWave {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-5deg);
    }

    75% {
        transform: rotate(5deg);
    }
}

/* Fullscreen Timeline */
.fullscreen-timeline {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 300px;
}

.fullscreen-timeline .timeline-content {
    max-height: 250px;
}

/* Modal Styles */
.modal-title-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.route-stats .badge {
    font-size: 0.85rem;
    padding: 6px 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .immersive-header-content {
        flex-direction: column;
        text-align: center;
    }

    .header-stats-wrapper {
        width: 100%;
        justify-content: center;
    }

    .immersive-map-container {
        height: 400px;
    }

    .route-controls-overlay {
        top: 10px;
        right: 10px;
        padding: 10px;
    }

    .route-info-panel {
        top: 10px;
        left: 10px;
        right: 10px;
        max-width: none;
    }

    .timeline-content {
        flex-direction: column;
    }
}

/* ── Quote Request Widget (quote-request-widget) ── */

.quote-request-section {
    margin-bottom: 20px;
}

/* Modal Overlay */
.quote-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

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

/* Modal Container */
.quote-modal {
    background: #fff;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
    top:10px;
}

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

/* Close Button */
.quote-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f5f5f5;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1;
}

.quote-modal-close:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

.quote-modal-close i {
    font-size: 16px;
    color: #666;
}

/* Modal Header */
.quote-modal-header {
    padding: 25px 25px 20px;
    border-bottom: 1px solid #eee;
}

.quote-modal-header h4 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    padding-right: 30px;
}

.quote-modal-header p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Modal Body */
.quote-modal-body {
    padding: 25px;
}

.quote-benefits {
    padding: 12px 0;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

.quote-success-message {
    margin-top: 15px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .quote-modal {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }

    .quote-modal-header {
        padding: 20px 20px 15px;
    }

    .quote-modal-header h4 {
        font-size: 18px;
    }

    .quote-modal-body {
        padding: 20px;
    }

    .quote-modal-overlay {
        padding: 0;
    }
}

/* ── Quote Request Enhanced (quote-request-widget-enhanced) ── */

.quote-request-section {
    margin-bottom: 20px;
}

/* Modal Overlay */
.quote-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

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

/* Modal Container */
.quote-modal {
    background: #fff;
    border-radius: 8px;
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
}

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

/* Close Button */
.quote-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f5f5f5;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1;
}

.quote-modal-close:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

.quote-modal-close i {
    font-size: 16px;
    color: #666;
}

/* Modal Header */
.quote-modal-header {
    padding: 25px 25px 20px;
    border-bottom: 1px solid #eee;
}

.quote-modal-header h4 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    padding-right: 30px;
}

.quote-modal-header p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Modal Body */
.quote-modal-body {
    padding: 25px;
}

/* Tell Us More Section */
.tell-us-more-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.tell-us-more-section .section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px;
}

.tell-us-more-section .section-title i {
    color: #e74c3c;
    margin-right: 8px;
}

.tell-us-more-section .section-subtitle {
    font-size: 13px;
    color: #666;
    margin: 0 0 15px;
}

/* Preferences Grid */
.preferences-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.preference-item {
    margin: 0;
    cursor: pointer;
}

.preference-item input[type="checkbox"] {
    display: none;
}

.preference-box {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.3s;
}

.preference-box i {
    font-size: 18px;
    color: #666;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.preference-label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.preference-item input[type="checkbox"]:checked + .preference-box {
    background: #e8f4f8;
    border-color: #1A4B89;
}

.preference-item input[type="checkbox"]:checked + .preference-box i {
    color: #1A4B89;
}

.preference-item:hover .preference-box {
    border-color: #1A4B89;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.quote-benefits {
    padding: 12px 0;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

.quote-success-message {
    margin-top: 15px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .quote-modal {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }

    .quote-modal-header {
        padding: 20px 20px 15px;
    }

    .quote-modal-header h4 {
        font-size: 18px;
    }

    .quote-modal-body {
        padding: 20px;
    }

    .quote-modal-overlay {
        padding: 0;
    }

    .preferences-grid {
        grid-template-columns: 1fr;
    }

    .tell-us-more-section {
        padding: 15px;
    }
}

/* ── Inquiry Modal (tour-inquiry-modal) ── */

.hsj-enq-overlay {
  position: fixed; inset: 0; z-index: 1060;
  background: rgba(10,14,23,0.55); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.hsj-enq-overlay.open { opacity: 1; pointer-events: all; }

.hsj-enq-modal {
  background: #fff; border-radius: 16px; width: 100%; max-width: 520px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
  transform: translateY(16px) scale(0.99);
  transition: transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94), opacity 0.3s;
  opacity: 0;
  overflow: hidden; max-height: 92vh; display: flex; flex-direction: column;
}
.hsj-enq-overlay.open .hsj-enq-modal { transform: translateY(0) scale(1); opacity: 1; }

/* Header */
.hsj-enq-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f3f4f6;
  flex-shrink: 0;
}
.hsj-enq-header-top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px;
}
.hsj-enq-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: #FBA504; display: block; margin-bottom: 4px;
}
.hsj-enq-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px; font-weight: 500; color: #111827; line-height: 1.25;
}
.hsj-enq-close {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  background: #f3f4f6; border: none; color: #6b7280;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.hsj-enq-close:hover { background: #e5e7eb; color: #111827; }
.hsj-enq-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hsj-enq-meta-item {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: #6b7280; font-weight: 400;
}
.hsj-enq-meta-item svg { opacity: 0.55; flex-shrink: 0; }
.hsj-enq-meta-dot { color: #d1d5db; font-size: 12px; }

/* Body */
.hsj-enq-body { padding: 20px 24px 24px; overflow-y: auto; flex: 1; }
.hsj-enq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hsj-enq-field { margin-bottom: 14px; }
.hsj-enq-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: #9ca3af; margin-bottom: 6px; display: block;
}
.hsj-enq-req { color: #f87171; }

.hsj-enq-input, .hsj-enq-select, .hsj-enq-textarea {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid #e5e7eb; border-radius: 8px;
  font-family: 'Poppins', system-ui, sans-serif; font-size: 13.5px; color: #111827;
  outline: none; background: #fff;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.hsj-enq-input::placeholder, .hsj-enq-textarea::placeholder {
  color: #c4c9d4; font-weight: 300;
}
.hsj-enq-input:focus, .hsj-enq-select:focus, .hsj-enq-textarea:focus {
  border-color: #FBA504;
  box-shadow: 0 0 0 3px rgba(251,165,4,0.08);
}
.hsj-enq-input.is-invalid, .hsj-enq-textarea.is-invalid {
  border-color: #f87171; box-shadow: 0 0 0 3px rgba(248,113,113,0.08);
}
.hsj-enq-select {
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23b0b7c3' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px;
}
.hsj-enq-textarea { resize: none; min-height: 86px; line-height: 1.65; }
.hsj-enq-error { font-size: 11px; color: #f87171; margin-top: 4px; min-height: 15px; }

.hsj-enq-submit {
  width: 100%; padding: 13px 20px; margin-top: 4px;
  background: #FBA504; color: #111827;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 0.05em;
  border: none; border-radius: 9px; cursor: pointer;
  transition: background 0.18s, transform 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.hsj-enq-submit:hover { background: #e69500; transform: translateY(-1px); }
.hsj-enq-submit:active { transform: translateY(0); }
.hsj-enq-submit:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.hsj-enq-note {
  font-size: 11px; color: #b0b7c3; text-align: center;
  margin-top: 10px; margin-bottom: 0; letter-spacing: 0.01em;
}

/* Success state */
.hsj-enq-success {
  display: none; flex-direction: column; align-items: center;
  text-align: center; padding: 44px 28px 40px;
}
.hsj-enq-success.show { display: flex; }
.hsj-enq-success-icon {
  width: 56px; height: 56px; border-radius: 50%; background: #dcfce7;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.hsj-enq-success-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px; font-weight: 500; color: #111827; margin-bottom: 8px;
}
.hsj-enq-success-sub { font-size: 14px; color: #6b7280; line-height: 1.6; margin-bottom: 24px; max-width: 280px; }
.hsj-enq-success-actions { display: flex; gap: 10px; }
.hsj-enq-success-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: 8px; font-size: 13px; font-weight: 500;
  text-decoration: none; transition: opacity 0.2s;
}
.hsj-enq-success-btn:hover { opacity: 0.85; text-decoration: none; }
.hsj-btn-call { background: #111827; color: #fff; }
.hsj-btn-wa { background: #22c55e; color: #fff; }

@keyframes hsj-spin { to { transform: rotate(360deg); } }

/* Mobile */
@media (max-width: 600px) {
  .hsj-enq-overlay { padding: 16px; }
  .hsj-enq-modal { max-height: 88vh; }
  .hsj-enq-header { padding: 16px 18px 14px; }
  .hsj-enq-title { font-size: 16px; }
  .hsj-enq-body { padding: 16px 18px 20px; }
  .hsj-enq-row { grid-template-columns: 1fr; gap: 0; }
  .hsj-enq-field { margin-bottom: 11px; }
  .hsj-enq-input, .hsj-enq-select, .hsj-enq-textarea { padding: 9px 12px; font-size: 13px; }
  .hsj-enq-textarea { min-height: 70px; }
}
