/* -----HERO----- */
.hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	height: calc(100vh - 70px);
	background-color: #425065;
	background-image:
		linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)),
		url('../assets/hero/home-pancas-landscape.jpg');
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	position: relative;
	height: 100%;
	line-height: 24px;
	text-align: left;
	z-index: 2;
}

.hero__content h1 {
	color: #fff;
	font-size: 3em;
	font-weight: 700;
	line-height: 1;
}

.hero__content p {
	color: var(--light-gray);
	font-size: 1rem;
	max-width: 32rem;
	line-height: 1.625;
	margin-top: 1.5rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2rem;
	margin-bottom: 40px;
}

.hero__button {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	max-width: fit-content;
	padding: 0 32px;
	text-decoration: none;
	transition: background-color 0.1s ease;
}

.hero__button--primary {
	background-color: var(--light-green);
}

.hero__button--primary:hover {
	background-color: oklch(50% 0.1 165);
}

.hero__button--secondary {
	background-color: var(--dark-gray);
}

.hero__button--secondary:hover {
	background-color: oklch(30% 0 0);
}

.btn-icon {
	width: 1rem;
	height: 1rem;
}

.hero__scroll-indicator {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100px;
}

@keyframes up-and-down {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(6px);
	}
}

.down-arrow {
	width: 15px;
	height: 15px;
	opacity: 0.5;
	animation: up-and-down 2s ease infinite;
}

/* -----MAIN----- */
main {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	background-color: #f9f9f9;
}

.fast-guide,
.about-pancas,
.experiences {
	scroll-margin-top: 96px;
}

/* -----FAST GUIDE----- */
.fast-guide {
	width: 100%;
	background-color: #f9f9f9;
	padding-top: 80px;
	padding-bottom: 80px;
}

.tiles-grid {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: repeat(4, fit-content);
	gap: 1rem;
	margin-top: 3rem;
}

.guide-tile {
	display: grid;
	grid-template-columns: max-content 1fr max-content;
	gap: 1.25rem;
	align-items: start;
	width: 100%;
	padding: 1.5rem;
	background-color: #fff;
	border: 1px solid #f3f4f6;
	border-radius: 1rem;
	color: inherit;
	font: inherit;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.guide-tile h3 {
	color: var(--black);
	font-size: 18px;
	font-weight: 600;
	transition: color 0.1s ease;
}

.guide-tile p {
	color: #6b7280;
	font-size: 14px;
	line-height: 1.25rem;
}

.tile-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 0.75rem;
	background-color: #4a584415;
}

.tile-icon svg {
	width: 1.25rem;
	height: 1.25rem;
	fill: #4a5844;
}

.tile-content {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.right-arrow {
	width: 1rem;
	height: 1rem;
	fill: #b6b6b6;
	transition:
		transform 0.1s ease,
		fill 0.1s ease;
}

.guide-tile:hover,
.guide-tile:focus-visible {
	box-shadow:
		0 10px 15px -3px rgba(0, 0, 0, 0.1),
		0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.guide-tile:hover .right-arrow,
.guide-tile:focus-visible .right-arrow {
	fill: var(--dark-green);
	transform: translateX(3px);
	transform-origin: 0 0;
}

.guide-tile:hover h3,
.guide-tile:focus-visible h3 {
	color: var(--dark-green);
}

/* -----EVENTOS----- */
.events-section {
	width: 100%;
	min-width: 0;
}

.events-section__calendar-grid {
	display: flex;
	flex-direction: row;
	gap: 16px;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
	padding: 16px;
	box-sizing: border-box;
}

.calendar-grid__event-card {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	flex-shrink: 0;
	height: 320px;
	width: 220px;
	background-color: #059669;
	color: white;
	border-radius: 8px;
	overflow-y: hidden;
}

.calendar-grid__event-card:hover {
	cursor: pointer;
}

.event-card__content-wrapper {
	display: flex;
	flex-direction: column;
	height: max-content;
	width: 100%;
	gap: 3px;
	padding: 30px 16px;
	background-image: linear-gradient(to top, #00000090, #00000090, #00000060, #00000000);
}

.event-card__event-title {
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 5px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	line-height: 1.4;
}

.event-card__event-local,
.event-card__event-date {
	display: flex;
	align-items: center;
	gap: 3px;
	font-size: 0.8rem;
	font-weight: 400;
	width: 100%;
	overflow: hidden;
}

.event-card__local-icon,
.event-card__date-icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	fill: #fff;
}

.event-card__text {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}

/* -----GALLERY----- */
.gallery {
	width: 100%;
	background-color: #f9f9f9;
	padding-top: 40px;
	padding-bottom: 80px;
}

.gallery-grid {
	column-count: 3;
	column-gap: 10px;
	margin-top: 3rem;
}

.gallery-grid img {
	width: 100%;
	border-radius: 5px;
	margin-bottom: 10px;
}

.gallery__btn {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	max-width: fit-content;
	min-height: 2.5rem;
	padding: 0 32px;
	margin: 2.5rem auto 0;
	background-color: var(--dark-green);
	border: 0;
	border-radius: 0;
	cursor: pointer;
	text-decoration: none;
}

.gallery__btn span {
	color: #fff;
	font-weight: 600;
}

.gallery__btn svg {
	fill: #fff;
}

.gallery__btn:hover,
.gallery__btn svg {
	transform: rotate(30px);
}

.hero__button:focus-visible,
.guide-tile:focus-visible,
.experiences__btn:focus-visible {
	outline: 2px solid var(--light-green);
	outline-offset: 3px;
}

/* TABLET SCREEN */
@media screen and (min-width: 768px) {
	.hero {
		height: 100vh;
	}

	.hero__content h1 {
		font-size: var(--title-size-desk);
	}

	.hero__content p {
		font-size: 1.125rem;
		line-height: 1.75rem;
	}

	.tiles-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(2, max-content);
	}

	.about-pancas__grid {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: 1fr;
	}

	.cards-grid {
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: 1fr;
	}

	.calendar-grid__event-card {
		height: 380px;
		width: 260px;
		transition: 0.3s;
	}

	.calendar-grid__event-card:hover {
		transform: scale(102%);
	}

	.event-card__event-title {
		font-size: 1.5rem;
	}

	.event-card__event-local,
	.event-card__event-date {
		font-size: 0.8rem;
	}
}
