/* Project Destination Styles */
.project-destination .img:hover .hover-text {
	display: block !important;
}

.project-destination .text {
	position: relative;
	z-index: 1;
}

.project-destination .hover-text {
	background: rgba(0, 0, 0, 0.7);
	padding: 10px;
	border-radius: 5px;
	margin-top: 5px;
}

/* Story Carousel Styles (Adventure, Guided Tour, Workshop & Class) */
.story-carousel {
	position: relative;
	margin-bottom: 40px;
}

.story-carousel .item {
	padding: 0 10px;
}

.story-carousel .owl-nav {
	display: block !important;
	position: absolute;
	top: 32%;
	left: 0;
	right: 0;
	margin: 0 !important;
	padding: 0;
	transform: translateY(-50%);
	pointer-events: none;
	-webkit-tap-highlight-color: transparent;
}

.story-carousel .owl-nav [class*="owl-"] {
	position: absolute !important;
	margin: 0 !important;
	padding: 0;
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.9) !important;
	color: #037d5d !important;
	border: none;
	border-radius: 50%;
	font-size: 20px;
	cursor: pointer;
	display: flex !important;
	align-items: center;
	justify-content: center;
	transition: background 200ms ease, transform 200ms ease, color 200ms ease;
	pointer-events: auto;
}

.story-carousel .owl-nav [class*="owl-"] span {
	color: inherit;
}

.story-carousel .owl-nav [class*="owl-"]:hover {
	background: #037d5d !important;
	color: #fff !important;
	transform: scale(1.1);
}

.story-carousel .owl-nav .owl-prev {
	left: -18px;
}

.story-carousel .owl-nav .owl-next {
	right: -18px;
	left: auto;
}

.story-carousel .owl-dots {
	text-align: center;
	margin-top: 5px;
	display: block !important;
}

.story-carousel .owl-dots .owl-dot {
	display: inline-block;
	zoom: 1;
	margin: 0 5px;
}

.story-carousel .owl-dots .owl-dot span {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(60, 179, 114, 0.3) !important;
	display: block;
	transition: all 0.3s ease;
	margin: 0;
}

.story-carousel .owl-dots .owl-dot.active span,
.story-carousel .owl-dots .owl-dot:hover span {
	background: #3cb372 !important;
	width: 30px;
	border-radius: 6px;
}

/* Featured Experiences Carousel Styles */
.featured-experiences-carousel {
	margin-bottom: 40px;
}

.featured-experiences-carousel {
	position: relative;
}

/*
 * Owl Carousel 2 uses float:left + .owl-stage-outer { overflow: hidden }.
 * Our cards use .price at top:-8px and a :after tab at left:-8px (style.css) — that gets clipped
 * at the viewport edge, especially on the first/last visible slides. Production often differs
 * from local (font/CDN, container width) so title line-wrap changes card height and looks misaligned.
 */
.featured-experiences-section .featured-experiences-carousel .owl-stage-outer {
	padding-top: 14px;
}

.featured-experiences-section .project-wrap .img .price {
	left: 28px;
}

.featured-experiences-section .project-wrap .text h3 {
	min-height: 4.5em;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.35;
}

.featured-experiences-carousel .item {
	padding: 0 12px;
}

.featured-experiences-carousel .owl-nav {
	display: block !important;
	position: absolute;
	top: 32%;
	left: 0;
	right: 0;
	margin: 0 !important;
	padding: 0;
	transform: translateY(-50%);
	pointer-events: none;
	-webkit-tap-highlight-color: transparent;
}

.featured-experiences-carousel .owl-nav [class*="owl-"] {
	position: absolute !important;
	margin: 0 !important;
	padding: 0;
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.9) !important;
	color: #037d5d !important;
	border: none;
	border-radius: 50%;
	font-size: 20px;
	cursor: pointer;
	display: flex !important;
	align-items: center;
	justify-content: center;
	transition: background 200ms ease, transform 200ms ease, color 200ms ease;
	pointer-events: auto;
}

.featured-experiences-carousel .owl-nav [class*="owl-"] span {
	color: inherit;
}

.featured-experiences-carousel .owl-nav [class*="owl-"]:hover {
	background: #037d5d !important;
	color: #fff !important;
	transform: scale(1.1);
}

.featured-experiences-carousel .owl-nav .owl-prev {
	left: -18px;
}

.featured-experiences-carousel .owl-nav .owl-next {
	right: -18px;
	left: auto;
}

.featured-experiences-carousel .owl-dots {
	text-align: center;
	margin-top: 20px;
	display: block !important;
}

.featured-experiences-carousel .owl-dots .owl-dot {
	display: inline-block;
	zoom: 1;
	margin: 0 5px;
}

.featured-experiences-carousel .owl-dots .owl-dot span {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(60, 179, 114, 0.3) !important;
	display: block;
	transition: all 0.3s ease;
	margin: 0;
}

.featured-experiences-carousel .owl-dots .owl-dot.active span,
.featured-experiences-carousel .owl-dots .owl-dot:hover span {
	background: #3cb372 !important;
	width: 30px;
	border-radius: 6px;
}

/* Blog carousel: limited view with arrows on left and right */
.blog-carousel-wrapper {
	position: relative;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 60px;
}

.blog-carousel {
	position: relative;
	margin-bottom: 20px;
}

.blog-carousel .item {
	padding: 0 10px;
}

.blog-carousel .owl-stage-outer {
	overflow: hidden;
}

.blog-carousel .owl-nav {
	display: block !important;
	position: absolute;
	top: 32%;
	left: 0;
	right: 0;
	margin: 0 !important;
	padding: 0;
	transform: translateY(-50%);
	pointer-events: none;
	-webkit-tap-highlight-color: transparent;
}

.blog-carousel .owl-nav [class*="owl-"] {
	position: absolute !important;
	margin: 0 !important;
	padding: 0;
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.9) !important;
	color: #037d5d !important;
	border: none;
	border-radius: 50%;
	font-size: 20px;
	cursor: pointer;
	display: flex !important;
	align-items: center;
	justify-content: center;
	transition: background 200ms ease, transform 200ms ease, color 200ms ease;
	pointer-events: auto;
}

.blog-carousel .owl-nav [class*="owl-"] span {
	color: inherit;
}

.blog-carousel .owl-nav [class*="owl-"]:hover {
	background: #037d5d !important;
	color: #fff !important;
	transform: scale(1.1);
}

.blog-carousel .owl-nav .owl-prev {
	left: -18px;
}

.blog-carousel .owl-nav .owl-next {
	right: -18px;
	left: auto;
}

.blog-carousel .owl-dots {
	text-align: center;
	margin-top: 20px;
	display: block !important;
}

.blog-carousel .owl-dots .owl-dot {
	display: inline-block;
	zoom: 1;
	margin: 0 5px;
}

.blog-carousel .owl-dots .owl-dot span {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(60, 179, 114, 0.3) !important;
	display: block;
	transition: all 0.3s ease;
}

.blog-carousel .owl-dots .owl-dot.active span,
.blog-carousel .owl-dots .owl-dot:hover span {
	background: #3cb372 !important;
	width: 30px;
	border-radius: 6px;
}

@media (max-width: 767px) {
	.blog-carousel-wrapper {
		padding: 0 44px;
	}
	.blog-carousel .owl-nav [class*="owl-"] {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}
}

/* Mobile adjustments for Featured Experiences */
@media (max-width: 767px) {
	.featured-experiences-carousel .item {
		padding: 0 5px;
	}
	
	.featured-experiences-carousel .owl-nav [class*="owl-"] {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}
	
	.featured-experiences-carousel .owl-nav .owl-prev {
		left: -8px;
	}
	
	.featured-experiences-carousel .owl-nav .owl-next {
		right: -8px;
	}
	
	.featured-experiences-carousel .owl-dots {
		margin-top: 15px;
	}
}

/* Services Section - Consistent Image Sizing */
.story-section .services.img {
	min-height: 450px;
	height: auto;
	background-size: cover;
	background-position: center;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	position: relative;
	padding-bottom: 0;
	overflow: hidden;
}

.story-section .services .icon {
	margin-bottom: 20px !important;
	margin-top: auto;
	position: relative;
	z-index: 2;
	padding-top: 20px;
	margin-left: 20px !important;
	margin-right: 20px;
	width: auto;
}

.story-section .services .media-body {
	background: transparent;
	padding: 30px 20px 20px;
	padding-top: 30px;
	border-radius: 0 0 8px 8px;
	margin-top: 0;
	position: relative;
	z-index: 1;
	width: 100%;
	flex-shrink: 0;
}

.story-section .services .media-body h3 {
	color: #fff;
	margin-bottom: 12px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
}

.story-section .services .media-body p {
	color: #fff;
	margin-bottom: 10px;
	font-size: 15px;
	line-height: 1.6;
}

.story-section .services .media-body p:last-child {
	margin-bottom: 0;
}

/* Tablet Responsive Adjustments */
@media (max-width: 991px) and (min-width: 768px) {
	.story-section .services.img {
		min-height: 420px;
	}
	
	.story-section .services .media-body {
		padding: 22px 18px 18px;
	}
	
	.story-section .services .media-body h3 {
		font-size: 19px;
	}
	
	.story-section .services .media-body p {
		font-size: 14px;
	}
}

/* Mobile Responsive Adjustments */
@media (max-width: 767px) {
	.story-carousel .item {
		padding: 0 5px;
	}
	
	.story-carousel .owl-nav [class*="owl-"] {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}
	
	.story-carousel .owl-nav .owl-prev {
		left: -8px;
	}
	
	.story-carousel .owl-nav .owl-next {
		right: -8px;
	}
	
	.story-section .services.img {
		min-height: 380px;
	}
	
	.story-section .services .icon {
		margin-bottom: 15px !important;
	}
	
	.story-section .services .media-body {
		padding: 20px 15px 15px;
	}
	
	.story-section .services .media-body h3 {
		font-size: 18px;
		margin-bottom: 10px;
	}
	
	.story-section .services .media-body p {
		font-size: 14px;
		line-height: 1.5;
		margin-bottom: 8px;
	}
}

/* Extra Small Mobile */
@media (max-width: 575px) {
	.story-section .services.img {
		min-height: 350px;
	}
	
	.story-section .services .media-body {
		padding: 18px 12px 12px;
	}
	
	.story-section .services .media-body h3 {
		font-size: 17px;
	}
	
	.story-section .services .media-body p {
		font-size: 13px;
	}
}

/* Enhanced primary CTA (hero + Welcome story buttons) */
.story-section .btn-primary,
.hero-wrap .btn-primary {
	background: linear-gradient(135deg, #037d5d 0%, #023f2f 100%);
	border: 2px solid #037d5d;
	border-radius: 50px;
	font-weight: 600;
	font-size: 1.1rem;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	box-shadow: 0 4px 15px rgba(3, 125, 93, 0.3);
	transition: all 0.3s ease;
	padding: 12px 40px !important;
	position: relative;
	overflow: hidden;
}

.story-section .btn-primary span,
.story-section .btn-primary,
.hero-wrap .btn-primary {
	position: relative;
	z-index: 1;
}

.story-section .btn-primary:hover,
.hero-wrap .btn-primary:hover,
.story-section .btn-primary:focus,
.hero-wrap .btn-primary:focus {
	background: linear-gradient(135deg, #049670 0%, #035242 100%);
	border-color: #049670;
	color: #fff;
	box-shadow: 0 6px 20px rgba(3, 125, 93, 0.4);
}

/* Responsive Navigation Arrows */
.carousel-nav-left,
.carousel-nav-right {
	display: none; /* Hidden by default on mobile */
}

/* Show arrows on medium screens and larger */
@media (min-width: 768px) {
	.carousel-nav-left,
	.carousel-nav-right {
		display: block;
	}
}

/* Adjust positioning for different screen sizes */
@media (min-width: 768px) and (max-width: 991px) {
	.carousel-nav-left {
		left: -50px;
	}
	.carousel-nav-right {
		right: -50px;
	}
}

@media (min-width: 992px) {
	.carousel-nav-left {
		left: -60px;
	}
	.carousel-nav-right {
		right: -60px;
	}
}

/* Narrow gap between Book Now/Explore buttons and Why Triphita */
.story-section {
	padding-bottom: 1.5em !important;
}
.ftco-select-destination.ftco-section {
	padding-top: 2em !important;
	padding-bottom: 2em !important;
}
/* Spacing after sustainability slider (next section is usually video) */
.ftco-select-destination.ftco-section + section.ftco-section {
	padding-top: 2em !important;
}
.featured-experiences-section {
	padding-top: 2em !important;
	padding-bottom: 2em !important;
}

/* Same card styling as /activities (activities.blade.php inline styles) */
.featured-experiences-section .activity-badge {
	background: #3cb372;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 4px;
	position: absolute;
	top: 44px;
	left: 18px;
	z-index: 2;
}
.featured-experiences-section .activity-card .project-wrap .text .days {
	color: #3cb372;
}
.featured-experiences-section .activity-price-from {
	font-size: 18px;
	font-weight: 700;
	color: #333;
}
.featured-experiences-section .activity-price-original {
	font-size: 14px;
	color: #999;
	text-decoration: line-through;
	margin-left: 6px;
}
.featured-experiences-section .activity-discount {
	font-size: 12px;
	font-weight: 600;
	color: #3cb372;
}
@media (max-width: 991.98px) {
	.featured-experiences-section .activity-card .project-wrap .text h3 {
		font-size: 1.1rem;
	}
	.featured-experiences-section .activity-price-from {
		font-size: 1rem;
	}
}
@media (max-width: 575.98px) {
	.featured-experiences-section .activity-badge {
		font-size: 10px;
		padding: 3px 8px;
		top: 38px;
		left: 14px;
	}
	.featured-experiences-section .project-wrap .img .price {
		font-size: 14px;
		padding: 6px 10px;
		left: 22px;
	}
}

.featured-experiences-section + .story-section {
	padding-top: 2em !important;
}
/* Narrow gap between Featured Experiences and video section */
.ftco-about.ftco-section {
	padding-top: 2em !important;
}

/* Pure CSS Slider (Radio-based) */
.sustainability-slider {
	position: relative;
	min-height: 400px;
}

.sustainability-slider .slides {
	display: grid;
	grid-template-columns: 100%;
	position: relative;
	min-height: 400px;
}

.sustainability-slider input[type="radio"] {
	display: none;
}

.sustainability-slide {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	opacity: 0;
	transform: scale(0.98);
	transition: opacity 300ms ease, transform 300ms ease;
	width: 100%;
}

.sustainability-slide .img {
	display: block;
	width: 100%;
	height: 400px;
	background-size: cover;
	background-position: center;
	position: relative;
	border-radius: 8px;
}

.sustainability-slide .text {
	position: absolute;
	bottom: 16px;
	left: 16px;
	right: auto;
	background: rgba(0,0,0,0.6);
	padding: 10px 14px;
	border-radius: 6px;
}

.sustainability-slide .text h3 {
	color: #fff;
	margin: 0;
	font-size: 1.1rem;
	text-align: left;
}

/* Default show first slide */
#sustainability-1:checked ~ .slides .slide-1,
#sustainability-2:checked ~ .slides .slide-2,
#sustainability-3:checked ~ .slides .slide-3,
#sustainability-4:checked ~ .slides .slide-4,
#sustainability-5:checked ~ .slides .slide-5 {
	opacity: 1;
	transform: scale(1);
	position: relative;
}

/* Arrow Navigation */
.sustainability-arrows label {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 200ms ease, transform 200ms ease;
	font-size: 20px;
	color: #037d5d;
	margin: 0;
}

.sustainability-arrows label:hover {
	background: #037d5d;
	color: #fff;
	transform: translateY(-50%) scale(1.1);
}

.sustainability-arrow-left label {
	left: 20px;
}

.sustainability-arrow-right label {
	right: 20px;
}

/* Hide all arrow labels by default */
.sustainability-arrows label {
	display: none;
}

/* Show appropriate left arrow based on current slide (infinite loop) */
#sustainability-1:checked ~ .sustainability-arrow-left .arrow-left-1,
#sustainability-2:checked ~ .sustainability-arrow-left .arrow-left-2,
#sustainability-3:checked ~ .sustainability-arrow-left .arrow-left-3,
#sustainability-4:checked ~ .sustainability-arrow-left .arrow-left-4,
#sustainability-5:checked ~ .sustainability-arrow-left .arrow-left-5 {
	display: flex;
}

/* Show appropriate right arrow based on current slide (infinite loop) */
#sustainability-1:checked ~ .sustainability-arrow-right .arrow-right-1,
#sustainability-2:checked ~ .sustainability-arrow-right .arrow-right-2,
#sustainability-3:checked ~ .sustainability-arrow-right .arrow-right-3,
#sustainability-4:checked ~ .sustainability-arrow-right .arrow-right-4,
#sustainability-5:checked ~ .sustainability-arrow-right .arrow-right-5 {
	display: flex;
}

/* Dots */
.sustainability-dots {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 16px;
	position: relative;
	z-index: 5;
}

.sustainability-dots label {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #d0d0d0;
	cursor: pointer;
	transition: background 200ms ease, transform 200ms ease;
}

#sustainability-1:checked ~ .sustainability-dots label[for="sustainability-1"],
#sustainability-2:checked ~ .sustainability-dots label[for="sustainability-2"],
#sustainability-3:checked ~ .sustainability-dots label[for="sustainability-3"],
#sustainability-4:checked ~ .sustainability-dots label[for="sustainability-4"],
#sustainability-5:checked ~ .sustainability-dots label[for="sustainability-5"] {
	background: #037d5d;
	transform: scale(1.1);
}

/* Mobile Adjustments to Prevent Arrow and Text Overlap */
@media (max-width: 767px) {
	.sustainability-arrow-left label {
		left: 10px;
		width: 40px;
		height: 40px;
		font-size: 16px;
	}
	.sustainability-arrow-right label {
		right: 10px;
		width: 40px;
		height: 40px;
		font-size: 16px;
	}
	.sustainability-slide .text {
		bottom: 10px;
		left: 10px;
		right: 60px; /* Leave space for right arrow */
		padding: 8px 12px;
		max-width: calc(100% - 70px); /* Prevent text from going under arrow */
	}
	.sustainability-slide .text h3 {
		font-size: 1rem;
	}
	.sustainability-slide .text p {
		font-size: 0.85rem;
	}
}

