var debug = 0; // Debug mode

$(function () {
	'use strict';

	var swiper = new Swiper('.swiper-lands', {
		slidesPerView: 3,
		spaceBetween: 10,
		cssMode: false,
		autoplay: true,
		loop: true,
		speed: 500,
		centeredSlides: false,
		navigation: {
			nextEl: '.swiper-lands-next',
			prevEl: '.swiper-lands-prev',
		},

		breakpoints: {
			 "@0.00": {
				 slidesPerView: 1,
				 spaceBetween: 10,
				 pagination: false,
				 speed: 1000,
				 autoplay: {
					 delay: 4500,
					 disableOnInteraction: true,
				 },
			 },

			 "@0.50": {
				 slidesPerView: 1,
				 spaceBetween: 20,
			 },

			 "@0.75": {
				 slidesPerView: 1,
				 spaceBetween: 20,
			 },
			 "@1.00": {
				 slidesPerView: 3,
				 spaceBetween: 40,
			 },
			 "@1.50": {
				 slidesPerView: 3,
				 spaceBetween: 15,
			 },
	 	},
	});

	var swiper = new Swiper('.about-park', {
		slidesPerView: 1,
		spaceBetween: 0,
		autoplay: false,
		loop: true,
		centeredSlides: false,
		pagination: {
				 el: ".swiper-pagination",
				 type: "fraction",
			 },
		navigation: {
			nextEl: '.swiper-button-next',
			prevEl: '.swiper-button-prev',
		},

	});

	var swiper = new Swiper('.slider-categories', {
		slidesPerView: 3,
		spaceBetween: 0,
		autoplay: false,
		loop: true,
		centeredSlides: false,
		pagination: {
				 el: ".swiper-pagination",
				 type: "fraction",
			 },
		navigation: {
			nextEl: '.swiper-button-next',
			prevEl: '.swiper-button-prev',
		},

	});

});
