/**
 * Hero Carousel Styles
 * Professional and responsive carousel styling
 */

/* ========================================
   HERO SECTION CONTAINER
   ======================================== */
.hero-section {
	position: relative;
	/* Make the hero full-bleed across the viewport even when inside a constrained container */
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	min-height: 600px;
	overflow: hidden;
	background: #1a1a1a;
}

/* ========================================
   CAROUSEL BACKGROUND & TRACK
   ======================================== */
.hero-carousel-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 5;
}

.hero-carousel {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.hero-track {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
}

.hero-slide {
	display: none;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	vertical-align: middle;
	max-width: none;
	max-height: none;
	min-width: 100%;
	min-height: 100%;
}

.hero-slide.hero-active {
	display: block;
	animation: heroFade 1s ease-in-out;
}

@keyframes heroFade {
	from {
		opacity: 0.4;
	}
	to {
		opacity: 1;
	}
}

/* ======================================== 
   CONTENT ANIMATIONS
   ======================================== */

/* Smooth entry animations for content */
.hero-subtitle {
	animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title {
	animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-description {
	animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-buttons {
	animation: fadeInUp 0.8s ease-out 0.8s both;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ========================================
   NAVIGATION BUTTONS
   ======================================== */
.hero-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.6);
	color: #ffffff !important;
	font-size: 28px;
	padding: 12px 16px;
	cursor: pointer;
	border: none;
	border-radius: 6px;
	z-index: 20;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	min-height: 48px;
	font-family: inherit;
	user-select: none;
	pointer-events: auto !important;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

.hero-nav:hover {
	background: rgba(0, 0, 0, 0.9);
	transform: translateY(-50%) scale(1.1);
}

.hero-nav:active {
	transform: translateY(-50%) scale(0.95);
}

.hero-prev {
	left: 20px;
}

.hero-next {
	right: 20px;
}

/* Focus state for accessibility */
.hero-nav:focus {
	outline: 2px solid #25d366;
	outline-offset: 2px;
}

.hero-nav span {
	color: #ffffff !important;
	display: inherit;
}

/* ========================================
   CONTENT OVERLAY
   ======================================== */
.hero-content {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 15;
	text-align: center;
	color: #ffffff;
	padding: 100px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
	pointer-events: none;
	min-height: 100%;
	width: 100%;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
.hero-subtitle {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 2px;
	opacity: 0.9;
	margin: 0;
	font-weight: 600;
	color: #ffffff !important;
}

.hero-title {
	font-size: 48px;
	font-weight: 700;
	margin: 10px 0;
	line-height: 1.3;
	max-width: 900px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	color: #ffffff !important;
}

.hero-description {
	font-size: 18px;
	font-weight: 400;
	opacity: 0.9;
	max-width: 700px;
	margin: 10px auto 0;
	line-height: 1.6;
	color: #ffffff !important;
}

/* ========================================
   ACTION BUTTONS
   ======================================== */
.hero-buttons {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 30px;
	justify-content: center;
	width: 100%;
	pointer-events: auto;
}

.hero-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 28px;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	color: #ffffff !important;
	font-size: 16px;
	border: none;
	cursor: pointer;
	font-family: inherit;
	min-height: 48px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	pointer-events: auto;
	-webkit-tap-highlight-color: transparent;
}

.hero-btn-whatsapp {
	background: #25d366;
}

.hero-btn-whatsapp:hover {
	background: #1ebe57;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.hero-btn-whatsapp:active {
	transform: translateY(0);
}

.hero-btn-gallery {
	background: #080341;
}

.hero-btn-gallery:hover {
	background: #1a0d6f;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(8, 3, 65, 0.3);
}

.hero-btn-gallery:active {
	transform: translateY(0);
}

.hero-btn-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
}

.hero-btn-icon svg {
	width: 100%;
	height: 100%;
	fill: #ffffff !important;
	color: #ffffff !important;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
	.hero-section {
		min-height: 450px;
	}

	.hero-title {
		font-size: 40px;
	}

	.hero-description {
		font-size: 16px;
	}

	.hero-nav {
		padding: 10px 14px;
		font-size: 24px;
	}

	.hero-prev {
		left: 15px;
	}

	.hero-next {
		right: 15px;
	}
}

@media (max-width: 768px) {
	.hero-section {
		min-height: 400px;
	}

	.hero-content {
		padding: 50px 15px;
		gap: 15px;
	}

	.hero-title {
		font-size: 32px;
		line-height: 1.25;
	}

	.hero-subtitle {
		font-size: 12px;
		letter-spacing: 1.5px;
	}

	.hero-description {
		font-size: 15px;
		max-width: 100%;
	}

	.hero-buttons {
		flex-direction: row;
		gap: 10px;
		width: 100%;
		max-width: 100%;
		padding: 0 5px;
		margin-top: 15px;
	}

	.hero-btn {
		flex: 1;
		min-width: 100px;
		padding: 11px 14px;
		font-size: 13px;
		min-height: 44px;
	}

	.hero-nav {
		padding: 10px 12px;
		font-size: 20px;
		min-width: 44px;
		min-height: 44px;
		opacity: 0.8;
	}

	.hero-nav:hover {
		opacity: 1;
	}

	.hero-prev {
		left: 10px;
	}

	.hero-next {
		right: 10px;
	}
}

@media (max-width: 480px) {
	.hero-section {
		min-height: 320px;
	}

	.hero-content {
		padding: 35px 12px;
		gap: 10px;
	}

	.hero-title {
		font-size: 22px;
		line-height: 1.2;
		margin: 5px 0;
	}

	.hero-subtitle {
		font-size: 10px;
		letter-spacing: 1px;
	}

	.hero-description {
		font-size: 13px;
		line-height: 1.4;
	}

	.hero-buttons {
		flex-direction: row;
		gap: 8px;
		width: 100%;
		max-width: 100%;
		padding: 0 5px;
		margin-top: 12px;
	}

	.hero-btn {
		flex: 1;
		min-width: 80px;
		padding: 10px 12px;
		font-size: 12px;
		gap: 5px;
		min-height: 42px;
		border-radius: 5px;
	}

	.hero-btn-icon {
		width: 16px;
		height: 16px;
	}

	.hero-nav {
		padding: 8px 10px;
		font-size: 18px;
		min-width: 40px;
		min-height: 40px;
		opacity: 0.7;
	}

	.hero-nav:hover {
		opacity: 1;
	}

	.hero-prev {
		left: 8px;
	}

	.hero-next {
		right: 8px;
	}
}

/* ========================================
   REDUCED MOTION / ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
	.hero-track,
	.hero-nav,
	.hero-btn {
		transition: none;
	}

	.hero-nav:hover {
		transform: translateY(-50%);
	}

	.hero-btn:hover {
		transform: none;
	}
}

/* ========================================
   EXTRA SMALL DEVICES (320px and below)
   ======================================== */
@media (max-width: 360px) {
	.hero-section {
		min-height: 300px;
	}

	.hero-content {
		padding: 30px 10px;
		gap: 8px;
	}

	.hero-title {
		font-size: 20px;
		line-height: 1.15;
	}

	.hero-subtitle {
		font-size: 9px;
		letter-spacing: 0.5px;
	}

	.hero-description {
		font-size: 12px;
		line-height: 1.3;
	}

	.hero-buttons {
		flex-direction: row;
		gap: 8px;
		margin-top: 12px;
	}

	.hero-btn {
		flex: 1;
		min-width: 70px;
		padding: 9px 10px;
		font-size: 11px;
		gap: 4px;
		min-height: 40px;
	}

	.hero-btn-icon {
		width: 13px;
		height: 13px;
	}

	.hero-nav {
		padding: 7px 9px;
		font-size: 16px;
		min-width: 38px;
		min-height: 38px;
	}
}

/* ========================================
   TOUCH DEVICE IMPROVEMENTS
   ======================================== */
@media (hover: none) and (pointer: coarse) {
	/* Remove hover effects on touch devices */
	.hero-nav:hover {
		background: rgba(0, 0, 0, 0.6);
		transform: translateY(-50%);
	}

	.hero-btn:hover {
		transform: none;
	}

	/* Increase touch target sizes */
	.hero-nav {
		min-width: 48px;
		min-height: 48px;
		padding: 12px 14px;
	}

	.hero-btn {
		min-height: 48px;
		padding: 14px 20px;
	}
}
