﻿/***********************
* Slider
***********************/
.main-slider-two {
	position: relative;
	min-height: 100vh;
	height: auto;
	z-index: 1;
	margin-bottom: 0;
}

.main-slider-two .item {
	min-height: 100vh;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center center;
	background-color: var(--thm-dark-black);
	position: relative;
}

.main-slider-two .owl-nav {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	max-width: none;
	padding: 0 60px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	transform: translate(-50%, -50%);
	z-index: 10;
}

.main-slider-two .owl-nav button.owl-prev,
.main-slider-two .owl-nav button.owl-next {
	height: 50px;
	width: 50px;
	background-color: var(--thm-white);
	line-height: 50px;
	border-radius: 50%;
	opacity: 0.35;
	color: var(--thm-black);
	transition: all 0.5s ease;
}

.main-slider-two .owl-nav button:hover {
	opacity: 1;
}

/* Slider content */
.slider-content-two {
	padding-top: 100px;
	padding-bottom: 100px;
	position: relative;
	z-index: 5;
}

@media(max-width: 1199px) {
	.slider-content-two {
		padding: 80px 0;
	}
}

/* Tagline */
.slider-tagline-two {
	font-size: 14px;
	color: var(--thm-white);
	background-color: rgba(255,255,255,0.1);
	display: inline-block;
	text-transform: uppercase;
	padding: 10px 30px;
	transform: translateY(-50px);
	opacity: 0;
	transition: all 1.5s ease;
}

.main-slider-two .owl-item.active .slider-tagline-two {
	transform: translateY(0);
	opacity: 1;
}

/* Section title */
.slider-content-two .section-title {
	font-size: 80px;
	color: var(--thm-white);
	font-family: var(--thm-font);
	font-weight: 800;
	margin-bottom: 30px;
	transform: translateY(50px);
	opacity: 0;
	transition: all 1.5s ease;
}

@media(max-width: 1199px) { .slider-content-two .section-title { font-size: 70px; } }
@media(max-width: 991px)  { .slider-content-two .section-title { font-size: 60px; } }
@media(max-width: 767px)  { .slider-content-two .section-title { font-size: 40px; } }
@media(max-width: 575px)  { .slider-content-two .section-title { font-size: 30px; } }

.main-slider-two .owl-item.active .section-title {
	transform: translateY(0);
	opacity: 1;
}

/* Button animation */
.slider-content-two .btn-primary {
	transform: translateY(50px);
	opacity: 0;
	transition: all 1.5s ease;
}

.main-slider-two .owl-item.active .slider-content-two .btn-primary {
	transform: translateY(0);
	opacity: 1;
}

/* Background overlay */
.main-slider-two .owl-item .item .item-slider-bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	transform: scale(1);
	z-index: 1;
	width: 100%;
}

.main-slider-two .owl-item .item .item-slider-bg:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(var(--thm-black-rgb), 0.5);
}

.main-slider-two .owl-item.active .item .item-slider-bg {
	transform: scale(1.15);
	background-position: left center;
	transition: transform 7s ease, opacity 1.5s ease-in;
}

.main-slider-two .owl-item .item .container {
	position: relative;
	z-index: 3;
}

/* Mobile adjustments - Show more of image */
@media (max-width: 767px) {
	.main-slider-two {
		min-height: 50vh; /* Reduced height */
	}

	.main-slider-two .item {
		min-height: 50vh;
	}

	.slider-content-two {
		padding: 30px 0 !important;
	}

	.slider-content-two .section-title {
		font-size: 40px !important;
		margin-bottom: 20px;
	}

	.slider-tagline-two {
		font-size: 12px;
		padding: 8px 20px;
	}

	.main-slider-two .owl-nav {
		padding: 0 15px;
	}

	.main-slider-two .owl-nav button.owl-prev,
	.main-slider-two .owl-nav button.owl-next {
		height: 35px;
		width: 35px;
		line-height: 35px;
		font-size: 12px;
	}
	
	/* Key change: Disable zoom effect and adjust positioning */
	.main-slider-two .owl-item.active .item .item-slider-bg {
		transform: scale(1) !important; /* No zoom on mobile */
		background-position: center center !important;
	}
	
	.main-slider-two .item .item-slider-bg {
		background-size: cover;
		object-fit: cover;
	}
}

/* Small mobile adjustments */
@media (max-width: 575px) {
	.main-slider-two {
		min-height: 40vh; /* Even shorter */
	}

	.main-slider-two .item {
		min-height: 40vh;
	}

	.slider-content-two {
		padding: 20px 0 !important;
	}

	.slider-content-two .section-title {
		font-size: 28px !important;
		margin-bottom: 15px;
		line-height: 1.2;
	}

	.slider-tagline-two {
		font-size: 11px;
		padding: 6px 15px;
		margin-bottom: 10px;
	}

	.slider-content-two .btn-primary {
		padding: 10px 20px;
		font-size: 14px;
	}

	/* Hide slider navigation arrows on very small screens */
	.main-slider-two .owl-nav {
		display: none;
	}
}

/* Extra small devices */
@media (max-width: 375px) {
	.main-slider-two {
		min-height: 35vh; /* Really short for tiny phones */
	}
	
	.main-slider-two .item {
		min-height: 35vh;
	}
	
	.slider-content-two .section-title {
		font-size: 24px !important;
	}
}
/***********************