/**
 * Hero Slider Styles
 * Full-screen slider con navegación y paginación
 */

/* ===================================
   Sección del Hero Slider
   =================================== */

.hero-slider-section {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}

/* ===================================
   Contenedor Swiper
   =================================== */

.hero-slider {
	width: 100%;
	height: 100%;
}

/* ===================================
   Slides Individuales
   =================================== */

.hero-slide {
	position: relative;
	width: 100%;
	height: 100%;
}

/* Background de la imagen */
.hero-slide__background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.hero-slide__image,
.hero-slide__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

/* Overlay oscuro opcional */
.hero-slide__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	z-index: 1;
}

/* ===================================
   Contenido del Slide
   =================================== */

.hero-slide__content {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1200px;
	height: 100%;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	overflow: hidden;
}

.hero-slide__inner {
	width: 100%;
	max-width: 960px;
	color: var(--idea-white);
	box-sizing: border-box;
	overflow: hidden;
}

.hero-slide__title {
	width: 100%;
	max-width: 100%;
	font-family: var(--idea-font-headings);
	font-size: 3rem; /* Tamaño de H1 en escritorio */
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
	padding: 0;
	color: var(--idea-beige-color);
	animation: fadeInUp 0.8s ease-out;
	transition: opacity 0.5s ease-in-out;
	box-sizing: border-box;
	word-wrap: break-word;
	overflow-wrap: anywhere;
	word-break: break-word;
	hyphens: auto;
	white-space: normal;
	min-width: 0;
}

/* ===================================
   Paginación (Dots)
   =================================== */

.hero-slider__pagination {
	position: absolute !important;
	bottom: 40px !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	z-index: 10 !important;
	display: flex !important;
	gap: 6px !important;
	align-items: center !important;
	width: auto !important;
}

.hero-slider__pagination .swiper-pagination-bullet {
	width: 14px !important;
	height: 14px !important;
	background: transparent !important;
	border: 2px solid var(--idea-beige-color) !important;
	opacity: 1 !important;
	transition: all 0.3s ease !important;
	cursor: pointer !important;
	border-radius: 50% !important;
	margin: 0 !important;
}

.hero-slider__pagination .swiper-pagination-bullet:hover {
	background: rgba(235, 231, 221, 0.5) !important;
	transform: scale(1.15);
}

.hero-slider__pagination .swiper-pagination-bullet-active {
	background: var(--idea-beige-color) !important;
	border: 2px solid var(--idea-beige-color) !important;
}

/* ===================================
   Animaciones
   =================================== */

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ===================================
   Responsive
   =================================== */

.hero-slide__title--oculta {
    opacity: 0;
}

/* ===================================
   Responsive
   =================================== */

/* Tablets y móviles grandes */
@media (max-width: 992px) {
	.hero-slide__inner {
		width: 100%;
		max-width: 100%;
	}

	.hero-slide__title {
		width: 100%;
		max-width: 100%;
		font-size: 2.5rem;
	}

	.hero-slider__arrow {
		width: 40px;
		height: 40px;
	}

	.hero-slider__arrow--prev {
		left: 20px;
	}

	.hero-slider__arrow--next {
		right: 20px;
	}

	.hero-slider__pagination {
		bottom: 30px !important;
	}
}

/* Tablets pequeñas */
@media (max-width: 768px) {
	.hero-slide__content {
		padding: 0 30px;
	}

	.hero-slide__inner {
		width: 100%;
		max-width: 100%;
	}

	.hero-slide__title {
		width: 100%;
		max-width: 100%;
		font-size: 2.2rem;
		text-wrap: balance;
	}
}

/* Móviles */
@media (max-width: 576px) {
	.hero-slide__content {
		padding: 0 20px;
	}

	.hero-slide__inner {
		width: 100%;
		max-width: 100%;
	}

	.hero-slide__title {
		width: 100%;
		max-width: 100%;
		font-size: 2rem;
		text-wrap: balance;
	}

	.hero-slider__arrow {
		width: 35px;
		height: 35px;
	}

	.hero-slider__arrow svg {
		width: 18px;
		height: 18px;
	}

	.hero-slider__arrow--prev {
		left: 10px;
	}

	.hero-slider__arrow--next {
		right: 10px;
	}

	.hero-slider__pagination {
		bottom: 20px !important;
	}

	.hero-slider__pagination .swiper-pagination-bullet {
		width: 10px !important;
		height: 10px !important;
	}

	.hero-slider__pagination .swiper-pagination-bullet-active {
		width: 24px !important;
	}
}

