/* Homepage — /  (front-page.php). Sezioni separate da hero.css (Journal) per non collidere sui nomi classe. */

body.home .site-header {
	padding: 20px 64px;
	gap: 32px;
}

body.home .logo {
	font-family: 'Urbanist', sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 20px;
}

body.home .nav-right { flex: 1; justify-content: flex-end; }

.logo-tracking {
	letter-spacing: 2px;
}

.btn-newsletter-nav {
	display: inline-flex;
	background: var(--terracotta);
	color: #fff;
	padding: 10px 18px;
	border-radius: 24px;
	font-family: 'Urbanist', sans-serif;
	font-weight: 600;
	font-size: 13px;
	text-decoration: none;
}

.home-wrap {
	background: var(--carta);
}

/* Hero full-bleed arrotondata — doppio layer (sfondo+Patty) come Journal, box diverso (non polaroid) */
.home-hero {
	position: relative;
	margin: 20px 64px 0;
	min-height: 74svh;
	border-radius: 15px;
	overflow: hidden;
	background: var(--notte);
}

.home-hero-bg,
.home-hero-subject {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-hero-bg {
	z-index: 1;
	transform: scale(1.15);
	will-change: transform;
	animation: homeHeroZoomIn 6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes homeHeroZoomIn {
	from { transform: scale(1.32); }
	to { transform: scale(1.15); }
}

.home-hero-subject {
	z-index: 2;
	transform: translateX(6%);
}

.home-hero-scrim {
	position: absolute;
	inset: 0;
	z-index: 3;
	background: linear-gradient(to top, rgba(36,29,24,0.75) 0%, rgba(36,29,24,0.1) 45%, rgba(36,29,24,0.35) 100%);
}

.home-hero-copy {
	position: absolute;
	inset: 0;
	z-index: 4;
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 880px;
	justify-content: center;
	padding: 220px 64px 0;
	color: #fff;
}

.home-hero-title {
	font-family: 'DM Serif Display', serif;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	font-size: clamp(38px, 4.6vw, 68px);
	line-height: 1.15;
}

.home-hero-sub {
	font-family: 'Urbanist', sans-serif;
	font-size: 18px;
	line-height: 1.4;
}

.home-hero-cta {
	display: inline-flex;
	align-items: center;
	background: #fff;
	color: var(--inchiostro);
	padding: 12px 22px;
	border-radius: 28px;
	font-family: 'Urbanist', sans-serif;
	font-weight: 400;
	font-size: 15px;
	text-decoration: none;
	width: fit-content;
	transition: transform 0.15s ease;
}
.home-hero-cta:hover { transform: translateY(-2px); }

/* Sezioni generiche */
.home-section {
	padding: 56px 64px 40px;
}

.home-sec-header {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 28px;
}

.home-sec-kicker {
	font-family: 'Urbanist', sans-serif;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 1.5px;
	color: #736e66;
}

.home-sec-title {
	font-family: 'Nunito', sans-serif;
	font-weight: 800;
	font-size: 34px;
	color: var(--inchiostro);
}

/* Photo Story evidenza */
.home-photostory-row {
	display: flex;
	gap: 24px;
	align-items: flex-start;
}

.home-photostory-img {
	position: relative;
	width: 62%;
	aspect-ratio: 860 / 480;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
}
.home-photostory-img img { width: 100%; height: 100%; object-fit: cover; }

.home-tag {
	position: absolute;
	top: 16px;
	left: 16px;
	color: var(--terracotta);
	font-family: 'Urbanist', sans-serif;
	font-weight: 600;
	font-size: 12px;
}

.home-photostory-copy {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 24px;
}

.home-photostory-copy h3 {
	font-family: 'Nunito', sans-serif;
	font-weight: 700;
	font-size: 26px;
	color: var(--inchiostro);
}

.home-photostory-meta {
	font-family: 'Urbanist', sans-serif;
	color: #736e66;
	font-size: 16px;
	line-height: 1.5;
}

.home-photostory-link {
	color: var(--inchiostro);
	font-family: 'Urbanist', sans-serif;
	font-size: 15px;
	text-decoration: none;
}

/* Journal recenti — card grid */
.home-card-row {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}

.home-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 420px;
	max-width: 100%;
}

.home-card-img {
	position: relative;
	width: 100%;
	aspect-ratio: 420 / 280;
	border-radius: 8px;
	overflow: hidden;
}
.home-card-img img { width: 100%; height: 100%; object-fit: cover; }

.home-card-meta {
	font-family: 'Urbanist', sans-serif;
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 1px;
	color: #736e66;
}

.home-card-title {
	font-family: 'Urbanist', sans-serif;
	font-size: 20px;
	color: var(--inchiostro);
}

/* Destinazioni */
.home-dest-row {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.home-dest-tile {
	position: relative;
	width: 248px;
	height: 320px;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--sabbia);
}
.home-dest-tile img { width: 100%; height: 100%; object-fit: cover; }

.home-dest-tag {
	position: absolute;
	top: 15px;
	left: 15px;
	color: var(--terracotta);
	font-family: 'Urbanist', sans-serif;
	font-weight: 600;
	font-size: 11px;
}

.home-dest-name {
	position: absolute;
	left: 19px;
	bottom: 22px;
	color: #fff;
	font-family: 'Nunito', sans-serif;
	font-weight: 700;
	font-size: 24px;
}

.home-dest-note {
	margin-top: 28px;
	font-family: 'Urbanist', sans-serif;
	color: #736e66;
	font-size: 15px;
}

/* Fuori rotta */
.home-fuori-rotta {
	background: var(--caramello);
	padding: 64px;
}

.home-fuori-rotta .home-sec-kicker { color: var(--carta); }
.home-fuori-rotta .home-sec-title { color: #d9c7b2; }

.home-fuori-rotta-lead {
	font-family: 'Caveat', cursive;
	font-weight: 700;
	font-size: 26px;
	color: var(--sabbia);
	max-width: 900px;
	margin-bottom: 28px;
}

.home-fr-row {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.home-fr-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 420px;
	max-width: 100%;
}

.home-fr-img {
	width: 100%;
	aspect-ratio: 420 / 240;
	border-radius: 8px;
	overflow: hidden;
}
.home-fr-img img { width: 100%; height: 100%; object-fit: cover; }

.home-fr-tag {
	font-family: 'Urbanist', sans-serif;
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 1px;
	color: #a6a199;
}

.home-fr-title {
	font-family: 'Urbanist', sans-serif;
	font-size: 19px;
	color: #fff;
}

@media (max-width: 900px) {
	body.home .site-header { padding: 16px 24px; flex-wrap: wrap; }
	.home-hero { margin: 16px 24px 0; }
	.home-hero-copy { padding: 24px 24px 32px; max-width: 100%; }
	.home-section { padding: 40px 24px 24px; }
	.home-fuori-rotta { padding: 40px 24px; }
	.home-photostory-row { flex-direction: column; }
	.home-photostory-img { width: 100%; }
}
