{"id":285,"date":"2025-12-16T18:48:45","date_gmt":"2025-12-16T18:48:45","guid":{"rendered":"https:\/\/alliancemoroccotours.com\/?page_id=285"},"modified":"2025-12-21T06:21:14","modified_gmt":"2025-12-21T06:21:14","slug":"8-days-tour-to-imperial-cities-via-desert-from-marrakech-fes","status":"publish","type":"page","link":"https:\/\/alliancemoroccotours.com\/es\/8-days-tour-to-imperial-cities-via-desert-from-marrakech-fes\/","title":{"rendered":"8 Days Tour To Imperial Cities Via Desert From Marrakech Fes"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"285\" class=\"elementor elementor-285\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-6ebb270 e-con-full e-flex e-con e-parent\" data-id=\"6ebb270\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-9f37f81 elementor-widget elementor-widget-html\" data-id=\"9f37f81\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n    <meta charset=\"UTF-8\">\r\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no\">\r\n    <meta name=\"description\" content=\"Complete 8 Days Tour To Imperial Cities Via Desert From Marrakech. Experience Casablanca, Tangier, Fes, Sahara desert, and authentic Moroccan culture on this 8-day adventure.\">\r\n    <!-- SEO-Friendly URL Recommendation: \/imperial-cities-desert-tour-marrakech -->\r\n    <title>Complete 8 Days Tour To Imperial Cities Via Desert From Marrakech | 8-Day Morocco Adventure<\/title>\r\n    <script src=\"https:\/\/cdn.jsdelivr.net\/npm\/@emailjs\/browser@3\/dist\/email.min.js\"><\/script>\r\n    <link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/font-awesome\/6.4.0\/css\/all.min.css\">\r\n    <style>\r\n        :root {\r\n            --primary: #ff9800;\r\n            --primary-dark: #e68900;\r\n            --primary-light: #ffb74d;\r\n            --dark: #111827;\r\n            --gray-dark: #4b5563;\r\n            --gray: #6b7280;\r\n            --gray-light: #9ca3af;\r\n            --gray-extra-light: #e5e7eb;\r\n            --light: #f9fafb;\r\n            --white: #ffffff;\r\n            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);\r\n            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);\r\n            --radius: 12px;\r\n            --radius-sm: 8px;\r\n        }\r\n\r\n        * {\r\n            margin: 0;\r\n            padding: 0;\r\n            box-sizing: border-box;\r\n            -webkit-tap-highlight-color: transparent;\r\n            -webkit-text-size-adjust: 100%;\r\n            touch-action: manipulation;\r\n        }\r\n\r\n        html {\r\n            -webkit-text-size-adjust: 100%;\r\n            text-size-adjust: 100%;\r\n        }\r\n\r\n        body {\r\n            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;\r\n            font-weight: 400;\r\n            color: var(--gray-dark);\r\n            line-height: 1.6;\r\n            background-color: var(--light);\r\n            padding: 0;\r\n            margin: 0;\r\n            overflow-x: hidden;\r\n        }\r\n\r\n        \/* Disable zoom except for images *\/\r\n        body * {\r\n            max-height: 1000000px;\r\n        }\r\n\r\n        .container {\r\n            max-width: 1200px;\r\n            margin: 0 auto;\r\n            padding: 0 20px;\r\n        }\r\n\r\n        \/* Main Layout *\/\r\n        .booking-page {\r\n            display: flex;\r\n            gap: 40px;\r\n            padding: 40px 0;\r\n            align-items: flex-start;\r\n        }\r\n\r\n        .left-container {\r\n            flex: 1;\r\n        }\r\n\r\n        .right-container {\r\n            width: 380px;\r\n            position: sticky;\r\n            top: 40px;\r\n        }\r\n\r\n        \/* Section Styling *\/\r\n        .section {\r\n            background-color: var(--white);\r\n            border-radius: var(--radius);\r\n            padding: 32px;\r\n            margin-bottom: 32px;\r\n            box-shadow: var(--shadow);\r\n            border: 1px solid var(--gray-extra-light);\r\n        }\r\n\r\n        .section-title {\r\n            font-size: 24px;\r\n            font-weight: 800;\r\n            margin-bottom: 24px;\r\n            color: var(--dark);\r\n            display: flex;\r\n            align-items: center;\r\n            gap: 12px;\r\n        }\r\n\r\n        .section-title i {\r\n            color: var(--primary);\r\n            font-size: 20px;\r\n        }\r\n\r\n        h1 {\r\n            font-size: 36px;\r\n            font-weight: 800;\r\n            line-height: 1.3;\r\n            color: var(--dark);\r\n            margin-bottom: 20px;\r\n        }\r\n\r\n        h2 {\r\n            font-size: 28px;\r\n            font-weight: 800;\r\n            color: var(--dark);\r\n            margin-bottom: 20px;\r\n        }\r\n\r\n        h3 {\r\n            font-size: 20px;\r\n            font-weight: 700;\r\n            color: var(--dark);\r\n            margin-bottom: 8px;\r\n        }\r\n\r\n        \/* Image Gallery *\/\r\n        .image-gallery {\r\n            margin-bottom: 32px;\r\n            position: relative;\r\n        }\r\n\r\n        .hero-image {\r\n            width: 100%;\r\n            height: 400px;\r\n            border-radius: var(--radius);\r\n            overflow: hidden;\r\n            margin-bottom: 16px;\r\n            box-shadow: var(--shadow-lg);\r\n            position: relative;\r\n            cursor: pointer;\r\n        }\r\n\r\n        .hero-image img {\r\n            width: 100%;\r\n            height: 100%;\r\n            object-fit: cover;\r\n            transition: transform 0.3s ease;\r\n        }\r\n\r\n        .hero-image:hover img {\r\n            transform: scale(1.02);\r\n        }\r\n\r\n        .thumbnail-grid {\r\n            display: grid;\r\n            grid-template-columns: repeat(6, 1fr);\r\n            gap: 12px;\r\n        }\r\n\r\n        .thumbnail {\r\n            height: 90px;\r\n            border-radius: var(--radius-sm);\r\n            overflow: hidden;\r\n            cursor: pointer;\r\n            transition: all 0.2s ease;\r\n            border: 3px solid transparent;\r\n            opacity: 0.9;\r\n            position: relative;\r\n        }\r\n\r\n        .thumbnail:hover {\r\n            opacity: 1;\r\n            transform: translateY(-3px);\r\n            border-color: var(--primary);\r\n        }\r\n\r\n        .thumbnail.active {\r\n            border-color: var(--primary);\r\n            opacity: 1;\r\n        }\r\n\r\n        .thumbnail img {\r\n            width: 100%;\r\n            height: 100%;\r\n            object-fit: cover;\r\n            user-select: none;\r\n        }\r\n\r\n        .zoom-icon {\r\n            position: absolute;\r\n            top: 5px;\r\n            right: 5px;\r\n            background: rgba(0, 0, 0, 0.7);\r\n            color: white;\r\n            width: 24px;\r\n            height: 24px;\r\n            border-radius: 50%;\r\n            display: flex;\r\n            align-items: center;\r\n            justify-content: center;\r\n            font-size: 12px;\r\n            opacity: 0;\r\n            transition: opacity 0.2s ease;\r\n        }\r\n\r\n        .thumbnail:hover .zoom-icon {\r\n            opacity: 1;\r\n        }\r\n\r\n        .view-more-thumbnail {\r\n            position: relative;\r\n        }\r\n\r\n        .view-more-overlay {\r\n            position: absolute;\r\n            top: 0;\r\n            left: 0;\r\n            right: 0;\r\n            bottom: 0;\r\n            background: rgba(0, 0, 0, 0.6);\r\n            display: flex;\r\n            align-items: center;\r\n            justify-content: center;\r\n            color: white;\r\n            font-weight: 700;\r\n            font-size: 14px;\r\n            flex-direction: column;\r\n            gap: 5px;\r\n        }\r\n\r\n        \/* Modal Gallery *\/\r\n        .gallery-modal {\r\n            position: fixed;\r\n            top: 0;\r\n            left: 0;\r\n            right: 0;\r\n            bottom: 0;\r\n            background: rgba(0, 0, 0, 0.95);\r\n            z-index: 1000;\r\n            display: none;\r\n            align-items: center;\r\n            justify-content: center;\r\n            flex-direction: column;\r\n            touch-action: pan-y pinch-zoom;\r\n        }\r\n\r\n        .modal-content {\r\n            position: relative;\r\n            max-width: 90%;\r\n            max-height: 80vh;\r\n            display: flex;\r\n            align-items: center;\r\n            justify-content: center;\r\n            touch-action: pan-y pinch-zoom;\r\n        }\r\n\r\n        .modal-image {\r\n            max-width: 100%;\r\n            max-height: 80vh;\r\n            border-radius: 8px;\r\n            object-fit: contain;\r\n            touch-action: pan-y pinch-zoom;\r\n            -webkit-user-select: none;\r\n            user-select: none;\r\n        }\r\n\r\n        .modal-nav {\r\n            position: absolute;\r\n            top: 50%;\r\n            width: 100%;\r\n            display: flex;\r\n            justify-content: space-between;\r\n            transform: translateY(-50%);\r\n            padding: 0 20px;\r\n        }\r\n\r\n        .modal-close {\r\n            position: absolute;\r\n            top: -50px;\r\n            right: 0;\r\n            background: none;\r\n            border: none;\r\n            color: white;\r\n            font-size: 30px;\r\n            cursor: pointer;\r\n            z-index: 1001;\r\n            width: 40px;\r\n            height: 40px;\r\n            display: flex;\r\n            align-items: center;\r\n            justify-content: center;\r\n        }\r\n\r\n        .modal-close i {\r\n            font-size: 24px;\r\n        }\r\n\r\n        .modal-nav-btn {\r\n            background: rgba(255, 255, 255, 0.2);\r\n            border: none;\r\n            color: white;\r\n            width: 50px;\r\n            height: 50px;\r\n            border-radius: 50%;\r\n            font-size: 20px;\r\n            cursor: pointer;\r\n            transition: background 0.2s ease;\r\n            display: flex;\r\n            align-items: center;\r\n            justify-content: center;\r\n        }\r\n\r\n        .modal-nav-btn:hover {\r\n            background: rgba(255, 255, 255, 0.3);\r\n        }\r\n\r\n        .modal-counter {\r\n            color: white;\r\n            font-size: 16px;\r\n            margin-top: 20px;\r\n            text-align: center;\r\n        }\r\n\r\n        \/* Tour Description - Updated with bold keywords (same color) *\/\r\n        .tour-description {\r\n            font-size: 18px;\r\n            line-height: 1.7;\r\n            color: var(--gray-dark);\r\n            margin-bottom: 32px;\r\n            font-weight: 400;\r\n        }\r\n\r\n        .tour-description strong {\r\n            font-weight: 700; \/* Bold but same color as normal text *\/\r\n            color: var(--gray-dark); \/* Same color as normal text *\/\r\n        }\r\n\r\n        .tour-description a {\r\n            color: var(--primary);\r\n            text-decoration: none;\r\n            font-weight: 700;\r\n            transition: color 0.2s ease;\r\n        }\r\n\r\n        .tour-description a:hover {\r\n            color: var(--primary-dark);\r\n            text-decoration: underline;\r\n        }\r\n\r\n        .tour-duration {\r\n            color: var(--primary);\r\n            font-size: 18px;\r\n            font-weight: 600;\r\n            margin-bottom: 16px;\r\n            padding: 8px 16px;\r\n            background-color: rgba(255, 152, 0, 0.1);\r\n            border-radius: var(--radius-sm);\r\n            display: inline-block;\r\n            border-left: 4px solid var(--primary);\r\n        }\r\n\r\n        \/* Tour Program *\/\r\n        .timeline {\r\n            position: relative;\r\n            padding-left: 40px;\r\n        }\r\n\r\n        .timeline:before {\r\n            content: '';\r\n            position: absolute;\r\n            left: 19px;\r\n            top: 0;\r\n            bottom: 0;\r\n            width: 2px;\r\n            background-image: linear-gradient(to bottom, \r\n                var(--primary) 0%, \r\n                var(--primary) 50%, \r\n                transparent 50%, \r\n                transparent 100%);\r\n            background-size: 2px 20px;\r\n            background-repeat: repeat-y;\r\n        }\r\n\r\n        .timeline-item {\r\n            position: relative;\r\n            margin-bottom: 30px;\r\n            padding-left: 10px;\r\n        }\r\n\r\n        .timeline-item:last-child {\r\n            margin-bottom: 0;\r\n        }\r\n\r\n        .timeline-item:before {\r\n            content: '';\r\n            position: absolute;\r\n            left: -31px;\r\n            top: 0;\r\n            width: 20px;\r\n            height: 20px;\r\n            border-radius: 50%;\r\n            background-color: var(--primary);\r\n            border: 4px solid var(--white);\r\n            box-shadow: 0 0 0 2px var(--primary);\r\n            z-index: 2;\r\n        }\r\n\r\n        .timeline-content {\r\n            display: flex;\r\n            align-items: flex-start;\r\n            gap: 16px;\r\n        }\r\n\r\n        .timeline-icon {\r\n            color: var(--primary);\r\n            font-size: 20px;\r\n            width: 24px;\r\n            flex-shrink: 0;\r\n            margin-top: 2px;\r\n        }\r\n\r\n        .timeline-day {\r\n            font-size: 20px;\r\n            font-weight: 800;\r\n            margin-bottom: 8px;\r\n            color: var(--dark);\r\n            line-height: 1.3;\r\n        }\r\n\r\n        .timeline-details {\r\n            color: var(--gray-dark);\r\n            font-size: 16px;\r\n            line-height: 1.5;\r\n            font-weight: 400;\r\n        }\r\n\r\n        .timeline-details p {\r\n            margin-bottom: 4px;\r\n            font-weight: 400;\r\n        }\r\n\r\n        \/* Tour Highlights *\/\r\n        .highlights-grid {\r\n            display: grid;\r\n            grid-template-columns: repeat(3, 1fr);\r\n            gap: 24px;\r\n        }\r\n\r\n        .highlight-item {\r\n            display: flex;\r\n            align-items: flex-start;\r\n            gap: 16px;\r\n            margin-bottom: 0;\r\n        }\r\n\r\n        .highlight-icon {\r\n            color: var(--primary);\r\n            font-size: 24px;\r\n            width: 50px;\r\n            height: 50px;\r\n            background: rgba(255, 152, 0, 0.1);\r\n            border-radius: 50%;\r\n            display: flex;\r\n            align-items: center;\r\n            justify-content: center;\r\n            flex-shrink: 0;\r\n        }\r\n\r\n        .highlight-content {\r\n            flex: 1;\r\n        }\r\n\r\n        .highlight-title {\r\n            font-weight: 800;\r\n            margin-bottom: 6px;\r\n            color: var(--dark);\r\n            font-size: 20px;\r\n            line-height: 1.2;\r\n        }\r\n\r\n        .highlight-desc {\r\n            color: var(--gray);\r\n            font-size: 16px;\r\n            line-height: 1.3;\r\n            font-weight: 400;\r\n        }\r\n\r\n        \/* Included\/Excluded *\/\r\n        .included-section {\r\n            display: grid;\r\n            grid-template-columns: 1fr 1fr;\r\n            gap: 32px;\r\n        }\r\n\r\n        .included-list, .excluded-list {\r\n            list-style: none;\r\n        }\r\n\r\n        .included-list li, .excluded-list li {\r\n            display: flex;\r\n            align-items: center;\r\n            margin-bottom: 16px;\r\n            gap: 12px;\r\n            padding: 4px 0;\r\n        }\r\n\r\n        .included-list i {\r\n            color: #10b981;\r\n            font-size: 20px;\r\n            width: 24px;\r\n        }\r\n\r\n        .excluded-list i {\r\n            color: #ef4444;\r\n            font-size: 20px;\r\n            width: 24px;\r\n        }\r\n\r\n        .included-text {\r\n            font-weight: 400;\r\n            color: var(--gray-dark);\r\n        }\r\n\r\n        \/* FAQ *\/\r\n        .faq-item {\r\n            border-bottom: 1px solid var(--gray-extra-light);\r\n            padding-bottom: 20px;\r\n            margin-bottom: 20px;\r\n        }\r\n\r\n        .faq-item:last-child {\r\n            border-bottom: none;\r\n            margin-bottom: 0;\r\n            padding-bottom: 0;\r\n        }\r\n\r\n        .faq-question {\r\n            display: flex;\r\n            justify-content: space-between;\r\n            align-items: center;\r\n            cursor: pointer;\r\n            padding: 8px 0;\r\n            gap: 12px;\r\n        }\r\n\r\n        .faq-question h3 {\r\n            margin-bottom: 0;\r\n            font-weight: 800;\r\n            color: var(--dark);\r\n            flex: 1;\r\n            display: flex;\r\n            align-items: center;\r\n            gap: 12px;\r\n        }\r\n\r\n        .faq-question i {\r\n            color: var(--primary);\r\n            font-size: 18px;\r\n        }\r\n\r\n        .faq-question .arrow {\r\n            color: var(--gray);\r\n            transition: transform 0.3s ease;\r\n        }\r\n\r\n        .faq-question.active .arrow {\r\n            transform: rotate(180deg);\r\n            color: var(--primary);\r\n        }\r\n\r\n        .faq-answer {\r\n            max-height: 0;\r\n            overflow: hidden;\r\n            transition: max-height 0.4s ease;\r\n            color: var(--gray-dark);\r\n            line-height: 1.6;\r\n            padding-left: 36px;\r\n            font-weight: 400;\r\n        }\r\n\r\n        .faq-answer.open {\r\n            max-height: 500px;\r\n            margin-top: 12px;\r\n        }\r\n\r\n        .faq-answer a {\r\n            color: var(--primary);\r\n            text-decoration: none;\r\n            font-weight: 700;\r\n            transition: color 0.2s ease;\r\n        }\r\n\r\n        .faq-answer a:hover {\r\n            color: var(--primary-dark);\r\n            text-decoration: underline;\r\n        }\r\n\r\n        \/* Booking Box *\/\r\n        .booking-box {\r\n            background-color: var(--white);\r\n            border-radius: var(--radius);\r\n            padding: 32px;\r\n            box-shadow: var(--shadow-lg);\r\n            border: 1px solid var(--gray-extra-light);\r\n        }\r\n\r\n        .price-section {\r\n            text-align: center;\r\n            margin-bottom: 28px;\r\n            padding-bottom: 28px;\r\n            border-bottom: 1px solid var(--gray-extra-light);\r\n        }\r\n\r\n        .price-display {\r\n            display: flex;\r\n            align-items: center;\r\n            justify-content: center;\r\n            gap: 12px;\r\n            margin-bottom: 8px;\r\n        }\r\n\r\n        .price {\r\n            font-size: 48px;\r\n            font-weight: 800;\r\n            color: var(--primary);\r\n            line-height: 1;\r\n        }\r\n\r\n        .price-icon {\r\n            color: var(--primary);\r\n            font-size: 28px;\r\n        }\r\n\r\n        .price-note {\r\n            color: var(--gray);\r\n            font-size: 16px;\r\n            margin-bottom: 8px;\r\n            font-weight: 600;\r\n        }\r\n\r\n        \/* Professional Price Breakdown *\/\r\n        .price-breakdown {\r\n            margin-top: 16px;\r\n            padding-top: 16px;\r\n            border-top: 1px solid var(--gray-extra-light);\r\n        }\r\n\r\n        .price-tier {\r\n            display: flex;\r\n            justify-content: space-between;\r\n            align-items: center;\r\n            margin-bottom: 8px;\r\n            padding: 6px 0;\r\n        }\r\n\r\n        .price-tier-label {\r\n            font-size: 15px;\r\n            color: var(--gray-dark);\r\n            font-weight: 600;\r\n        }\r\n\r\n        .price-tier-value {\r\n            font-size: 15px;\r\n            color: var(--dark);\r\n            font-weight: 700;\r\n        }\r\n\r\n        .price-tier.active {\r\n            background-color: rgba(255, 152, 0, 0.05);\r\n            padding: 8px 12px;\r\n            border-radius: var(--radius-sm);\r\n            border-left: 3px solid var(--primary);\r\n        }\r\n\r\n        \/* Offer Message *\/\r\n        .offer-message {\r\n            background-color: rgba(255, 152, 0, 0.08);\r\n            color: var(--primary-dark);\r\n            padding: 10px 16px;\r\n            border-radius: var(--radius-sm);\r\n            font-size: 14px;\r\n            font-weight: 600;\r\n            text-align: center;\r\n            margin-top: 12px;\r\n            border: 1px solid rgba(255, 152, 0, 0.2);\r\n            display: none;\r\n        }\r\n\r\n        .offer-message.show {\r\n            display: block;\r\n        }\r\n\r\n        \/* Form Messages *\/\r\n        .form-message {\r\n            padding: 12px;\r\n            border-radius: var(--radius-sm);\r\n            margin-bottom: 20px;\r\n            font-weight: 600;\r\n            display: none;\r\n            text-align: center;\r\n        }\r\n\r\n        .form-message.success {\r\n            background-color: #d1fae5;\r\n            color: #065f46;\r\n            border: 1px solid #a7f3d0;\r\n            display: block;\r\n        }\r\n\r\n        .form-message.error {\r\n            background-color: #fee2e2;\r\n            color: #991b1b;\r\n            border: 1px solid #fecaca;\r\n            display: block;\r\n        }\r\n\r\n        .booking-form {\r\n            display: flex;\r\n            flex-direction: column;\r\n            gap: 20px;\r\n        }\r\n\r\n        .form-group {\r\n            display: flex;\r\n            flex-direction: column;\r\n        }\r\n\r\n        .form-group label {\r\n            font-weight: 700;\r\n            margin-bottom: 8px;\r\n            color: var(--dark);\r\n            font-size: 15px;\r\n            display: flex;\r\n            align-items: center;\r\n            gap: 8px;\r\n        }\r\n\r\n        .form-group label i {\r\n            color: var(--primary);\r\n            font-size: 16px;\r\n        }\r\n\r\n        .form-control {\r\n            padding: 14px 16px;\r\n            border: 1px solid var(--gray-extra-light);\r\n            border-radius: var(--radius-sm);\r\n            font-family: inherit;\r\n            font-size: 16px;\r\n            font-weight: 600;\r\n            transition: all 0.2s ease;\r\n            background-color: var(--white);\r\n            width: 100%;\r\n            height: 52px;\r\n            -webkit-appearance: none;\r\n            appearance: none;\r\n        }\r\n\r\n        .form-control:focus {\r\n            outline: none;\r\n            border-color: var(--primary);\r\n            box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);\r\n        }\r\n\r\n        \/* Date input specific styling for mobile consistency *\/\r\n        input[type=\"date\"] {\r\n            color: var(--gray-dark);\r\n        }\r\n\r\n        input[type=\"date\"]::-webkit-calendar-picker-indicator {\r\n            opacity: 0.6;\r\n            cursor: pointer;\r\n            padding: 5px;\r\n        }\r\n\r\n        .guests-selector {\r\n            display: flex;\r\n            align-items: center;\r\n            justify-content: space-between;\r\n            border: 1px solid var(--gray-extra-light);\r\n            border-radius: var(--radius-sm);\r\n            padding: 10px 16px;\r\n            background-color: var(--white);\r\n            height: 52px;\r\n        }\r\n\r\n        .guests-btn {\r\n            background-color: var(--light);\r\n            border: none;\r\n            width: 36px;\r\n            height: 36px;\r\n            border-radius: 50%;\r\n            display: flex;\r\n            align-items: center;\r\n            justify-content: center;\r\n            cursor: pointer;\r\n            font-weight: 800;\r\n            font-size: 18px;\r\n            transition: background-color 0.2s ease;\r\n            color: var(--dark);\r\n        }\r\n\r\n        .guests-btn:hover:not(:disabled) {\r\n            background-color: var(--gray-extra-light);\r\n        }\r\n\r\n        .guests-btn:disabled {\r\n            opacity: 0.5;\r\n            cursor: not-allowed;\r\n        }\r\n\r\n        .guests-count {\r\n            font-weight: 800;\r\n            font-size: 20px;\r\n            min-width: 40px;\r\n            text-align: center;\r\n        }\r\n\r\n        .book-btn {\r\n            background-color: var(--primary);\r\n            color: var(--white);\r\n            border: none;\r\n            border-radius: var(--radius-sm);\r\n            padding: 18px;\r\n            font-size: 18px;\r\n            font-weight: 800;\r\n            cursor: pointer;\r\n            transition: background-color 0.2s ease;\r\n            margin-top: 10px;\r\n            display: flex;\r\n            align-items: center;\r\n            justify-content: center;\r\n            gap: 10px;\r\n            width: 100%;\r\n            height: 56px;\r\n        }\r\n\r\n        .book-btn:hover {\r\n            background-color: var(--primary-dark);\r\n        }\r\n\r\n        .book-btn:disabled {\r\n            background-color: var(--gray-light);\r\n            cursor: not-allowed;\r\n        }\r\n\r\n        .secure-booking {\r\n            display: flex;\r\n            align-items: center;\r\n            justify-content: center;\r\n            gap: 10px;\r\n            color: var(--gray);\r\n            font-size: 14px;\r\n            margin-top: 16px;\r\n            text-align: center;\r\n            font-weight: 600;\r\n        }\r\n\r\n        \/* Private Tour Contact Container - UPDATED (no image) *\/\r\n        .contact-container {\r\n            background-color: var(--white);\r\n            border-radius: var(--radius);\r\n            padding: 28px;\r\n            margin-top: 24px;\r\n            box-shadow: var(--shadow);\r\n            border: 1px solid var(--gray-extra-light);\r\n        }\r\n\r\n        .contact-title {\r\n            font-size: 22px;\r\n            font-weight: 800;\r\n            margin-bottom: 12px;\r\n            color: var(--dark);\r\n            display: flex;\r\n            align-items: center;\r\n            gap: 12px;\r\n        }\r\n\r\n        .contact-title i {\r\n            color: var(--primary);\r\n            font-size: 20px;\r\n        }\r\n\r\n        .contact-subtitle {\r\n            color: var(--gray);\r\n            font-size: 16px;\r\n            font-weight: 600;\r\n            margin-bottom: 16px;\r\n            font-style: italic;\r\n        }\r\n\r\n        .contact-description {\r\n            color: var(--gray-dark);\r\n            margin-bottom: 24px;\r\n            font-weight: 400;\r\n            line-height: 1.5;\r\n        }\r\n\r\n        .contact-info {\r\n            display: flex;\r\n            flex-direction: column;\r\n            gap: 12px;\r\n            margin-bottom: 24px;\r\n        }\r\n\r\n        .contact-item {\r\n            display: flex;\r\n            align-items: center;\r\n            gap: 12px;\r\n        }\r\n\r\n        .contact-icon {\r\n            color: var(--primary);\r\n            font-size: 18px;\r\n            width: 24px;\r\n        }\r\n\r\n        .contact-text {\r\n            color: var(--dark);\r\n            font-weight: 600;\r\n        }\r\n\r\n        .contact-btn {\r\n            background-color: var(--primary);\r\n            color: var(--white);\r\n            border: none;\r\n            border-radius: var(--radius-sm);\r\n            padding: 14px 20px;\r\n            font-size: 16px;\r\n            font-weight: 700;\r\n            cursor: pointer;\r\n            transition: background-color 0.2s ease;\r\n            display: flex;\r\n            align-items: center;\r\n            justify-content: center;\r\n            gap: 10px;\r\n            width: 100%;\r\n            text-decoration: none;\r\n            text-align: center;\r\n        }\r\n\r\n        .contact-btn:hover {\r\n            background-color: var(--primary-dark);\r\n        }\r\n\r\n        \/* Mobile Responsiveness *\/\r\n        @media (max-width: 992px) {\r\n            .booking-page {\r\n                flex-direction: column;\r\n            }\r\n\r\n            .right-container {\r\n                width: 100%;\r\n                position: static;\r\n                margin-top: 20px;\r\n            }\r\n\r\n            .included-section {\r\n                grid-template-columns: 1fr;\r\n                gap: 24px;\r\n            }\r\n\r\n            .highlights-grid {\r\n                grid-template-columns: repeat(2, 1fr);\r\n                gap: 20px;\r\n            }\r\n            \r\n            .thumbnail-grid {\r\n                grid-template-columns: repeat(4, 1fr);\r\n            }\r\n        }\r\n\r\n        @media (max-width: 768px) {\r\n            .container {\r\n                padding: 0 16px;\r\n            }\r\n\r\n            .booking-page {\r\n                padding: 24px 0;\r\n            }\r\n\r\n            .section {\r\n                padding: 24px;\r\n                margin-bottom: 24px;\r\n            }\r\n\r\n            h1 {\r\n                font-size: 32px;\r\n            }\r\n\r\n            h2 {\r\n                font-size: 24px;\r\n            }\r\n\r\n            .hero-image {\r\n                height: 300px;\r\n            }\r\n\r\n            .thumbnail-grid {\r\n                grid-template-columns: repeat(4, 1fr);\r\n                gap: 8px;\r\n            }\r\n\r\n            .thumbnail {\r\n                height: 80px;\r\n            }\r\n\r\n            .price {\r\n                font-size: 42px;\r\n            }\r\n            \r\n            .timeline {\r\n                padding-left: 30px;\r\n            }\r\n            \r\n            .timeline:before {\r\n                left: 14px;\r\n            }\r\n            \r\n            .timeline-item:before {\r\n                left: -21px;\r\n            }\r\n            \r\n            .timeline-day {\r\n                font-size: 18px;\r\n            }\r\n            \r\n            .highlights-grid {\r\n                grid-template-columns: 1fr;\r\n                gap: 16px;\r\n            }\r\n            \r\n            \/* Mobile form inputs consistency *\/\r\n            .form-control, .guests-selector {\r\n                height: 50px;\r\n                font-size: 16px;\r\n                padding: 13px 15px;\r\n            }\r\n            \r\n            input[type=\"date\"] {\r\n                font-size: 16px;\r\n            }\r\n            \r\n            .book-btn {\r\n                height: 54px;\r\n                font-size: 17px;\r\n                padding: 16px;\r\n            }\r\n        }\r\n\r\n        @media (max-width: 480px) {\r\n            h1 {\r\n                font-size: 28px;\r\n            }\r\n\r\n            .section-title {\r\n                font-size: 22px;\r\n            }\r\n\r\n            .tour-description {\r\n                font-size: 16px;\r\n            }\r\n\r\n            .thumbnail-grid {\r\n                grid-template-columns: repeat(4, 1fr);\r\n                gap: 6px;\r\n            }\r\n\r\n            .thumbnail {\r\n                height: 70px;\r\n            }\r\n\r\n            .price {\r\n                font-size: 36px;\r\n            }\r\n\r\n            .book-btn {\r\n                padding: 15px;\r\n                font-size: 16px;\r\n                height: 52px;\r\n            }\r\n            \r\n            .highlight-icon {\r\n                width: 40px;\r\n                height: 40px;\r\n                font-size: 18px;\r\n            }\r\n            \r\n            \/* Hide thumbnails beyond 4 on mobile *\/\r\n            .thumbnail:nth-child(n+5) {\r\n                display: none;\r\n            }\r\n            \r\n            \/* Mobile form consistency *\/\r\n            .form-control, .guests-selector {\r\n                height: 48px;\r\n                font-size: 15px;\r\n                padding: 12px 14px;\r\n            }\r\n            \r\n            input[type=\"date\"] {\r\n                font-size: 15px;\r\n            }\r\n        }\r\n\r\n        \/* Prevent text selection *\/\r\n        .no-select {\r\n            -webkit-user-select: none;\r\n            -moz-user-select: none;\r\n            -ms-user-select: none;\r\n            user-select: none;\r\n        }\r\n    <\/style>\r\n<\/head>\r\n<body class=\"no-select\">\r\n    <div class=\"container\">\r\n        <div class=\"booking-page\">\r\n            <!-- Left Container -->\r\n            <div class=\"left-container\">\r\n                <!-- Image Gallery -->\r\n                <section class=\"image-gallery\">\r\n                    <div class=\"hero-image\" id=\"heroImage\">\r\n                        <img decoding=\"async\" id=\"mainImage\" src=\"https:\/\/alliancemoroccotours.com\/wp-content\/uploads\/2025\/12\/casablanca-maroc.jpg.1920x0_q85_format-jpg.jpg\" alt=\"8 Days Tour To Imperial Cities Via Desert From Marrakech - Casablanca Hassan II Mosque\">\r\n                    <\/div>\r\n                    <div class=\"thumbnail-grid\" id=\"thumbnailGrid\">\r\n                        <!-- First 4 images visible -->\r\n                        <div class=\"thumbnail active\" data-index=\"0\">\r\n                            <img decoding=\"async\" src=\"https:\/\/alliancemoroccotours.com\/wp-content\/uploads\/2025\/12\/casablanca-maroc.jpg.1920x0_q85_format-jpg.jpg\" alt=\"Imperial Cities desert tour - Casablanca cityscape\">\r\n                            <div class=\"zoom-icon\">\r\n                                <i class=\"fas fa-search-plus\"><\/i>\r\n                            <\/div>\r\n                        <\/div>\r\n                        <div class=\"thumbnail\" data-index=\"1\">\r\n                            <img decoding=\"async\" src=\"https:\/\/alliancemoroccotours.com\/wp-content\/uploads\/2025\/12\/iStock-2152434554-MOBILE_HEADER.webp\" alt=\"Morocco Imperial Cities tour - Tangier coast\">\r\n                            <div class=\"zoom-icon\">\r\n                                <i class=\"fas fa-search-plus\"><\/i>\r\n                            <\/div>\r\n                        <\/div>\r\n                        <div class=\"thumbnail\" data-index=\"2\">\r\n                            <img decoding=\"async\" src=\"https:\/\/alliancemoroccotours.com\/wp-content\/uploads\/2025\/12\/586bfd2669f11c8c1751cf82c8d6ea73-scaled.webp\" alt=\"Fes Imperial City tour - Medina architecture\">\r\n                            <div class=\"zoom-icon\">\r\n                                <i class=\"fas fa-search-plus\"><\/i>\r\n                            <\/div>\r\n                        <\/div>\r\n                        <div class=\"thumbnail view-more-thumbnail\" data-index=\"3\">\r\n                            <img decoding=\"async\" src=\"https:\/\/alliancemoroccotours.com\/wp-content\/uploads\/2025\/12\/printemps_tanger.jpg.webp\" alt=\"Tangier spring landscape on Imperial Cities tour\">\r\n                            <div class=\"view-more-overlay\">\r\n                                <i class=\"fas fa-plus-circle\" style=\"font-size: 20px;\"><\/i>\r\n                                <span>View More<\/span>\r\n                            <\/div>\r\n                        <\/div>\r\n                        <!-- Hidden on mobile -->\r\n                        <div class=\"thumbnail mobile-hidden\" data-index=\"4\">\r\n                            <img decoding=\"async\" src=\"https:\/\/alliancemoroccotours.com\/wp-content\/uploads\/2025\/12\/1-fes.jpg\" alt=\"Fes city tour - Historic sites\">\r\n                            <div class=\"zoom-icon\">\r\n                                <i class=\"fas fa-search-plus\"><\/i>\r\n                            <\/div>\r\n                        <\/div>\r\n                        <div class=\"thumbnail mobile-hidden\" data-index=\"5\">\r\n                            <img decoding=\"async\" src=\"https:\/\/alliancemoroccotours.com\/wp-content\/uploads\/2025\/12\/medium-cover-1698098546-luxury-marrakech-desert-tour-to-erg-chigaga-dunes.jpg\" alt=\"Sahara desert camp on Imperial Cities tour\">\r\n                            <div class=\"zoom-icon\">\r\n                                <i class=\"fas fa-search-plus\"><\/i>\r\n                            <\/div>\r\n                        <\/div>\r\n                    <\/div>\r\n                <\/section>\r\n\r\n                <!-- Gallery Modal -->\r\n                <div class=\"gallery-modal\" id=\"galleryModal\">\r\n                    <button class=\"modal-close\" id=\"modalClose\">\r\n                        <i class=\"fas fa-times\"><\/i>\r\n                    <\/button>\r\n                    <div class=\"modal-content\">\r\n                        <img decoding=\"async\" class=\"modal-image\" id=\"modalImage\" src=\"\" alt=\"\">\r\n                        <div class=\"modal-nav\">\r\n                            <button class=\"modal-nav-btn\" id=\"prevBtn\">\r\n                                <i class=\"fas fa-chevron-left\"><\/i>\r\n                            <\/button>\r\n                            <button class=\"modal-nav-btn\" id=\"nextBtn\">\r\n                                <i class=\"fas fa-chevron-right\"><\/i>\r\n                            <\/button>\r\n                        <\/div>\r\n                    <\/div>\r\n                    <div class=\"modal-counter\" id=\"modalCounter\">1 \/ 6<\/div>\r\n                <\/div>\r\n\r\n                <!-- SEO Title & Description -->\r\n                <section class=\"section\">\r\n                    <div class=\"tour-duration\">8 Days \/ 7 Nights included<\/div>\r\n                    <h1>Complete 8 Days Tour To Imperial Cities Via Desert From Marrakech<\/h1>\r\n                    <p class=\"tour-description\">\r\n                        Experience the ultimate Moroccan adventure on this <strong>8 Days Tour To Imperial Cities Via Desert From Marrakech<\/strong>. \r\n                        This comprehensive journey takes you through Morocco's most iconic cities and landscapes, from the modern metropolis \r\n                        of Casablanca to the historic port of Tangier, the cultural gem of Fes, and finally to the majestic Sahara desert. \r\n                        This <strong>Imperial Cities desert tour<\/strong> offers the perfect blend of urban exploration and natural wonders, \r\n                        allowing you to experience Morocco's diverse heritage. <a href=\"https:\/\/alliancemoroccotours.com\/visit-morocco\" target=\"_blank\" rel=\"dofollow\">Visit Morocco<\/a> \r\n                        with us and discover the rich history, vibrant culture, and breathtaking landscapes that make this country so special.\r\n                    <\/p>\r\n                <\/section>\r\n\r\n                <!-- Tour Program -->\r\n                <section class=\"section\">\r\n                    <h2 class=\"section-title\"><i class=\"fas fa-map-marked-alt\"><\/i> Tour Program<\/h2>\r\n                    <div class=\"timeline\">\r\n                        <div class=\"timeline-item\">\r\n                            <div class=\"timeline-content\">\r\n                                <div class=\"timeline-icon\">\r\n                                    <i class=\"fas fa-plane-arrival\"><\/i>\r\n                                <\/div>\r\n                                <div>\r\n                                    <div class=\"timeline-day\">Day 1 \u2013 Arrival in Casablanca<\/div>\r\n                                    <div class=\"timeline-details\">\r\n                                        <p>Airport transfer and accommodation in Casablanca.<\/p>\r\n                                        <p>Visit Hassan II Mosque, one of Africa's largest mosques.<\/p>\r\n                                        <p>Explore the Corniche and modern city center.<\/p>\r\n                                        <p>Overnight in Casablanca, Morocco's economic capital.<\/p>\r\n                                    <\/div>\r\n                                <\/div>\r\n                            <\/div>\r\n                        <\/div>\r\n                        <div class=\"timeline-item\">\r\n                            <div class=\"timeline-content\">\r\n                                <div class=\"timeline-icon\">\r\n                                    <i class=\"fas fa-umbrella-beach\"><\/i>\r\n                                <\/div>\r\n                                <div>\r\n                                    <div class=\"timeline-day\">Day 2 \u2013 Casablanca to Tangier<\/div>\r\n                                    <div class=\"timeline-details\">\r\n                                        <p>Travel north along the Atlantic coast to Rabat.<\/p>\r\n                                        <p>Visit Rabat's historic sites including Kasbah Oudayas.<\/p>\r\n                                        <p>Continue to Tangier, the gateway to Europe.<\/p>\r\n                                        <p>Overnight in Tangier with views of the Strait of Gibraltar.<\/p>\r\n                                    <\/div>\r\n                                <\/div>\r\n                            <\/div>\r\n                        <\/div>\r\n                        <div class=\"timeline-item\">\r\n                            <div class=\"timeline-content\">\r\n                                <div class=\"timeline-icon\">\r\n                                    <i class=\"fas fa-city\"><\/i>\r\n                                <\/div>\r\n                                <div>\r\n                                    <div class=\"timeline-day\">Day 3 \u2013 Tangier Exploration<\/div>\r\n                                    <div class=\"timeline-details\">\r\n                                        <p>Explore Tangier's medina and Kasbah.<\/p>\r\n                                        <p>Visit the Cape Spartel and Hercules Caves.<\/p>\r\n                                        <p>Experience the vibrant Grand Socco market.<\/p>\r\n                                        <p>Overnight in Tangier with free evening at leisure.<\/p>\r\n                                    <\/div>\r\n                                <\/div>\r\n                            <\/div>\r\n                        <\/div>\r\n                        <div class=\"timeline-item\">\r\n                            <div class=\"timeline-content\">\r\n                                <div class=\"timeline-icon\">\r\n                                    <i class=\"fas fa-road\"><\/i>\r\n                                <\/div>\r\n                                <div>\r\n                                    <div class=\"timeline-day\">Day 4 \u2013 Tangier to Fes via Meknes<\/div>\r\n                                    <div class=\"timeline-details\">\r\n                                        <p>Travel south through the Rif Mountains.<\/p>\r\n                                        <p>Visit the Roman ruins of Volubilis archaeological site.<\/p>\r\n                                        <p>Explore Meknes, another Imperial City of Morocco.<\/p>\r\n                                        <p>Overnight in Fes, the cultural and spiritual heart.<\/p>\r\n                                    <\/div>\r\n                                <\/div>\r\n                            <\/div>\r\n                        <\/div>\r\n                        <div class=\"timeline-item\">\r\n                            <div class=\"timeline-content\">\r\n                                <div class=\"timeline-icon\">\r\n                                    <i class=\"fas fa-archway\"><\/i>\r\n                                <\/div>\r\n                                <div>\r\n                                    <div class=\"timeline-day\">Day 5 \u2013 Fes Imperial City Tour<\/div>\r\n                                    <div class=\"timeline-details\">\r\n                                        <p>Guided tour of Fes medina, a UNESCO World Heritage site.<\/p>\r\n                                        <p>Visit Al-Attarine Madrasa and traditional tanneries.<\/p>\r\n                                        <p>Explore the Jewish Quarter and royal palace.<\/p>\r\n                                        <p>Overnight in authentic Fes riad within the ancient medina.<\/p>\r\n                                    <\/div>\r\n                                <\/div>\r\n                            <\/div>\r\n                        <\/div>\r\n                        <div class=\"timeline-item\">\r\n                            <div class=\"timeline-content\">\r\n                                <div class=\"timeline-icon\">\r\n                                    <i class=\"fas fa-mountain\"><\/i>\r\n                                <\/div>\r\n                                <div>\r\n                                    <div class=\"timeline-day\">Day 6 \u2013 Fes to Sahara Desert via Midelt<\/div>\r\n                                    <div class=\"timeline-details\">\r\n                                        <p>Cross the Middle Atlas Mountains through cedar forests.<\/p>\r\n                                        <p>Visit the town of Midelt and see nomadic settlements.<\/p>\r\n                                        <p>Arrive at Merzouga desert and experience camel trekking.<\/p>\r\n                                        <p>Overnight in luxury desert camp under starry Sahara sky.<\/p>\r\n                                    <\/div>\r\n                                <\/div>\r\n                            <\/div>\r\n                        <\/div>\r\n                        <div class=\"timeline-item\">\r\n                            <div class=\"timeline-content\">\r\n                                <div class=\"timeline-icon\">\r\n                                    <i class=\"fas fa-sun\"><\/i>\r\n                                <\/div>\r\n                                <div>\r\n                                    <div class=\"timeline-day\">Day 7 \u2013 Sahara Desert to Marrakech<\/div>\r\n                                    <div class=\"timeline-details\">\r\n                                        <p>Sunrise camel ride through golden Erg Chebbi dunes.<\/p>\r\n                                        <p>Travel through Dades Valley and Todra Gorge.<\/p>\r\n                                        <p>Cross the High Atlas Mountains via Tizi n'Tichka pass.<\/p>\r\n                                        <p>Overnight in Marrakech, the Red City of Morocco.<\/p>\r\n                                    <\/div>\r\n                                <\/div>\r\n                            <\/div>\r\n                        <\/div>\r\n                        <div class=\"timeline-item\">\r\n                            <div class=\"timeline-content\">\r\n                                <div class=\"timeline-icon\">\r\n                                    <i class=\"fas fa-plane-departure\"><\/i>\r\n                                <\/div>\r\n                                <div>\r\n                                    <div class=\"timeline-day\">Day 8 \u2013 Departure from Marrakech<\/div>\r\n                                    <div class=\"timeline-details\">\r\n                                        <p>Morning at leisure for last-minute shopping or exploration.<\/p>\r\n                                        <p>Optional visit to Marrakech's famous Jemaa el-Fna square.<\/p>\r\n                                        <p>Transfer to Marrakech airport for departure flights.<\/p>\r\n                                        <p>End of Imperial Cities desert tour services.<\/p>\r\n                                    <\/div>\r\n                                <\/div>\r\n                            <\/div>\r\n                        <\/div>\r\n                    <\/div>\r\n                <\/section>\r\n\r\n                <!-- Tour Highlights -->\r\n                <section class=\"section\">\r\n                    <h2 class=\"section-title\"><i class=\"fas fa-star\"><\/i> Tour Highlights<\/h2>\r\n                    <div class=\"highlights-grid\">\r\n                        <div class=\"highlight-item\">\r\n                            <div class=\"highlight-icon\">\r\n                                <i class=\"fas fa-university\"><\/i>\r\n                            <\/div>\r\n                            <div class=\"highlight-content\">\r\n                                <div class=\"highlight-title\">Imperial Cities<\/div>\r\n                                <div class=\"highlight-desc\">Historic exploration<\/div>\r\n                            <\/div>\r\n                        <\/div>\r\n                        <div class=\"highlight-item\">\r\n                            <div class=\"highlight-icon\">\r\n                                <i class=\"fas fa-sun\"><\/i>\r\n                            <\/div>\r\n                            <div class=\"highlight-content\">\r\n                                <div class=\"highlight-title\">Sahara Desert<\/div>\r\n                                <div class=\"highlight-desc\">Golden dunes<\/div>\r\n                            <\/div>\r\n                        <\/div>\r\n                        <div class=\"highlight-item\">\r\n                            <div class=\"highlight-icon\">\r\n                                <i class=\"fas fa-umbrella-beach\"><\/i>\r\n                            <\/div>\r\n                            <div class=\"highlight-content\">\r\n                                <div class=\"highlight-title\">Coastal Cities<\/div>\r\n                                <div class=\"highlight-desc\">Atlantic beauty<\/div>\r\n                            <\/div>\r\n                        <\/div>\r\n                        <div class=\"highlight-item\">\r\n                            <div class=\"highlight-icon\">\r\n                                <i class=\"fas fa-campground\"><\/i>\r\n                            <\/div>\r\n                            <div class=\"highlight-content\">\r\n                                <div class=\"highlight-title\">Desert Camp<\/div>\r\n                                <div class=\"highlight-desc\">Luxury experience<\/div>\r\n                            <\/div>\r\n                        <\/div>\r\n                        <div class=\"highlight-item\">\r\n                            <div class=\"highlight-icon\">\r\n                                <i class=\"fas fa-camel\"><\/i>\r\n                            <\/div>\r\n                            <div class=\"highlight-content\">\r\n                                <div class=\"highlight-title\">Camel Trekking<\/div>\r\n                                <div class=\"highlight-desc\">Desert adventure<\/div>\r\n                            <\/div>\r\n                        <\/div>\r\n                        <div class=\"highlight-item\">\r\n                            <div class=\"highlight-icon\">\r\n                                <i class=\"fas fa-mountain\"><\/i>\r\n                            <\/div>\r\n                            <div class=\"highlight-content\">\r\n                                <div class=\"highlight-title\">Atlas Mountains<\/div>\r\n                                <div class=\"highlight-desc\">Scenic crossing<\/div>\r\n                            <\/div>\r\n                        <\/div>\r\n                    <\/div>\r\n                <\/section>\r\n\r\n                <!-- What's Included \/ Not Included -->\r\n                <section class=\"section\">\r\n                    <h2 class=\"section-title\"><i class=\"fas fa-clipboard-check\"><\/i> What's Included<\/h2>\r\n                    <div class=\"included-section\">\r\n                        <div>\r\n                            <h3><i class=\"fas fa-check-circle\" style=\"color: #10b981;\"><\/i> What's Included<\/h3>\r\n                            <ul class=\"included-list\">\r\n                                <li><i class=\"fas fa-check\"><\/i> <span class=\"included-text\">7 nights accommodation<\/span><\/li>\r\n                                <li><i class=\"fas fa-check\"><\/i> <span class=\"included-text\">All breakfasts & dinners<\/span><\/li>\r\n                                <li><i class=\"fas fa-check\"><\/i> <span class=\"included-text\">Professional driver\/guide<\/span><\/li>\r\n                                <li><i class=\"fas fa-check\"><\/i> <span class=\"included-text\">Private transportation<\/span><\/li>\r\n                                <li><i class=\"fas fa-check\"><\/i> <span class=\"included-text\">Camel trekking experience<\/span><\/li>\r\n                                <li><i class=\"fas fa-check\"><\/i> <span class=\"included-text\">Desert camp overnight<\/span><\/li>\r\n                            <\/ul>\r\n                        <\/div>\r\n                        <div>\r\n                            <h3><i class=\"fas fa-times-circle\" style=\"color: #ef4444;\"><\/i> What's Not Included<\/h3>\r\n                            <ul class=\"excluded-list\">\r\n                                <li><i class=\"fas fa-times\"><\/i> <span class=\"included-text\">International flights<\/span><\/li>\r\n                                <li><i class=\"fas fa-times\"><\/i> <span class=\"included-text\">Travel insurance<\/span><\/li>\r\n                                <li><i class=\"fas fa-times\"><\/i> <span class=\"included-text\">Lunches<\/span><\/li>\r\n                                <li><i class=\"fas fa-times\"><\/i> <span class=\"included-text\">Personal expenses<\/span><\/li>\r\n                                <li><i class=\"fas fa-times\"><\/i> <span class=\"included-text\">Optional activities<\/span><\/li>\r\n                                <li><i class=\"fas fa-times\"><\/i> <span class=\"included-text\">Entrance fees<\/span><\/li>\r\n                            <\/ul>\r\n                        <\/div>\r\n                    <\/div>\r\n                <\/section>\r\n\r\n                <!-- FAQ Section -->\r\n                <section class=\"section\">\r\n                    <h2 class=\"section-title\"><i class=\"fas fa-question-circle\"><\/i> Frequently Asked Questions<\/h2>\r\n                    <div class=\"faq\">\r\n                        <div class=\"faq-item\">\r\n                            <div class=\"faq-question\">\r\n                                <h3><i class=\"fas fa-hiking\"><\/i> Is this tour physically demanding?<\/h3>\r\n                                <i class=\"fas fa-chevron-down arrow\"><\/i>\r\n                            <\/div>\r\n                            <div class=\"faq-answer\">\r\n                                This <strong>8 Days Tour To Imperial Cities Via Desert From Marrakech<\/strong> involves moderate physical activity with daily walking tours through historic medinas and light activities in the desert. The camel ride is gentle and suitable for all fitness levels, while city explorations involve walking through historic sites with uneven surfaces. The tour includes several hours of driving each day between destinations. Participants should be comfortable with extended car travel and able to manage basic walking on uneven terrain during city and desert explorations.\r\n                            <\/div>\r\n                        <\/div>\r\n                        <div class=\"faq-item\">\r\n                            <div class=\"faq-question\">\r\n                                <h3><i class=\"fas fa-suitcase\"><\/i> What clothing should I bring?<\/h3>\r\n                                <i class=\"fas fa-chevron-down arrow\"><\/i>\r\n                            <\/div>\r\n                            <div class=\"faq-answer\">\r\n                                Light clothing for daytime, warm layers for cool desert nights and mountain areas, comfortable walking shoes, sunscreen, hat, sunglasses, camera, and personal medications. A small daypack for daily essentials, refillable water bottle, and charging accessories. For the desert camp, a flashlight or headlamp is essential. Modest clothing is recommended for visiting religious sites and conservative areas in the Imperial Cities. The tour covers diverse climates from coastal cities to desert regions, so layered clothing is crucial for comfort throughout this comprehensive journey.\r\n                            <\/div>\r\n                        <\/div>\r\n                        <div class=\"faq-item\">\r\n                            <div class=\"faq-question\">\r\n                                <h3><i class=\"fas fa-calendar\"><\/i> Best time for Imperial Cities tour?<\/h3>\r\n                                <i class=\"fas fa-chevron-down arrow\"><\/i>\r\n                            <\/div>\r\n                            <div class=\"faq-answer\">\r\n                                Spring (March-May) and Autumn (September-November) offer ideal temperatures for this <strong>Imperial Cities desert tour<\/strong> with pleasant weather throughout Morocco. Coastal cities like Casablanca and Tangier are enjoyable year-round, while the desert is best visited outside of peak summer heat. Winter offers cooler temperatures but excellent conditions for exploring historic sites. The tour operates year-round with appropriate seasonal adjustments. Booking in advance is recommended for spring and autumn departures when weather conditions are optimal for both city explorations and desert experiences.\r\n                            <\/div>\r\n                        <\/div>\r\n                        <div class=\"faq-item\">\r\n                            <div class=\"faq-question\">\r\n                                <h3><i class=\"fas fa-users\"><\/i> What is the maximum group size?<\/h3>\r\n                                <i class=\"fas fa-chevron-down arrow\"><\/i>\r\n                            <\/div>\r\n                            <div class=\"faq-answer\">\r\n                                Our groups are limited to maximum 12 participants for this <strong>8 Days Tour To Imperial Cities Via Desert From Marrakech<\/strong> to ensure personalized attention and comfortable transportation. Smaller groups allow for more flexible scheduling and better interaction with your guide. Private tours are available for families or travelers who prefer exclusive service. Shared group tours offer a social experience with fellow international travelers while exploring Morocco's diverse regions. All tours include professional English-speaking driver\/guide services with expertise in Morocco's history, culture, and geography.\r\n                            <\/div>\r\n                        <\/div>\r\n                    <\/div>\r\n                <\/section>\r\n            <\/div>\r\n\r\n            <!-- Right Container - Booking Box & Contact -->\r\n            <div class=\"right-container\">\r\n                <div class=\"booking-box\">\r\n                    <div class=\"price-section\">\r\n                        <div class=\"price-display\">\r\n                            <i class=\"fas fa-tag price-icon\"><\/i>\r\n                            <div class=\"price\" id=\"totalPrice\">1,650<\/div>\r\n                        <\/div>\r\n                        <div class=\"price-note\" id=\"priceNote\">EUR per person (1 traveler)<\/div>\r\n                        \r\n                        <!-- Professional Price Breakdown -->\r\n                        <div class=\"price-breakdown\">\r\n                            <div class=\"price-tier\" id=\"priceTier1\">\r\n                                <span class=\"price-tier-label\">1\u20133 Travelers:<\/span>\r\n                                <span class=\"price-tier-value\">1,650 EUR \/ person<\/span>\r\n                            <\/div>\r\n                            <div class=\"price-tier\" id=\"priceTier2\">\r\n                                <span class=\"price-tier-label\">4+ Travelers:<\/span>\r\n                                <span class=\"price-tier-value\">1,500 EUR \/ person<\/span>\r\n                            <\/div>\r\n                        <\/div>\r\n                        \r\n                        <!-- Offer Message -->\r\n                        <div class=\"offer-message\" id=\"offerMessage\">\r\n                            Preferential rate applied for groups of 4 or more travelers\r\n                        <\/div>\r\n                    <\/div>\r\n\r\n                    <div class=\"form-message\" id=\"formMessage\"><\/div>\r\n\r\n                    <form class=\"booking-form\" id=\"bookingForm\">\r\n                        <div class=\"form-group\">\r\n                            <label for=\"fullName\"><i class=\"fas fa-user\"><\/i> Full Name<\/label>\r\n                            <input type=\"text\" id=\"fullName\" class=\"form-control\" placeholder=\"Your full name\" required>\r\n                        <\/div>\r\n                        \r\n                        <div class=\"form-group\">\r\n                            <label for=\"email\"><i class=\"fas fa-envelope\"><\/i> Email Address<\/label>\r\n                            <input type=\"email\" id=\"email\" class=\"form-control\" placeholder=\"email@example.com\" required>\r\n                        <\/div>\r\n                        \r\n                        <div class=\"form-group\">\r\n                            <label for=\"phone\"><i class=\"fas fa-phone\"><\/i> Phone Number<\/label>\r\n                            <input type=\"tel\" id=\"phone\" class=\"form-control\" placeholder=\"+1234567890\" required>\r\n                        <\/div>\r\n                        \r\n                        <!-- Travel Date Field (KEPT as requested) -->\r\n                        <div class=\"form-group\">\r\n                            <label for=\"tourDate\"><i class=\"fas fa-calendar-alt\"><\/i> Travel Date<\/label>\r\n                            <input type=\"date\" id=\"tourDate\" class=\"form-control\" required>\r\n                        <\/div>\r\n                        \r\n                        <div class=\"form-group\">\r\n                            <label><i class=\"fas fa-users\"><\/i> Number of Persons<\/label>\r\n                            <div class=\"guests-selector\">\r\n                                <button type=\"button\" class=\"guests-btn\" id=\"decreaseGuests\" disabled>-<\/button>\r\n                                <span class=\"guests-count\" id=\"guestsCount\">1<\/span>\r\n                                <button type=\"button\" class=\"guests-btn\" id=\"increaseGuests\">+<\/button>\r\n                            <\/div>\r\n                        <\/div>\r\n                        \r\n                        <button type=\"submit\" class=\"book-btn\" id=\"submitBtn\">\r\n                            <i class=\"fas fa-calendar-check\"><\/i> Book This Tour\r\n                        <\/button>\r\n                        \r\n                        <div class=\"secure-booking\">\r\n                            <i class=\"fas fa-lock\"><\/i>\r\n                            <span>Secure booking \u2022 Instant confirmation<\/span>\r\n                        <\/div>\r\n                    <\/form>\r\n                <\/div>\r\n\r\n                <!-- Updated Contact Container (Text Only) -->\r\n                <div class=\"contact-container\">\r\n                    <h3 class=\"contact-title\"><i class=\"fas fa-crown\"><\/i> Private Tour? Contact Us<\/h3>\r\n                    <div class=\"contact-subtitle\">Private tour in Morocco \u2013 Customized travel experience<\/div>\r\n                    <p class=\"contact-description\">Looking for a private or customized tour? Get in touch with us for personalized itineraries and exclusive experiences.<\/p>\r\n                    <div class=\"contact-info\">\r\n                        <div class=\"contact-item\">\r\n                            <i class=\"fas fa-phone contact-icon\"><\/i>\r\n                            <span class=\"contact-text\">Phone: +212 667-843073<\/span>\r\n                        <\/div>\r\n                        <div class=\"contact-item\">\r\n                            <i class=\"fas fa-envelope contact-icon\"><\/i>\r\n                            <span class=\"contact-text\">Email: info@alliancemoroccotours.com<\/span>\r\n                        <\/div>\r\n                    <\/div>\r\n                    <a href=\"https:\/\/alliancemoroccotours.com\/contact\/\" class=\"contact-btn\" target=\"_blank\" rel=\"dofollow\">\r\n                        <i class=\"fas fa-comments\"><\/i> Contact Us\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n        <\/div>\r\n    <\/div>\r\n\r\n    <script>\r\n        document.addEventListener('DOMContentLoaded', function() {\r\n            \/\/ ========== PREVENT PAGE ZOOM ==========\r\n            document.addEventListener('wheel', function(e) {\r\n                if (e.ctrlKey) {\r\n                    e.preventDefault();\r\n                }\r\n            }, { passive: false });\r\n            \r\n            document.addEventListener('touchstart', function(e) {\r\n                if (e.touches.length > 1) {\r\n                    e.preventDefault();\r\n                }\r\n            }, { passive: false });\r\n            \r\n            document.addEventListener('gesturestart', function(e) {\r\n                e.preventDefault();\r\n            });\r\n            \r\n            document.addEventListener('dblclick', function(e) {\r\n                if (e.target.classList.contains('modal-image')) {\r\n                    return; \/\/ Allow double-tap zoom on modal images only\r\n                }\r\n                e.preventDefault();\r\n            }, { passive: false });\r\n            \r\n            \/\/ ========== EMAILJS INITIALIZATION ==========\r\n            (function() {\r\n                emailjs.init(\"qzgU_LotSipnJ6jaS\");\r\n            })();\r\n            \r\n            \/\/ ========== GALLERY FUNCTIONALITY WITH SPECIFIED IMAGES ==========\r\n            const mainImage = document.getElementById('mainImage');\r\n            const heroImage = document.getElementById('heroImage');\r\n            const thumbnails = document.querySelectorAll('.thumbnail');\r\n            const galleryModal = document.getElementById('galleryModal');\r\n            const modalImage = document.getElementById('modalImage');\r\n            const modalClose = document.getElementById('modalClose');\r\n            const prevBtn = document.getElementById('prevBtn');\r\n            const nextBtn = document.getElementById('nextBtn');\r\n            const modalCounter = document.getElementById('modalCounter');\r\n            \r\n            \/\/ Use exact images as specified\r\n            const galleryImages = [\r\n                {\r\n                    src: \"https:\/\/alliancemoroccotours.com\/wp-content\/uploads\/2025\/12\/casablanca-maroc.jpg.1920x0_q85_format-jpg.jpg\",\r\n                    alt: \"8 Days Tour To Imperial Cities Via Desert From Marrakech - Casablanca Hassan II Mosque\"\r\n                },\r\n                {\r\n                    src: \"https:\/\/alliancemoroccotours.com\/wp-content\/uploads\/2025\/12\/iStock-2152434554-MOBILE_HEADER.webp\",\r\n                    alt: \"Morocco Imperial Cities tour - Tangier coast\"\r\n                },\r\n                {\r\n                    src: \"https:\/\/alliancemoroccotours.com\/wp-content\/uploads\/2025\/12\/586bfd2669f11c8c1751cf82c8d6ea73-scaled.webp\",\r\n                    alt: \"Fes Imperial City tour - Medina architecture\"\r\n                },\r\n                {\r\n                    src: \"https:\/\/alliancemoroccotours.com\/wp-content\/uploads\/2025\/12\/printemps_tanger.jpg.webp\",\r\n                    alt: \"Tangier spring landscape on Imperial Cities tour\"\r\n                },\r\n                {\r\n                    src: \"https:\/\/alliancemoroccotours.com\/wp-content\/uploads\/2025\/12\/1-fes.jpg\",\r\n                    alt: \"Fes city tour - Historic sites\"\r\n                },\r\n                {\r\n                    src: \"https:\/\/alliancemoroccotours.com\/wp-content\/uploads\/2025\/12\/medium-cover-1698098546-luxury-marrakech-desert-tour-to-erg-chigaga-dunes.jpg\",\r\n                    alt: \"Sahara desert camp on Imperial Cities tour\"\r\n                }\r\n            ];\r\n            \r\n            let currentImageIndex = 0;\r\n            \r\n            \/\/ Thumbnail click handler\r\n            thumbnails.forEach(thumbnail => {\r\n                thumbnail.addEventListener('click', function() {\r\n                    const index = parseInt(this.getAttribute('data-index'));\r\n                    \r\n                    if (index === 3 && window.innerWidth <= 768) {\r\n                        \/\/ View More thumbnail on mobile\r\n                        currentImageIndex = 0;\r\n                        openModal();\r\n                    } else {\r\n                        currentImageIndex = index;\r\n                        \r\n                        \/\/ Update main image\r\n                        mainImage.src = galleryImages[index].src;\r\n                        mainImage.alt = galleryImages[index].alt;\r\n                        \r\n                        \/\/ Update active state\r\n                        thumbnails.forEach(thumb => thumb.classList.remove('active'));\r\n                        this.classList.add('active');\r\n                    }\r\n                });\r\n            });\r\n            \r\n            \/\/ Hero image click\r\n            heroImage.addEventListener('click', function() {\r\n                currentImageIndex = 0;\r\n                openModal();\r\n            });\r\n            \r\n            function openModal() {\r\n                galleryModal.style.display = 'flex';\r\n                document.body.style.overflow = 'hidden';\r\n                updateModalImage();\r\n            }\r\n            \r\n            function closeModal() {\r\n                galleryModal.style.display = 'none';\r\n                document.body.style.overflow = 'auto';\r\n            }\r\n            \r\n            function updateModalImage() {\r\n                modalImage.src = galleryImages[currentImageIndex].src;\r\n                modalImage.alt = galleryImages[currentImageIndex].alt;\r\n                modalCounter.textContent = `${currentImageIndex + 1} \/ ${galleryImages.length}`;\r\n                \r\n                \/\/ Update thumbnail active state\r\n                thumbnails.forEach(thumb => thumb.classList.remove('active'));\r\n                if (currentImageIndex < thumbnails.length) {\r\n                    thumbnails[currentImageIndex].classList.add('active');\r\n                }\r\n            }\r\n            \r\n            \/\/ Modal navigation\r\n            modalClose.addEventListener('click', closeModal);\r\n            \r\n            prevBtn.addEventListener('click', function() {\r\n                currentImageIndex = (currentImageIndex - 1 + galleryImages.length) % galleryImages.length;\r\n                updateModalImage();\r\n            });\r\n            \r\n            nextBtn.addEventListener('click', function() {\r\n                currentImageIndex = (currentImageIndex + 1) % galleryImages.length;\r\n                updateModalImage();\r\n            });\r\n            \r\n            \/\/ Keyboard navigation\r\n            document.addEventListener('keydown', function(e) {\r\n                if (galleryModal.style.display === 'flex') {\r\n                    if (e.key === 'Escape') closeModal();\r\n                    if (e.key === 'ArrowLeft') prevBtn.click();\r\n                    if (e.key === 'ArrowRight') nextBtn.click();\r\n                }\r\n            });\r\n            \r\n            \/\/ Mobile swipe support\r\n            let touchStartX = 0;\r\n            let touchEndX = 0;\r\n            \r\n            modalImage.addEventListener('touchstart', function(e) {\r\n                touchStartX = e.changedTouches[0].screenX;\r\n            }, false);\r\n            \r\n            modalImage.addEventListener('touchend', function(e) {\r\n                touchEndX = e.changedTouches[0].screenX;\r\n                handleSwipe();\r\n            }, false);\r\n            \r\n            function handleSwipe() {\r\n                const swipeThreshold = 50;\r\n                \r\n                if (touchEndX < touchStartX - swipeThreshold) {\r\n                    \/\/ Swipe left - next image\r\n                    nextBtn.click();\r\n                }\r\n                \r\n                if (touchEndX > touchStartX + swipeThreshold) {\r\n                    \/\/ Swipe right - previous image\r\n                    prevBtn.click();\r\n                }\r\n            }\r\n            \r\n            \/\/ ========== DYNAMIC PRICING ==========\r\n            const totalPrice = document.getElementById('totalPrice');\r\n            const priceNote = document.getElementById('priceNote');\r\n            const offerMessage = document.getElementById('offerMessage');\r\n            const priceTier1 = document.getElementById('priceTier1');\r\n            const priceTier2 = document.getElementById('priceTier2');\r\n            const decreaseBtn = document.getElementById('decreaseGuests');\r\n            const increaseBtn = document.getElementById('increaseGuests');\r\n            const guestsCount = document.getElementById('guestsCount');\r\n            \r\n            let guests = 1;\r\n            const individualPrice = 1650; \/\/ 1-3 persons\r\n            const groupPrice = 1500; \/\/ 4+ persons\r\n            \r\n            function updatePrice() {\r\n                const pricePerPerson = guests >= 4 ? groupPrice : individualPrice;\r\n                const total = pricePerPerson * guests;\r\n                \r\n                \/\/ Update price display\r\n                totalPrice.textContent = `${total}`;\r\n                priceNote.textContent = guests === 1 ? `EUR per person (1 traveler)` : `EUR total for ${guests} travelers`;\r\n                guestsCount.textContent = guests;\r\n                \r\n                \/\/ Update price tier highlighting\r\n                if (guests >= 4) {\r\n                    priceTier1.classList.remove('active');\r\n                    priceTier2.classList.add('active');\r\n                    offerMessage.classList.add('show');\r\n                } else {\r\n                    priceTier1.classList.add('active');\r\n                    priceTier2.classList.remove('active');\r\n                    offerMessage.classList.remove('show');\r\n                }\r\n            }\r\n            \r\n            function updateGuestsButtons() {\r\n                decreaseBtn.disabled = guests <= 1;\r\n                increaseBtn.disabled = guests >= 10;\r\n            }\r\n            \r\n            decreaseBtn.addEventListener('click', function() {\r\n                if (guests > 1) {\r\n                    guests--;\r\n                    updatePrice();\r\n                    updateGuestsButtons();\r\n                }\r\n            });\r\n            \r\n            increaseBtn.addEventListener('click', function() {\r\n                if (guests < 10) {\r\n                    guests++;\r\n                    updatePrice();\r\n                    updateGuestsButtons();\r\n                }\r\n            });\r\n            \r\n            \/\/ ========== DATE PICKER SETUP ==========\r\n            const tourDate = document.getElementById('tourDate');\r\n            const today = new Date();\r\n            const nextMonth = new Date(today.getFullYear(), today.getMonth() + 1, 1);\r\n            const formattedDate = nextMonth.toISOString().split('T')[0];\r\n            tourDate.value = formattedDate;\r\n            tourDate.min = formattedDate;\r\n            \r\n            \/\/ ========== FAQ ACCORDION ==========\r\n            const faqQuestions = document.querySelectorAll('.faq-question');\r\n            \r\n            faqQuestions.forEach(question => {\r\n                question.addEventListener('click', function() {\r\n                    const answer = this.nextElementSibling;\r\n                    const isOpen = answer.classList.contains('open');\r\n                    \r\n                    \/\/ Close all answers\r\n                    document.querySelectorAll('.faq-answer').forEach(ans => {\r\n                        ans.classList.remove('open');\r\n                    });\r\n                    \r\n                    \/\/ Remove active class from all questions\r\n                    document.querySelectorAll('.faq-question').forEach(q => {\r\n                        q.classList.remove('active');\r\n                    });\r\n                    \r\n                    \/\/ If clicked question wasn't open, open it\r\n                    if (!isOpen) {\r\n                        answer.classList.add('open');\r\n                        this.classList.add('active');\r\n                    }\r\n                });\r\n            });\r\n            \r\n            \/\/ ========== FORM SUBMISSION WITH EMAILJS ==========\r\n            const bookingForm = document.getElementById('bookingForm');\r\n            const formMessage = document.getElementById('formMessage');\r\n            const submitBtn = document.getElementById('submitBtn');\r\n            \r\n            bookingForm.addEventListener('submit', async function(e) {\r\n                e.preventDefault();\r\n                \r\n                \/\/ Disable submit button\r\n                submitBtn.disabled = true;\r\n                submitBtn.innerHTML = '<i class=\"fas fa-spinner fa-spin\"><\/i> Processing...';\r\n                \r\n                \/\/ Get form values\r\n                const formData = {\r\n                    from_name: document.getElementById('fullName').value,\r\n                    from_email: document.getElementById('email').value,\r\n                    phone: document.getElementById('phone').value,\r\n                    travel_date: document.getElementById('tourDate').value,\r\n                    number_of_persons: document.getElementById('guestsCount').textContent,\r\n                    total_price: document.getElementById('totalPrice').textContent + ' EUR',\r\n                    tour_name: \"Complete 8 Days Tour To Imperial Cities Via Desert From Marrakech\"\r\n                };\r\n                \r\n                try {\r\n                    \/\/ Send email via EmailJS\r\n                    const response = await emailjs.send(\r\n                        \"service_lktvqxp\",\r\n                        \"template_iphq4nm\",\r\n                        formData\r\n                    );\r\n                    \r\n                    \/\/ Success message\r\n                    formMessage.textContent = \"\u2705 Thank you! Your booking request has been sent successfully. We'll contact you within 24 hours.\";\r\n                    formMessage.className = \"form-message success\";\r\n                    formMessage.style.display = \"block\";\r\n                    \r\n                    \/\/ Reset form\r\n                    bookingForm.reset();\r\n                    tourDate.value = formattedDate;\r\n                    guests = 1;\r\n                    updatePrice();\r\n                    updateGuestsButtons();\r\n                    \r\n                    \/\/ Scroll to message\r\n                    formMessage.scrollIntoView({ behavior: 'smooth', block: 'nearest' });\r\n                    \r\n                } catch (error) {\r\n                    \/\/ Error message\r\n                    formMessage.textContent = \"\u274c There was an error submitting your booking. Please try again or contact us directly.\";\r\n                    formMessage.className = \"form-message error\";\r\n                    formMessage.style.display = \"block\";\r\n                    \r\n                    console.error('EmailJS Error:', error);\r\n                    \r\n                } finally {\r\n                    \/\/ Re-enable submit button\r\n                    submitBtn.disabled = false;\r\n                    submitBtn.innerHTML = '<i class=\"fas fa-calendar-check\"><\/i> Book This Tour';\r\n                    \r\n                    \/\/ Hide message after 10 seconds\r\n                    setTimeout(() => {\r\n                        formMessage.style.display = \"none\";\r\n                    }, 10000);\r\n                }\r\n            });\r\n            \r\n            \/\/ ========== MOBILE GALLERY ADJUSTMENT ==========\r\n            function adjustMobileGallery() {\r\n                const thumbnails = document.querySelectorAll('.thumbnail');\r\n                const isMobile = window.innerWidth <= 768;\r\n                \r\n                thumbnails.forEach((thumb, index) => {\r\n                    if (isMobile) {\r\n                        \/\/ Hide all thumbnails except first 4\r\n                        if (index >= 4) {\r\n                            thumb.style.display = 'none';\r\n                        } else {\r\n                            thumb.style.display = 'block';\r\n                        }\r\n                        \r\n                        \/\/ Style the 4th thumbnail as \"View More\"\r\n                        if (index === 3) {\r\n                            thumb.classList.add('view-more-thumbnail');\r\n                            const img = thumb.querySelector('img');\r\n                            if (!thumb.querySelector('.view-more-overlay')) {\r\n                                const overlay = document.createElement('div');\r\n                                overlay.className = 'view-more-overlay';\r\n                                overlay.innerHTML = '<i class=\"fas fa-plus-circle\" style=\"font-size: 20px;\"><\/i><span>View More<\/span>';\r\n                                thumb.appendChild(overlay);\r\n                            }\r\n                        }\r\n                    } else {\r\n                        \/\/ Show all thumbnails on desktop\r\n                        thumb.style.display = 'block';\r\n                        if (index === 3) {\r\n                            thumb.classList.remove('view-more-thumbnail');\r\n                            const overlay = thumb.querySelector('.view-more-overlay');\r\n                            if (overlay) {\r\n                                overlay.remove();\r\n                            }\r\n                        }\r\n                    }\r\n                });\r\n            }\r\n            \r\n            \/\/ Initial call and resize listener\r\n            adjustMobileGallery();\r\n            window.addEventListener('resize', adjustMobileGallery);\r\n            \r\n            \/\/ Initial setup\r\n            updatePrice();\r\n            updateGuestsButtons();\r\n        });\r\n    <\/script>\r\n<\/body>\r\n<\/html>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Complete 8 Days Tour To Imperial Cities Via Desert From Marrakech | 8-Day Morocco Adventure View More 1 \/ 6 8 Days \/ 7 Nights included Complete 8 Days Tour To Imperial Cities Via Desert From Marrakech Experience the ultimate Moroccan adventure on this 8 Days Tour To Imperial Cities Via Desert From Marrakech. This [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"footnotes":""},"class_list":["post-285","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/alliancemoroccotours.com\/es\/wp-json\/wp\/v2\/pages\/285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alliancemoroccotours.com\/es\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/alliancemoroccotours.com\/es\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/alliancemoroccotours.com\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alliancemoroccotours.com\/es\/wp-json\/wp\/v2\/comments?post=285"}],"version-history":[{"count":13,"href":"https:\/\/alliancemoroccotours.com\/es\/wp-json\/wp\/v2\/pages\/285\/revisions"}],"predecessor-version":[{"id":886,"href":"https:\/\/alliancemoroccotours.com\/es\/wp-json\/wp\/v2\/pages\/285\/revisions\/886"}],"wp:attachment":[{"href":"https:\/\/alliancemoroccotours.com\/es\/wp-json\/wp\/v2\/media?parent=285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}