/* =========================================================
   FONT
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
	--page-bg: #e5e9f2;
	--card-bg: #f8fafc;
	--accent: #134ecd;
	--accent-soft: #eff4ff;
	--accent-warm: #e5e9f2;
	--text-main: #0f172a;
	--text-muted: #6b7280;
	--border-subtle: #e5e7eb;
	--radius-lg: 26px;
	--radius-md: 30px;
	--shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
	--shadow-card: 0 18px 40px rgba(15, 23, 42, 0.06);
}

/* =========================================================
   GLOBAL BASE STYLES
   ========================================================= */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: "Poppins", sans-serif, "Segoe UI", sans-serif;
	background: #ffffff;
	color: var(--text-main);
	line-height: 1.6;
	padding: 30px 0 40px;
	min-height: 100vh;
	position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 10px;
	font-weight: 700;
	color: var(--text-main);
	text-transform: uppercase;
}

h2 {
	font-size: clamp(2rem, 3vw + 1rem, 2.6rem);
}

p {
	margin: 0 0 1.3em;
	color: var(--text-muted);
	font-size: 0.98rem;
}

a {
	color: var(--accent);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
	color: var(--accent-warm);
}

a:focus {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

ul {
	padding-left: 1.1rem;
}

li {
	margin-bottom: 0.5em;
}

img {
	max-width: 100%;
	display: block;
}

/* =========================================================
   PAGE INTRO
   ========================================================= */
.page-intro {
	text-align: center;
	margin-bottom: 20px;
	margin-top: 20px;
}

.page-intro p {
	max-width: 45rem;
	margin-inline: auto;
}

/* =========================================================
   GLOBAL LAYOUT CONTAINERS
   ========================================================= */
.site-header,
main,
.site-footer {
	max-width: 90%;
	margin-inline: auto;
	padding-inline: min(40px, 5vw);
}

main {
	padding-bottom: 32px;
}

main.main-full-width {
	max-width: 100%;
	margin-inline: 0;
	padding-inline: 0;
}

.container {
	width: 100%;
	margin: 0 auto;
	text-align: center;
	place-items: center;
	display: grid;
	justify-items: center;
}

/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */
.site-header {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-bottom: 40px;
	position: relative;
	z-index: 100;
}

.header-left {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
	margin-right: auto;
	text-decoration: none;
}

.header-left .logo {
	font-size: 1.45rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-main);
	margin: 0;
}

.header-left .tagline {
	margin-top: 2px;
	font-size: 0.82rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 0px;
}

.nav-menu {
	text-align: left;
}

.nav-toggler {
	display: none;
}

.nav-toggler-label {
	display: block;
	width: 30px;
	height: 22px;
	cursor: pointer;
	position: relative;
	z-index: 1001;
	order: 1;
}

.nav-toggler-label span {
	display: block;
	height: 3px;
	width: 100%;
	background: var(--text-main);
	border-radius: 999px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggler-label span + span {
	margin-top: 5px;
}

.main-nav {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background: var(--card-bg);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-soft);
	padding: 24px;
	margin-top: 10px;
	z-index: 1000;
}

.nav-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: flex-start;
}

.nav-menu li {
	margin: 0;
	width: 100%;
}

.nav-menu a {
	display: block;
	padding: 8px 0;
	font-size: 0.94rem;
	font-weight: 500;
	color: var(--text-muted);
	position: relative;
	padding-bottom: 6px;
}

.nav-menu a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	border-radius: 999px;
	background: var(--accent);
	transition: width 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
	color: var(--text-main);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
	width: 100%;
}

.nav-toggler:checked ~ .main-nav {
	display: block;
}

.nav-toggler:checked ~ .nav-toggler-label span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.nav-toggler:checked ~ .nav-toggler-label span:nth-child(2) {
	opacity: 0;
}

.nav-toggler:checked ~ .nav-toggler-label span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* =========================================================
   CARD STYLES
   ========================================================= */
.card-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
	margin-bottom: 30px;
	text-align: left;
}

.card {
	background: var(--card-bg);
	border-radius: var(--radius-md);
	overflow: hidden;
	border: 1px solid var(--border-subtle);
	box-shadow: var(--shadow-card);
	display: flex;
	flex-direction: column;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 50px rgba(15, 23, 42, 0.13);
}

.card img {
	width: 100%;
	height: 210px;
	object-fit: cover;
}

.card-content {
	padding: 16px 18px 18px;
}

.card-content h3 {
	margin-bottom: 6px;
}

.card-content p {
	font-size: 0.94rem;
}

.card-grid a.card {
	text-decoration: none;
}

.card-grid a.card h3,
.card-grid a.card p {
	color: var(--text-muted);
}

.card-grid a.card h3 {
	color: var(--text-main);
}

.card-grid a.card:hover h3 {
	color: var(--accent);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
	padding-top: 10px;
	padding-bottom: 24px;
	border-top: 1.5px solid var(--accent);
}

.footer-container {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: space-between;
	padding-top: 14px;
	padding-bottom: 12px;
	text-align: left;
}

.footer-column {
	min-width: 190px;
	flex: 1;
}

.footer-column h3 {
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.13em;
	color: var(--text-main);
	margin-bottom: 8px;
}

.footer-column ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-column a {
	font-size: 0.88rem;
	color: var(--text-muted);
}

.footer-column a:hover {
	color: var(--accent);
}

.footer-bottom-bar {
	padding-top: 8px;
	border-top: 1px dashed var(--border-subtle);
	text-align: center;
}

.footer-bottom-bar p {
	margin: 0;
	font-size: 0.8rem;
	color: var(--text-muted);
}

/* =========================================================
   SECTION INTRO
   ========================================================= */
.section-intro {
	width: 100%;
	margin: 40px auto 60px;
	text-align: center;
	place-items: center;
}

.section-intro h2 {
	margin-bottom: 10px;
	color: var(--text-main);
	font-weight: 700;
}

.section-intro p {
	font-size: 1.05rem;
	color: var(--text-muted);
	width: 70vw;
	margin-inline: auto;
}

/* =========================================================
   ATTRACTIONS
   ========================================================= */
.attraction-title-it {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--text-main);
	text-transform: uppercase;
	margin: 0;
}

.attraction-title-en {
	display: block;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--accent);
	text-transform: uppercase;
	margin-top: 4px;
	margin-bottom: 12px;
}

.attraction-content h3 {
	margin-top: 0;
}

.attraction-item {
	display: grid;
	grid-template-columns: 1fr;
	width: 100%;
	background: var(--card-bg);
	margin-bottom: 2rem;
	overflow: hidden;
}

.attraction-image {
	width: 100%;
	height: 50vh;
	object-fit: cover;
}

.attraction-content {
	padding: 40px min(40px, 5vw);
}

.attraction-content h3 {
	margin-top: 0;
}

/* =========================================================
   MEDIA QUERIES
   ========================================================= */
@media (min-width: 1181px) {
	.card-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.attraction-item {
		grid-template-columns: 40vw 1fr;
		min-height: 50vh;
	}

	.attraction-image {
		object-fit: cover;
		border-top-right-radius: var(--radius-lg);
		border-bottom-right-radius: var(--radius-lg);
	}

	.attraction-content {
		align-self: center;
		padding-left: 10vw;
		padding-right: 5vw;
		max-width: 50rem;
	}

	.attraction-item.layout-right {
		grid-template-columns: 1fr 40vw;
	}

	.attraction-item.layout-right .attraction-image {
		grid-row: 1 / 2;
		grid-column: 2 / 3;
		border-top-left-radius: var(--radius-lg);
		border-bottom-left-radius: var(--radius-lg);
		border-top-right-radius: 0;
		border-bottom-right-radius: 0;
	}

	.attraction-item.layout-right .attraction-content {
		grid-row: 1 / 2;
		grid-column: 1 / 2;
		margin-left: auto;
		padding-left: 5vw;
		padding-right: 10vw;
		text-align: right;
	}

	.page-intro {
		margin: 40px 0 100px 0;
	}

	.site-header {
		justify-content: space-between;
		gap: 32px;
		max-width: 100%;
		margin-left: 5%;
		margin-right: 5%;
	}

	.nav-toggler-label {
		display: none;
	}

	.main-nav {
		display: block;
		position: static;
		transform: none;
		width: auto;
		background: none;
		box-shadow: none;
		padding: 0;
		margin: 0;
		z-index: 1;
	}

	.nav-menu ul {
		flex-direction: row;
		gap: 26px;
		align-items: center;
	}

	.nav-menu li {
		width: auto;
	}

	.nav-menu a {
		display: inline-block;
		padding: 0;
		padding-bottom: 6px;
	}
}

@media (max-width: 600px) {
	.card-grid {
		grid-template-columns: 1fr;
	}

	.footer-container {
		flex-direction: column;
		text-align: center;
	}

	.footer-column {
		min-width: 100%;
		align-items: center;
	}

	.site-header {
		padding-inline: 0;
		padding-bottom: 20px;
	}
}
