Tanzania . NDUTU CALVING SAFARI

6-Day Ndutu Calving

Season Safari

Experience Tanzania’s Great Migration at its most intimate on a private 6-day Ndutu calving safari. Explore Tarangire, the Southern Serengeti/Ndutu plains and Ngorongoro Crater during January–March, when newborn wildebeest, zebra herds and predators bring the green season to life.

From $1,785 per person sharing

Wildlife
Calving Migration & Big Cats
Best Time
December - March
Safari Style
Private Guided Game Drives
Group Size
Maximum 6 Guests Per Vehicle
Accommodation
Mid-Range to Luxury Options

PRIVATE & SMALL-GROUP TOURS

CAREFULLY SELECTED LODGES & CAMPS

FLYING DOCTORS EMERGENCY COVER INCLUDED

TATO CERTIFIED

PERSONAL SUPPORT THROUGHOUT YOUR JOURNEY

TANZANIA KENYA UGANDA RWANDA ZANZIBAR KILIMANJARO

EVERY SAFARI BEGINS WITH A CONVERSATION

462+ VERIFIED TRIP ADVISOR REVIEWS

TAILOR MADE EAST AFRICAN SAFARIS

TRUSTED SAFARI SPECIALIST SINCE 2010

Journey Overview
The Ndutu Calving
Migration Experience

Designed for travellers who want a focused Great Migration calving season safari, this six-day journey takes you from Arusha to Tarangire, the Ndutu plains and Ngorongoro Crater. Travel between January and March, when newborn wildebeest and zebra attract lions, cheetahs and hyenas across the green short-grass plains.

This is a compact but rewarding route for guests who want strong wildlife without a long itinerary. Tarangire adds elephants and baobabs before you continue to Ndutu for the main calving action, then Ngorongoro gives you a final crater game drive with excellent Big Five viewing.

“Six days gave us the perfect taste of Tanzania’s calving season—newborn wildebeest, big cats and a beautiful mix of landscapes from Tarangire to Ngorongoro.”

— SafariHQ Guest
Perfect For
First-Time Tanzania Visitors
Couples & Honeymooners
Wildlife Photographers
Families (6+ Years)
Calving Season Seekers
Bucket-List Adventures
At a Glance
Duration
6 Days / 5 Nights
Destinations
Tarangire ·Ndutu · Ngorongoro
Park Fees
Included
Group Size
Max 6 per vehicle
Flying Doctors
Emergency Cover Included
Price From
$1,785 per person sharing
Pricing
Choose Your Experience

Every stay offers exceptional wildlife. Your accommodation simply defines the comfort, style and exclusivity of your safari.

Mid-Range
From $1,785
Per person, sharing

Comfortable lodges offering authentic safari experiences, warm hospitality and excellent value

Most Popular
Mid Luxury
From $2,262
Per person, sharing

Boutique lodges and camps combining exceptional comfort, prime locations and personalised service.

Luxury
From $3,407
Per person, sharing

Elegant luxury lodges offering exceptional service, spectacular locations and unforgettable safari stays.

All Prices Include
All accommodation (full board)
All game drives & park fees
Professional English-speaking guide
Airport & airstrip transfers
Flying Doctors emergency cover
Conservation area fees
24/7 SafariHQ concierge support
Pre-departure information pack
Excluding: international flights, visas, travel insurance, tips, personal expenses.
Day by Day
Your Journey

Arrive at Kilimanjaro International Airport, where your SafariHQ guide will welcome you to Tanzania and transfer you to Arusha. Settle into your accommodation, relax after your journey and enjoy your first evening beneath the slopes of Mount Meru before your safari adventure begins.

Activities

  • Meet & greet at Kilimanjaro Airport
  • Private transfer to Arusha
  • Safari briefing with your guide

Leave Arusha and journey through the landscapes of northern Tanzania to Tarangire National Park. Set out on a game drive among ancient baobabs and along the Tarangire River, searching for large elephant herds, lions, giraffes, zebras and an impressive variety of wildlife.

Activities

  • Scenic drive from Arusha
  • Tarangire game drive
  • Elephant & wildlife viewing

Leave Tarangire after breakfast and journey toward the Ndutu region, passing through the Ngorongoro Conservation Area and into the Southern Serengeti ecosystem. Arrive in the calving plains for your first Ndutu game drive, searching for wildebeest herds, newborn calves, zebras, lions, cheetahs and hyenas.

Activities

  • Travel through Ngorongoro Conservation Area
  • Afternoon Ndutu game drive
  • Calving season wildlife viewing
  • Optional Olduvai Gorge visit, time permitting (additional cost)

Spend a full day exploring the Ndutu plains, one of the best areas for Tanzania’s Great Migration calving season. Follow wildebeest and zebra herds across the short-grass plains, watch for newborn calves and search for predators such as lions, cheetahs and hyenas drawn by the constant movement of wildlife.

Activities

  • Full-day Ndutu game drive
  • Calving season wildlife viewing
  • Big cat and predator tracking
  • Picnic lunch in the bush
  • Photography across the open plains

Enjoy a final morning game drive in Ndutu before leaving the Southern Serengeti ecosystem and travelling toward the Ngorongoro Highlands. As the scenery changes from open plains to volcanic landscapes, continue to your lodge near the crater, ready for the next day’s unforgettable Ngorongoro Crater safari.

Activities

  • Morning Ndutu game drive
  • Scenic drive to Ngorongoro
  • Wildlife viewing en route
  • Crater rim viewpoints, time permitting
  • Relax at your lodge before dinner

After an early breakfast, descend into Ngorongoro Crater for a final game drive in one of Tanzania’s most wildlife-rich landscapes. Look for lions, elephants, buffalo, hippos and, with luck, black rhino before enjoying a picnic lunch and continuing to Kilimanjaro Airport for your departure flight.

Activities

  • Ngorongoro Crater game drive
  • Big Five wildlife viewing
  • Picnic lunch inside or near the crater
  • Scenic drive to Kilimanjaro Airport
  • Departure assistance

END OF SERVICE

Accommodation
Where You Will Sleep

For every destination, three accommodation levels — from authentic and comfortable to world-class. Your choice shapes the entire atmosphere of your safari.

Destination
Arusha
Arusha Farm House

Nestled beneath Mount Meru, this peaceful farmhouse retreat combines comfortable rooms, lush gardens and genuine Tanzanian hospitality—an ideal start or finish to your safari

Mount Meru Views
Swimming pool
Restaurant & bar
Lush Gardens
View Details →
Ngare Sero Mountain Lodge

Located in Set on a historic coffee estate surrounded by forest and a tranquil lake, this charming colonial lodge offers personalised service, peaceful gardens and timeless elegance.

Colonial estate
Gourmet dining
Forest & lake
Central location
View Details →
Gran Meliá Arusha

Overlooking Mount Meru, Gran Meliá Arusha blends contemporary luxury with world-class dining, elegant rooms and exceptional service before your Northern Tanzania safari.

Mount Meru views
Spa & wellness
Rooftop dining
Luxury suites
View Details →
Destination
Tarangire / Karatu
Marera Valley Lodge

Set between Lake Manyara and Ngorongoro Crater, Marera Valley Lodge offers spacious cottages, lush gardens and warm Tanzanian hospitality—an inviting retreat with beautiful valley views.

Valley View
Swimming pool
Private verandas
Spacious cottages
Ngorongoro Farm House

Nestled on a working coffee farm , Ngorongoro Farm House blends colonial charm with spacious cottages, lush gardens and warm Tanzanian hospitality after memorable safari days.

Coffee farm setting
Farm-to-table dining
Spacious cottages
Swimming pool
View Details →
Tarangire Elephant Springs

Surrounded by ancient baobab trees, Tarangire Elephant Springs offers stylish suites, personalised service and an exclusive safari retreat in the heart of elephant country

Luxury suites
Baobab setting
Swimming pool
Elephant country
View Details →
Destination
Ndutu
Ndutu Heritage Camp

Set in the Ndutu Big Marsh region, Ndutu Heritage Camp offers classic en-suite canvas tents, warm bush hospitality and a well-placed base for calving-season wildlife on the southern plains.

Ndutu Big Marsh
Bonfire evenings
En-suite tents
Calving season base
Nyikani Migration Camp

Blending understated elegance with the spirit of the Serengeti, Singing Grass offers beautifully designed tents, personalised service and an intimate safari experience surrounded by nature.

Seasonal camp
Migration location
Bush dining
En-suite tents
Lake Masek Tented Lodge

Set beside Lake Masek in the Ndutu area, Lake Masek Tented Lodge offers spacious luxury tents, private terraces, lake views and a pool—ideal for calving-season safaris.

Swimming pool
Lake views
Luxury tents
Private terraces
Destination
Ngorongoro / Karatu
Marera Valley Lodge

Set between Lake Manyara and Ngorongoro Crater, Marera Valley Lodge offers spacious cottages, lush gardens and warm Tanzanian hospitality—an inviting retreat with beautiful valley views.

Valley views
Private verandas
Swimming pool
Spacious cottages
Ngorongoro Farm House

Nestled on a working coffee farm , Ngorongoro Farm House blends colonial charm with spacious cottages, lush gardens and warm Tanzanian hospitality after memorable safari days.

Coffee farm setting
Farm-to-table
Spacious cottages
Swimming Pool

Perched on the Ngorongoro Crater rim, Meliá combines refined luxury, breathtaking caldera views and personalised service for an unforgettable safari stay

Crater rim views
Luxury spa
Infinity pool
Fine dining
Tanzania · 7-Day Ndutu Calving Season Safari
Before You Travel
Everything you need to know before your journey begins.

We recommend applying for your Tanzania visa at least 4 weeks before departure to allow sufficient processing time. Your passport must be valid for at least six months from your arrival date and contain at least one blank visa page.

Visa requirements vary depending on your nationality. Your SafariHQ Travel Specialist will confirm the latest entry requirements and guide you through the application process before your journey.

SafariHQ Note

Once your safari is confirmed, we'll provide personalised visa guidance based on your passport and country of residence, making the process simple and stress-free.

A Yellow Fever Vaccination Certificate may be required if you are arriving from, or transiting for more than 12 hours through, a country where Yellow Fever is present. Malaria prevention is recommended for most travellers visiting Tanzania.

We also recommend bringing any personal medication, insect repellent and sunscreen. Please consult your doctor or travel clinic 4–6 weeks before departure for personalised medical advice.

SafariHQ Note

Every SafariHQ safari includes Flying Doctors emergency evacuation cover, providing emergency air evacuation from remote safari locations throughout East Africa.

Comprehensive travel insurance is essential and should cover medical expenses, emergency evacuation, trip cancellation, lost baggage and personal belongings for the entire duration of your journey.

While every SafariHQ safari includes Flying Doctors emergency evacuation cover, this does not replace comprehensive travel insurance.

SafariHQ Note

Before purchasing travel insurance, check with your credit card provider—your card may already include suitable travel cover.

Lightweight, neutral-coloured clothing such as khaki, olive, sand and brown is recommended. Avoid bright colors and  while on safari. Early mornings around Ngorongoro can be cool, while afternoons are generally warm, so packing layers is essential.

Recommended items: lightweight long-sleeve shirts, fleece or light jacket, safari hat, comfortable walking shoes, sunscreen (SPF 50+), insect repellent, sunglasses and a good camera. Soft-sided luggage is recommended for domestic safari flights.

SafariHQ Note

Even during the dry season, early morning game drives can be chilly. We recommend packing one warm layer for added comfort.

Dry Season: June – October

Wildlife Viewing: Excellent wildlife viewing as animals gather around rivers and waterholes. This is the best time to spot the Big Five, predators and large herds across the Serengeti and Ngorongoro Crater.

Conditions: Sunny days with cool mornings and evenings. Dry conditions, minimal rainfall and clear skies make this the most popular safari season.

Best For: First-time visitors, Big Five safaris, Great Migration river crossings (Jul–Sep), Photography, Family safaris.

Green Season: November – March

Wildlife Viewing: Outstanding birdwatching, lush landscapes and excellent wildlife viewing. January to March is also the calving season in Southern Serengeti, attracting predators and dramatic wildlife encounters.

Conditions: Warm temperatures with occasional short rains, vibrant scenery and fewer visitors throughout the parks.

Best For: Birdwatching, Calving season, Photography, Honeymoons, Better accommodation value

Shoulder Season: April – May

Wildlife Viewing: Wildlife remains excellent throughout Tanzania, although occasional rainfall may affect road conditions in some areas.

Conditions: The long rains bring green landscapes, quieter parks and excellent photographic opportunities with fewer visitors.

Best For: Lower prices, Peaceful safari experience, Green landscapes, Experienced travellers

SafariHQ Note

Tanzania offers exceptional wildlife viewing throughout the year, with each season providing a unique safari experience. Your SafariHQ Travel Specialist will recommend the ideal travel period based on your interests, budget and the wildlife experiences you wish to enjoy.

A 30% deposit is required to confirm your safari, with the remaining balance payable 45 days before arrival. SafariHQ accepts secure international bank transfers and online payment gateways.

Once your booking is confirmed, your dedicated safari specialist will guide you through every step of the payment and travel preparation process.

SafariHQ Note

A full itemised quote is provided within 24 hours of your enquiry. There is no commitment required at this stage.

Arrival Airport

Kilimanjaro International Airport (JRO)

Airport Meet & Greet

Included — your guide will meet you on arrival

Airport Transfer

Private vehicle included on arrival and departure

Currency

Tanzanian Shilling (TZS). US Dollars widely accepted.

Time Zone

GMT +3 (East Africa Time)

Languages

English and Swahili

Electricity

Type G (UK three-pin), 230V

SafariHQ Note

Guests arriving on long-haul overnight flights often appreciate spending their first night in Arusha before beginning their safari the following morning. We can arrange comfortable pre-safari accommodation on request.

Have a question not covered here?

Planning Your Safari
Frequently Asked Questions
Everything you need to know before booking. Can't find your answer? Ask our specialists directly.

Yes. A 6-day Ndutu calving season safari is a strong choice for first-time visitors who want a focused Great Migration experience without a long itinerary. It combines Tarangire, the Ndutu plains and Ngorongoro Crater in one compact Tanzania safari.

The main highlight is time in Ndutu during the wildebeest calving season, when the Southern Serengeti plains attract newborn calves, zebra herds and predators such as lions, cheetahs and hyenas.

SafariHQ Tip

Choose this safari if you want the Great Migration calving season to be the main focus, with enough variety from Tarangire and Ngorongoro.

The 6-day Ndutu calving season safari price normally includes private safari transport, a professional driver-guide, selected accommodation, meals as shown, park fees, Ngorongoro Conservation Area fees, crater fees and emergency Flying Doctors cover.

It also includes game drives in Tarangire, Ndutu and Ngorongoro Crater. International flights, visas, travel insurance, tips, drinks and personal expenses are usually not included unless stated in your final quotation.

SafariHQ Tip

When comparing prices, check if Ndutu accommodation, Ngorongoro fees and crater fees are included, as these can strongly affect the final safari cost.

In Tarangire, you may see large elephant herds, giraffes, zebras, buffalo, lions and baobab landscapes. Ndutu is best known for wildebeest and zebra herds during calving season, with newborn calves and strong predator activity.

Ngorongoro Crater offers excellent Big Five wildlife viewing in a compact area, including lions, elephants, buffalo, hippos and, with luck, black rhino. The combination gives you both seasonal migration drama and classic Tanzania wildlife.

SafariHQ Tip

For the best Ndutu calving season experience, travel between January and March, while remembering that herd movements depend on rainfall and grazing.

This safari includes some long but rewarding drives, especially from Tarangire to Ndutu and from Ndutu to Ngorongoro. These travel days pass through changing landscapes, Maasai country and the wider Serengeti ecosystem.

The route is designed to keep the safari focused, with meaningful time in Ndutu for calving-season wildlife rather than rushing through too many parks. A fly-in option can be discussed if you prefer less road travel.

SafariHQ Tip

If comfort is your priority, ask your SafariHQ specialist whether flying one way into or out of the Serengeti area makes sense for your dates and budget.

Absolutely. Every SafariHQ safari is designed around your travel style, interests and budget. Whether you'd like to add extra nights in the Serengeti, upgrade your accommodation, include a hot air balloon safari, or combine your journey with Zanzibar, Kenya, Uganda, Rwanda or Mount Kilimanjaro, we'll create a personalised itinerary just for you.

Our travel specialists work closely with you to ensure every detail matches your preferred pace, accommodation style and travel dates.

SafariHQ Tip

Your personalised itinerary and quotation are prepared at no additional cost, giving you complete flexibility before confirming your booking.

This safari is available in Mid-Range, Mid-Luxury and Luxury accommodation categories, allowing you to choose the style that best suits your travel preferences and budget. Every option includes carefully selected lodges and tented camps known for their comfort, hospitality and excellent locations close to Tanzania's leading safari destinations.

Whichever category you choose, you'll enjoy the same unforgettable wildlife experience, with the main difference being the level of comfort, facilities and exclusivity at each property.

SafariHQ Tip

Not sure which option is right for you? Your SafariHQ Travel Specialist will help you choose the accommodation category that best matches your expectations and budget.

Absolutely. This 6-day Tanzania safari can easily be combined with a relaxing beach holiday in Zanzibar, a Mount Kilimanjaro climb or a tailor-made safari through Kenya, Uganda or Rwanda. Many of our guests choose to extend their journey to experience more of East Africa in one seamless itinerary.

Your SafariHQ Travel Specialist will create a personalised itinerary, ensuring flights, accommodation and transfers connect smoothly throughout your journey.

SafariHQ Tip

Whether you're planning a honeymoon, family holiday or multi-country adventure, we'll tailor every detail to match your travel style, timeframe and budget.

For the widest choice of accommodation and travel dates, we recommend booking your Tanzania safari 6–12 months in advance, particularly if you plan to travel during the Great Migration season (June–October) or the festive period (20 December–10 January).

If you're travelling during quieter months, booking 3–6 months before departure is generally sufficient. Last-minute safaris may also be possible, subject to accommodation and vehicle availability.

SafariHQ Tip

Your personalised itinerary and quotation are usually prepared within 24 hours. Once you're ready to proceed, a 30% deposit secures your booking, with the remaining balance payable 45 days before arrival.

This 6-day Tanzania safari is operated as a private safari, giving you an exclusive 4×4 safari vehicle and a professional English-speaking guide throughout your journey. Travelling privately allows you to enjoy a flexible itinerary, spend more time at wildlife sightings and stop whenever you wish for photography or sightseeing.

If you're interested in meeting other travellers, SafariHQ also offers selected scheduled group safaris on specific departures. Your SafariHQ Travel Specialist will help you choose the option that best suits your travel style and budget.

SafariHQ Tip

Private safaris offer the greatest flexibility, while our scheduled group safaris provide an excellent value-for-money option for travellers who enjoy sharing the experience.

Still have questions? Our Safari Specialists are here to help.

Your Safari Specialists
Why Travel With SafariHQ
Every journey we create is built around you. Combining local expertise,
carefully selected partners and personalised planning, we help travellers
experience East Africa with confidence.
TripAdvisor Reviews
0 +
Google Reviews
0 +
Years in East Africa
0 +
Tailor-Made
0 %
01
Tailor-Made Around You

Every safari begins with a conversation. We listen first, then design your journey around your interests, travel style, accommodation preferences and pace. No fixed templates — only yours.

02
East Africa Is Our Home

From Tanzania and Kenya to Uganda and Rwanda, our specialists draw on first-hand local knowledge to recommend the right destinations, experiences and seasons for a safari designed around how you want to travel.

03
Carefully Selected Lodges

Every lodge and tented camp we recommend is chosen for its location, hospitality and guest experience — ensuring each stay complements your safari rather than simply accommodating it.

04
Travel With Confidence

Since 2010, SafariHQ has helped travellers explore East Africa with clear planning, honest advice and dedicated specialist support before, during and after every safari.

Guest Experiences

8-Day Mara River Crossing Safari
We were out and about for ten days with our guide James. I could not have imagined a better companion, and we saw many beautiful animals – including the Big Five. We watched the wildebeest river crossing. James knew everything about the animals and was always friendly. In addition, he answered every one of our questions.
Benjamin B
2026-08-28
7 Days Tarangire, Ngorongoro, Serengeti
The best safari company ever! We did 7 days across Tarangire, Lake Manyara, Ngorongoro and the Serengeti. The best trip of my life. The organisation from SafariHQ was amazing and the guides were incredible! Our guide Daniel was so kind, patient and super knowledgeable on all the animals and plants. We saw so many animals and Daniel was an excellent spotter. He is a super driver and we got amazing views of all the animals. I will definitely be doing another safari with SafariHQ. Thanks to Daniel and all of SafariHQ for the trip of a lifetime.
Nikki Gander
2026-07-23
3 Day Serengeti National Park
We had a very beautiful and unforgettable safari, during which we saw the Big 5 and many other great animals. Our guide James was very knowledgeable about everything regarding Tanzania and its wildlife. He was very nice and a great driver.
Felix S
2026-08-26
8 Days Tanzania Safari
Our guide Emmanuel was absolutely amazing. I felt he went above and beyond to make sure we saw every animal there was to see in Ngorongoro Carter and Lake Manyara National Park. Not only did we get to see the animals, we also so amazing flora, scenery and Emmanuel was full of knowledge about the area, people and animals. Overall our time in Tanzania was made exceptionally better because of the guides we had. Emmanuel was absolutely brilliant to make sure we had good viewing of all sights and animals. No task was to hard. He was friendly, polite, and I felt very safe in his company.
SafariHQ guide showing guests elephants during a game drive in Tanzania on a guided wildlife safari.
Richelle H
2026-07-09
3 night private Masai Mara NP
We were met by Simon from Safari HQ upon arrival in Nairobi and taken to our hotel which was s great way to start our Kenyan experience. Early the next morning, we were collected by Steve our Safari driver in our Safari vehicle for the long drive to the Zebra Valley Mara Lodge located adjacent to the Masai Mara National Game Reserve. Over the next 3 days, we enjoyed a series of fantastic early morning and late afternoon game Safari drives. Steve our driver was exceptional. Being an ex park ranger, his knowledge of the game reserve, the flora and fauna was fantastic. Given the condition of the roads, Steve was never in a rush and always allowed plenty of time to get us some great opportunities to view the amazing wildlife in the Mara reserve. We were extremely privileged that Steve manage to find great sighting / viewings of Elephants, Hippos, Giraffes, Ostriches, Lions, Cheetahs, numerous types of antelopes, Nile crocodiles, Wilderbeast, Zebras – the list goes on. Highlights included lunch under an Umbrella Acacia tree inside the game park. Given were on a 4 person private game Safari, Safari HQ and our Driver Steve were fantastic and the experience provided certainly exceeded our expectations.
7 Day Tanzania Safari
We spent three days in the Ngorongoro conservation area, three days in the Serengeti National Park and one day in the Lake Manyara National Park. We did our safari with Safari HQ. Our guide Emmanuel, was amazing. Not only was he a skilled Driver over the rugged and extremely challenging terrain, he knew exactly the right spots and angles to enable us to get the most spectacular photos. We saw the big five and much, much more many times over. I can only say it was a totally immersive and life changing experience. I would recommend Safari HQ and Emanuel in particular, to anyone wishing to undertake a Safari in Africa.
JC Melbourne
2026-07-09
Let's Talk
Start Planning
Your Safari

Tell us what you’re dreaming of and one of our East Africa safari specialists will respond within 24 hours with a personalised starting point for your journey — with no obligation.

+255 767 829 590
Speak with a SafariHQ specialist
+61 420 442 509
Also available on WhatsApp or Call
info@safarihq.com
Personalised replies within 24 hours
Safari Enquiry Form

No commitment required · Response within 24 hours 

Your Safari Awaits
Every Great Safari Begins
With a Conversation.

Every SafariHQ journey is built entirely around you — your interests, your pace and your preferred style of accommodation. There are no fixed departures, only carefully crafted experiences.

4.9★
Guest Rating
20+
Years in East Africa
100%
Tailor-Made
TATO
Member
ATTA
MEMBER
(function () { 'use strict'; const MAP_URL = 'https://safarihq.computersprings.com/wp-content/uploads/2026/09/safarihq-east-africa-map-final.svg'; const destinations = { tanzania: '#country-tanzania', kenya: '#country-kenya', uganda: '#country-uganda', rwanda: '#country-rwanda', zanzibar: '#marker-zanzibar', kilimanjaro: '#marker-kilimanjaro' }; /* * Find the map currently rendered * inside the JetMenu mega menu. */ function getMapContainer() { return document.getElementById('safarihq-map'); } /* * Highlight a destination. */ function activateDestination(name) { const container = getMapContainer(); if (!container) { return; } const svg = container.querySelector('svg'); if (!svg) { return; } /* Remove all previous active states */ svg.querySelectorAll('.is-active').forEach(function (element) { element.classList.remove('is-active'); }); const selector = destinations[name]; if (!selector) { return; } const target = svg.querySelector(selector); if (!target) { console.warn( 'SafariHQ destination not found:', selector ); return; } target.classList.add('is-active'); } /* * Detect which destination is being hovered. */ function getDestinationFromElement(element) { if (!element) { return null; } const names = [ 'tanzania', 'kenya', 'uganda', 'rwanda', 'zanzibar', 'kilimanjaro' ]; let current = element; while ( current && current !== document.body ) { if (current.classList) { for (const name of names) { if ( current.classList.contains( 'destination-' + name ) ) { return name; } } } current = current.parentElement; } return null; } /* * Global hover handler. * * This is deliberately attached to * document because JetMenu creates * its mega content dynamically. */ function setupHoverHandler() { if (window.safariHQMapHoverReady) { return; } window.safariHQMapHoverReady = true; document.addEventListener( 'mouseover', function (event) { const name = getDestinationFromElement( event.target ); if (!name) { return; } activateDestination(name); } ); } /* * Load the SVG into the Elementor * HTML widget. */ function loadMap() { const container = getMapContainer(); if (!container) { return; } /* * Don't load the SVG repeatedly. */ if ( container.dataset.safarihqLoaded === 'true' ) { activateDestination('tanzania'); return; } /* * Prevent multiple simultaneous requests. */ if ( container.dataset.safarihqLoading === 'true' ) { return; } container.dataset.safarihqLoading = 'true'; fetch(MAP_URL) .then(function (response) { if (!response.ok) { throw new Error( 'SafariHQ map could not be loaded.' ); } return response.text(); }) .then(function (svgText) { container.innerHTML = svgText; const svg = container.querySelector('svg'); if (!svg) { throw new Error( 'SafariHQ SVG element was not found.' ); } /* * Let our CSS control the dimensions. */ svg.removeAttribute('width'); svg.removeAttribute('height'); container.dataset.safarihqLoaded = 'true'; container.dataset.safarihqLoading = 'false'; /* * Tanzania is the default state. */ activateDestination('tanzania'); }) .catch(function (error) { container.dataset.safarihqLoading = 'false'; console.error( 'SafariHQ Destination Map:', error ); }); } /* * Main initialization. */ function initializeSafariHQMap() { setupHoverHandler(); loadMap(); } /* * Initial page load. */ if ( document.readyState === 'loading' ) { document.addEventListener( 'DOMContentLoaded', initializeSafariHQMap ); } else { initializeSafariHQMap(); } /* * Watch for JetMenu inserting the * mega-menu content dynamically. */ const observer = new MutationObserver(function () { if ( document.getElementById( 'safarihq-map' ) ) { loadMap(); } }); observer.observe( document.body, { childList: true, subtree: true } ); })();