/* Hero section styles */
.hero.alignfull {
	width: 100%;
	max-width: none;
	margin: 0;
}

.hero.alignwide {
	max-width: 1200px;
	/* O el valor que prefieras */
	margin-left: auto;
	margin-right: auto;
}

.hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 95%;
	background-image: url("https://www.guachipelin.com/wp-content/uploads/sites/2085/2020/02/LAF_9727.jpg?auto=compress,format&fit=max&w=1707&h=846");
	background-size: cover;
	background-position: center;
	border-radius: 20px;
	overflow: hidden;
	height: calc(100vh - 100px);
	margin: 20px auto;
	box-shadow: 0 8px 20px var(--shadow-color);
	position: relative;

	@media (max-width: 768px) {
		height: auto;
		/* Dejar que la altura sea automática para evitar el recorte */
		padding-bottom: 20px;
		/* Añadir un poco de espacio extra abajo */
	}
}

.hero__overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.6);
	/* Ajuste de opacidad para mejorar contraste */
	z-index: 0;
}

.hero__scroll-container {
	height: 100%;
	overflow-y: auto;
	position: relative;
	scrollbar-width: thin;
	scrollbar-color: var(--primary-color) transparent;
}

.hero__scroll-container::-webkit-scrollbar {
	width: 8px;
}

.hero__scroll-container::-webkit-scrollbar-thumb {
	background-color: var(--primary-color);
	border-radius: 4px;
}

.hero__container {
	max-width: 1540px;
	margin: 0 auto;
	padding: 20px;
	color: white;
	position: relative;
	z-index: 1;
}

.hero__content {
	display: grid;
	grid-template-columns: 1fr 350px;
	/* Añadir una columna para el formulario */
	gap: 60px;
	padding-top: 60px;

	@media (max-width: 768px) {
		grid-template-columns: 1fr;
		/* Cambiar a una columna en pantallas pequeñas */
		grid-template-rows: auto auto;
		/* Primero el formulario, luego los pasos */
		gap: 20px;
		padding: 20px;
	}
}

.hero__right-column {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	@media (max-width: 768px) {
		width: 100%;
		/* Asegura que tenga un pequeño espacio en los lados */
	}
}

.booking-card {
	background-color: rgba(255, 255, 255, 0.95);
	border-radius: 24px;
	padding: 20px;
	color: var(--text-color);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
	backdrop-filter: blur(8px);
	display: flex;
	flex-direction: column;
	width: 100%;
}

.booking-card__title {
	font-family: "Lora", serif;
	font-size: 22px;
	margin-bottom: 15px;
	color: var(--primary-color);
	font-weight: 500;
}

.hero__left-column {
	display: grid;
	grid-template-rows: auto auto 1fr;
}

.location-tag {
	background-color: rgba(255, 255, 255, 0.9);
	padding: 12px 16px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	color: var(--text-color);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	width: fit-content;
}

.location-tag:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.location-tag__icon {
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 12px;
}

.location-tag__text {
	display: flex;
	flex-direction: column;
}

.location-tag__primary {
	font-weight: 600;
	font-size: 16px;
	color: #1a1a1a;
}

.location-tag__secondary {
	font-size: 14px;
	color: #666;
}

.hero__title {
	font-family: "Montserrat", sans-serif;
	font-size: 48px;
	line-height: 1.2;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	font-weight: 700;
}

.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	background-color: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border-radius: 15px;
	padding: 30px;
	align-self: end;

	@media (max-width: 768px) {
		grid-template-columns: 1fr;
		/* Mostrar los pasos uno debajo del otro en móviles */
		gap: 20px;
		padding: 20px;
		/* Reducir el padding en móviles */
	}
}


.step {
	text-align: center;
	margin-bottom: 20px; /* Espacio extra entre los pasos en móviles */

    @media (max-width: 768px) {
        margin-bottom: 10px;
    }
}

.step__icon {
	background-color: var(--primary-color);
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto 20px;
}

.step__icon svg {
	width: 30px;
	height: 30px;
	fill: white;
}

.step__title {
	font-family: "Montserrat", sans-serif;
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 8px;
}

.step__description {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
}

.booking-card {
	background-color: rgba(255, 255, 255, 0.95);
	border-radius: 24px;
	padding: 20px;
	color: var(--text-color);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
	backdrop-filter: blur(8px);
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 350px;

	@media (max-width: 768px) {
		padding: 15px;
		max-width: none;
	}
}

.booking-card__title {
	font-family: "Lora", serif;
	font-size: 22px;
	margin-bottom: 15px;
	color: var(--wp--preset--color--text, #000);
	font-weight: 500;
}

.booking-card__status {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	background-color: rgba(88, 129, 87, 0.1);
	border-radius: 12px;
	margin-bottom: 20px;
	color: var(--wp--preset--color--text, #000);
	font-size: 14px;
}

.booking-card__status-icon {
	width: 20px;
	height: 20px;
	background-color: var(--wp--preset--color--primary);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
}

.booking-card__form {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.form-group {
	margin-bottom: 12px;
	flex-grow: 0;
	display: flex;
	flex-direction: column;

	@media (max-width: 768px) {
		margin-bottom: 10px;
	}
}

.form-group__input {
	flex-grow: 0;
	width: 94%;
	padding: 10px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	font-size: 14px;
	transition: all 0.3s ease;
	font-family: "Montserrat", sans-serif;
	background-color: rgba(255, 255, 255, 0.8);

	@media (max-width: 768px) {
		padding: 8px;
		font-size: 12px;
	}
}

.form-group__input:focus {
	border-color: var(--primary-color);
	outline: none;
	box-shadow: 0 0 0 2px rgba(58, 90, 64, 0.1);
	background-color: white;
}

.form-group__input[type="date"] {
	color: #666;
}

.booking-card__info-text {
	font-size: 12px;
	color: #666;
	margin-bottom: 8px;
	text-align: justify;
	line-height: 1.4;
}

.button--search {
	background-color: var(--wp--preset--color--primary);
	color: white;
	padding: 12px;
	border: none;
	border-radius: 12px;
	width: 100%;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.5px;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 12px;
}

.button--search:hover {
	background-color: var(--accent-color);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(58, 90, 64, 0.2);
}