{"id":351,"date":"2025-12-16T20:17:40","date_gmt":"2025-12-16T20:17:40","guid":{"rendered":"https:\/\/alliancemoroccotours.com\/?page_id=351"},"modified":"2025-12-20T08:21:59","modified_gmt":"2025-12-20T08:21:59","slug":"9-days-tour-to-chefchaouen-imperial-cities-from-tangier","status":"publish","type":"page","link":"https:\/\/alliancemoroccotours.com\/de\/9-days-tour-to-chefchaouen-imperial-cities-from-tangier\/","title":{"rendered":"9 Days Tour To Chefchaouen &#038; Imperial Cities From Tangier"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"351\" class=\"elementor elementor-351\" 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 9 Days Tour To Chefchaouen & Imperial Cities From Tangier. Experience Tangier, Chefchaouen, Fes, Atlas Mountains, Sahara Desert and Marrakech on this comprehensive 9-day Morocco adventure.\">\r\n    <!-- SEO-Friendly URL Recommendation: \/9-days-tour-chefchaouen-imperial-cities-tangier -->\r\n    <title>Complete 9 Days Tour To Chefchaouen & Imperial Cities From Tangier | Morocco Complete Circuit<\/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;\r\n            color: var(--gray-dark);\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 *\/\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\/printemps_tanger.jpg.webp\" alt=\"9 Days Tour To Chefchaouen & Imperial Cities From Tangier - Tangier Spring\">\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\/printemps_tanger.jpg.webp\" alt=\"Tangier Spring - Morocco Coastal City\">\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\/586bfd2669f11c8c1751cf82c8d6ea73-scaled.webp\" alt=\"Chefchaouen Blue City - Morocco\">\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\/Chefchaouen__Tanger-T_touan-Al_Hoce_ma__Marokko-1-scaled.jpg\" alt=\"Chefchaouen Landscape - Rif Mountains\">\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\/photo-1564507004663-b6dfb3c824d5-1-1.jpg\" alt=\"Fes Medina - Imperial City\">\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\/09.jpg\" alt=\"Sahara Desert - Camel Trekking\">\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\/5-days-in-Morocco-itinerary-from-Casablanca.jpg\" alt=\"Marrakech Market - 9 Days Tour To Chefchaouen & Imperial Cities From Tangier\">\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\">9 Days \/ 8 Nights included<\/div>\r\n                    <h1>9 Days Tour To Chefchaouen & Imperial Cities From Tangier<\/h1>\r\n                    <p class=\"tour-description\">\r\n                        Experience the best of Northern and Central Morocco on this <strong>complete 9 days tour to Chefchaouen & Imperial Cities from Tangier<\/strong>. \r\n                        Begin your journey in the historic gateway city of <strong>Tangier<\/strong> with one night to explore its coastal charm, then travel to the enchanting <strong>Chefchaouen<\/strong> \r\n                        for one night in the famous Blue City. Continue to the cultural heart of <strong>Fes<\/strong> for two immersive nights, then journey through the <strong>Atlas Mountains<\/strong> \r\n                        to experience the majestic <strong>Sahara Desert<\/strong>, before returning to the vibrant energy of <strong>Marrakech<\/strong> for your final stay. \r\n                        This <strong>9 days tour to Chefchaouen & Imperial Cities from Tangier<\/strong> offers the perfect balance of coastal beauty, mountain scenery, \r\n                        desert adventure, and cultural heritage. <a href=\"https:\/\/alliancemoroccotours.com\/visit-morocco\" target=\"_blank\" rel=\"dofollow\">Visit Morocco<\/a> \r\n                        with us and discover the diverse landscapes and rich history that make this North African kingdom truly unique.\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-ship\"><\/i>\r\n                                <\/div>\r\n                                <div>\r\n                                    <div class=\"timeline-day\">Day 1 \u2013 Arrival in Tangier & City Tour<\/div>\r\n                                    <div class=\"timeline-details\">\r\n                                        <p>Arrival in Tangier by ferry or flight.<\/p>\r\n                                        <p>Meet and greet by your tour guide at the port\/airport.<\/p>\r\n                                        <p>Transfer to your hotel in Tangier with Strait of Gibraltar views.<\/p>\r\n                                        <p>Afternoon guided tour of Tangier highlights.<\/p>\r\n                                        <p>Visit Cap Spartel and the Caves of Hercules.<\/p>\r\n                                        <p>Explore the Kasbah Museum and American Legation Museum.<\/p>\r\n                                        <p>Walk through the picturesque medina and souks.<\/p>\r\n                                        <p>Welcome dinner featuring traditional Moroccan cuisine.<\/p>\r\n                                        <p>Overnight in Tangier with briefing about the tour.<\/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 2 \u2013 Tangier to Chefchaouen via Rif Mountains<\/div>\r\n                                    <div class=\"timeline-details\">\r\n                                        <p>Morning departure from Tangier to Chefchaouen.<\/p>\r\n                                        <p>Scenic drive through the picturesque Rif Mountains.<\/p>\r\n                                        <p>Stop at scenic viewpoints for photography opportunities.<\/p>\r\n                                        <p>Arrival in Chefchaouen, the famous \"Blue City\" of Morocco.<\/p>\r\n                                        <p>Check into traditional accommodation in blue-washed medina.<\/p>\r\n                                        <p>Guided tour of Chefchaouen's blue streets and landmarks.<\/p>\r\n                                        <p>Visit the Kasbah Museum and Ethnographic Museum.<\/p>\r\n                                        <p>Explore Ras El Ma spring and waterfall area.<\/p>\r\n                                        <p>Evening exploration of the blue streets and local markets.<\/p>\r\n                                        <p>Overnight in Chefchaouen with dinner featuring local cuisine.<\/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 3 \u2013 Chefchaouen to Fes Imperial City<\/div>\r\n                                    <div class=\"timeline-details\">\r\n                                        <p>Morning free for additional exploration of Chefchaouen.<\/p>\r\n                                        <p>Optional hike to Spanish Mosque for panoramic city views.<\/p>\r\n                                        <p>Visit local artisan workshops and craft markets.<\/p>\r\n                                        <p>Afternoon departure from Chefchaouen to Fes.<\/p>\r\n                                        <p>Travel through scenic countryside and agricultural regions.<\/p>\r\n                                        <p>Visit the Roman ruins of Volubilis, UNESCO World Heritage site.<\/p>\r\n                                        <p>Explore the archaeological site with mosaic floors.<\/p>\r\n                                        <p>Visit the imperial city of Meknes, historic capital.<\/p>\r\n                                        <p>See Bab Mansour, Moulay Ismail Mausoleum.<\/p>\r\n                                        <p>Continue to Fes, check into traditional riad accommodation.<\/p>\r\n                                        <p>Evening orientation tour of Fes illuminated landmarks.<\/p>\r\n                                        <p>Overnight in authentic Fes riad with traditional dinner.<\/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 4 \u2013 Fes Imperial City Exploration<\/div>\r\n                                    <div class=\"timeline-details\">\r\n                                        <p>Full day guided tour of Fes el-Bali, UNESCO site.<\/p>\r\n                                        <p>Visit Al-Attarine Madrasa and Bou Inania Medersa.<\/p>\r\n                                        <p>Explore the famous leather tanneries of Chouara.<\/p>\r\n                                        <p>See Nejjarine Fountain, Museum of Wooden Arts & Crafts.<\/p>\r\n                                        <p>Visit the Royal Palace entrance and Jewish Quarter (Mellah).<\/p>\r\n                                        <p>Explore Al-Qarawiyyin University, oldest continuously operating university.<\/p>\r\n                                        <p>Free time for shopping in traditional souks and artisan workshops.<\/p>\r\n                                        <p>Experience traditional Fes craftsmanship and cultural heritage.<\/p>\r\n                                        <p>Optional traditional Moroccan cooking class or cultural activity.<\/p>\r\n                                        <p>Second overnight in Fes riad with dinner at traditional restaurant.<\/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 5 \u2013 Fes to Sahara Desert via Atlas Mountains<\/div>\r\n                                    <div class=\"timeline-details\">\r\n                                        <p>Morning departure from Fes to Sahara Desert.<\/p>\r\n                                        <p>Cross the Middle Atlas Mountains via Ifrane and Azrou.<\/p>\r\n                                        <p>See Barbary macaque monkeys in cedar forests.<\/p>\r\n                                        <p>Travel through Midelt, known as the \"Apple City\".<\/p>\r\n                                        <p>Continue through Ziz Valley with expansive palm groves.<\/p>\r\n                                        <p>Arrive at Merzouga, gateway to the majestic Erg Chebbi dunes.<\/p>\r\n                                        <p>Sunset camel trek across golden dunes to reach desert camp.<\/p>\r\n                                        <p>Welcome to traditional desert camp with Berber hospitality.<\/p>\r\n                                        <p>Dinner under starry Sahara skies with traditional music.<\/p>\r\n                                        <p>Overnight in comfortable desert camp accommodation.<\/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 6 \u2013 Sahara Desert Experience & Dades Valley<\/div>\r\n                                    <div class=\"timeline-details\">\r\n                                        <p>Sunrise camel trek or 4x4 adventure in the Sahara dunes.<\/p>\r\n                                        <p>Breakfast at desert camp before departure.<\/p>\r\n                                        <p>Visit Rissani traditional market and historical sites.<\/p>\r\n                                        <p>Travel through the dramatic Todra Gorge with 300m high walls.<\/p>\r\n                                        <p>Explore Tinghir oasis and traditional Berber villages.<\/p>\r\n                                        <p>Continue through the picturesque Dades Valley.<\/p>\r\n                                        <p>See the famous \"Monkey Fingers\" rock formations.<\/p>\r\n                                        <p>Arrive at Dades Gorges for overnight accommodation.<\/p>\r\n                                        <p>Dinner with views of the stunning canyon landscape.<\/p>\r\n                                        <p>Overnight in Dades Valley hotel with traditional hospitality.<\/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 7 \u2013 Dades Valley to Marrakech via Atlas Mountains<\/div>\r\n                                    <div class=\"timeline-details\">\r\n                                        <p>Morning exploration of Dades Gorges and surrounding area.<\/p>\r\n                                        <p>Travel through the Valley of Roses with scenic views.<\/p>\r\n                                        <p>Visit the UNESCO site of Ait Benhaddou Kasbah.<\/p>\r\n                                        <p>Explore Ouarzazate, known as the \"Hollywood of Africa\".<\/p>\r\n                                        <p>Cross the High Atlas Mountains via Tizi n'Tichka pass (2,260m).<\/p>\r\n                                        <p>Photo stops at panoramic viewpoints overlooking valleys.<\/p>\r\n                                        <p>Arrive in Marrakech, the \"Red City\" of Morocco.<\/p>\r\n                                        <p>Check into traditional riad accommodation in medina.<\/p>\r\n                                        <p>Evening orientation tour of Marrakech highlights.<\/p>\r\n                                        <p>Overnight in Marrakech with dinner celebration.<\/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-gem\"><\/i>\r\n                                <\/div>\r\n                                <div>\r\n                                    <div class=\"timeline-day\">Day 8 \u2013 Marrakech Exploration Day<\/div>\r\n                                    <div class=\"timeline-details\">\r\n                                        <p>Full day guided tour of Marrakech highlights.<\/p>\r\n                                        <p>Visit Koutoubia Mosque and Bahia Palace.<\/p>\r\n                                        <p>Explore the Saadian Tombs and Majorelle Garden.<\/p>\r\n                                        <p>Experience the vibrant Jemaa el-Fna square and souks.<\/p>\r\n                                        <p>Free time for shopping and exploring at your own pace.<\/p>\r\n                                        <p>Optional visit to traditional Moroccan spa (hammam).<\/p>\r\n                                        <p>Traditional Moroccan lunch at local restaurant.<\/p>\r\n                                        <p>Evening entertainment with optional cultural show.<\/p>\r\n                                        <p>Second overnight in Marrakech with farewell dinner.<\/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 9 \u2013 Marrakech Departure<\/div>\r\n                                    <div class=\"timeline-details\">\r\n                                        <p>Morning free for last-minute shopping and exploration.<\/p>\r\n                                        <p>Optional visit to additional Marrakech attractions.<\/p>\r\n                                        <p>Traditional Moroccan lunch at local restaurant.<\/p>\r\n                                        <p>Transfer to Marrakech Menara Airport for departure.<\/p>\r\n                                        <p>End of comprehensive 9-day Chefchaouen & Imperial Cities tour.<\/p>\r\n                                        <p>Farewell with memories of Tangier, Chefchaouen, Fes, Sahara, and Marrakech.<\/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-lighthouse\"><\/i>\r\n                            <\/div>\r\n                            <div class=\"highlight-content\">\r\n                                <div class=\"highlight-title\">Tangier Gateway<\/div>\r\n                                <div class=\"highlight-desc\">Historic coastal city<\/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-palette\"><\/i>\r\n                            <\/div>\r\n                            <div class=\"highlight-content\">\r\n                                <div class=\"highlight-title\">Chefchaouen Blue<\/div>\r\n                                <div class=\"highlight-desc\">Mountain blue pearl<\/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-university\"><\/i>\r\n                            <\/div>\r\n                            <div class=\"highlight-content\">\r\n                                <div class=\"highlight-title\">Fes Culture<\/div>\r\n                                <div class=\"highlight-desc\">Imperial cultural heart<\/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 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-mountain\"><\/i>\r\n                            <\/div>\r\n                            <div class=\"highlight-content\">\r\n                                <div class=\"highlight-title\">Atlas Crossing<\/div>\r\n                                <div class=\"highlight-desc\">Mountain scenic route<\/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-gem\"><\/i>\r\n                            <\/div>\r\n                            <div class=\"highlight-content\">\r\n                                <div class=\"highlight-title\">Marrakech Finale<\/div>\r\n                                <div class=\"highlight-desc\">Vibrant Red City end<\/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\">8 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 accommodation<\/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 during tour<\/span><\/li>\r\n                                <li><i class=\"fas fa-times\"><\/i> <span class=\"included-text\">Alcoholic beverages<\/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                            <\/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-calendar-alt\"><\/i> How many nights in each location?<\/h3>\r\n                                <i class=\"fas fa-chevron-down arrow\"><\/i>\r\n                            <\/div>\r\n                            <div class=\"faq-answer\">\r\n                                This <strong>9 days tour to Chefchaouen & Imperial Cities from Tangier<\/strong> includes: 1 night in Tangier, 1 night in Chefchaouen, 2 nights in Fes, 1 night in the Sahara Desert, 1 night in Dades Valley, and 2 nights in Marrakech. The itinerary is carefully balanced to give you meaningful time in each destination while maintaining a comfortable travel pace. The two-night stays in Fes and Marrakech allow for deeper exploration and authentic experiences without feeling rushed.\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-ship\"><\/i> How do I get to Tangier?<\/h3>\r\n                                <i class=\"fas fa-chevron-down arrow\"><\/i>\r\n                            <\/div>\r\n                            <div class=\"faq-answer\">\r\n                                Tangier is easily accessible by ferry from Spain (Tarifa or Algeciras) with regular crossings taking approximately 1 hour. You can also fly directly into Tangier Ibn Battouta Airport (TNG) from various European cities. The tour can start with a pick-up from either the Tangier port or airport. If you're coming from other parts of Morocco, Tangier is well-connected by train and bus services from cities like Casablanca and Rabat.\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-hiking\"><\/i> What is the fitness level required?<\/h3>\r\n                                <i class=\"fas fa-chevron-down arrow\"><\/i>\r\n                            <\/div>\r\n                            <div class=\"faq-answer\">\r\n                                This tour requires moderate fitness with daily travel and walking during city explorations. The camel trekking in the Sahara is optional and suitable for all fitness levels. The tour involves walking through historic medinas in Tangier, Chefchaouen, Fes, and Marrakech, exploring desert landscapes, and crossing mountain passes. Most activities are designed for average fitness participants with comfortable walking shoes recommended. The pace allows for rest periods throughout the 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-users\"><\/i> Can I customize this tour?<\/h3>\r\n                                <i class=\"fas fa-chevron-down arrow\"><\/i>\r\n                            <\/div>\r\n                            <div class=\"faq-answer\">\r\n                                Yes, this tour can be customized to suit your preferences. You can extend your stay in any city, add additional destinations, or modify the itinerary to focus on specific interests. Private tours are available for families or groups wanting a more personalized experience. Contact us directly to discuss customization options for your <strong>9 days tour to Chefchaouen & Imperial Cities from Tangier<\/strong>. We can adjust the accommodation level, add special activities, or change the duration based on your needs.\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,550 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 -->\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                <!-- 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 ==========\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 specified images\r\n            const galleryImages = [\r\n                {\r\n                    src: \"https:\/\/alliancemoroccotours.com\/wp-content\/uploads\/2025\/12\/printemps_tanger.jpg.webp\",\r\n                    alt: \"9 Days Tour To Chefchaouen & Imperial Cities From Tangier - Tangier Spring\"\r\n                },\r\n                {\r\n                    src: \"https:\/\/alliancemoroccotours.com\/wp-content\/uploads\/2025\/12\/586bfd2669f11c8c1751cf82c8d6ea73-scaled.webp\",\r\n                    alt: \"Chefchaouen Blue City - Morocco\"\r\n                },\r\n                {\r\n                    src: \"https:\/\/alliancemoroccotours.com\/wp-content\/uploads\/2025\/12\/Chefchaouen__Tanger-T_touan-Al_Hoce_ma__Marokko-1-scaled.jpg\",\r\n                    alt: \"Chefchaouen Landscape - Rif Mountains\"\r\n                },\r\n                {\r\n                    src: \"https:\/\/alliancemoroccotours.com\/wp-content\/uploads\/2025\/12\/photo-1564507004663-b6dfb3c824d5-1-1.jpg\",\r\n                    alt: \"Fes Medina - Imperial City\"\r\n                },\r\n                {\r\n                    src: \"https:\/\/alliancemoroccotours.com\/wp-content\/uploads\/2025\/12\/09.jpg\",\r\n                    alt: \"Sahara Desert - Camel Trekking\"\r\n                },\r\n                {\r\n                    src: \"https:\/\/alliancemoroccotours.com\/wp-content\/uploads\/2025\/12\/5-days-in-Morocco-itinerary-from-Casablanca.jpg\",\r\n                    alt: \"Marrakech Market - 9 Days Tour To Chefchaouen & Imperial Cities From Tangier\"\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 = 1550; \/\/ 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: \"9 Days Tour To Chefchaouen & Imperial Cities From Tangier\"\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 9 Days Tour To Chefchaouen &#038; Imperial Cities From Tangier | Morocco Complete Circuit View More 1 \/ 6 9 Days \/ 8 Nights included 9 Days Tour To Chefchaouen &#038; Imperial Cities From Tangier Experience the best of Northern and Central Morocco on this complete 9 days tour to Chefchaouen &#038; Imperial Cities [&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-351","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/alliancemoroccotours.com\/de\/wp-json\/wp\/v2\/pages\/351","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alliancemoroccotours.com\/de\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/alliancemoroccotours.com\/de\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/alliancemoroccotours.com\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alliancemoroccotours.com\/de\/wp-json\/wp\/v2\/comments?post=351"}],"version-history":[{"count":7,"href":"https:\/\/alliancemoroccotours.com\/de\/wp-json\/wp\/v2\/pages\/351\/revisions"}],"predecessor-version":[{"id":797,"href":"https:\/\/alliancemoroccotours.com\/de\/wp-json\/wp\/v2\/pages\/351\/revisions\/797"}],"wp:attachment":[{"href":"https:\/\/alliancemoroccotours.com\/de\/wp-json\/wp\/v2\/media?parent=351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}