* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	background: #f4f1ec;
	color: #1d1d1d;
}

img {
	width: var(--w, auto);
	height: var(--h, auto);
}

/* HEADER */
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	background: rgba(244, 241, 236, 0.92);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(0,0,0,0.08);
}

.navbar {
	max-width: 1400px;
	margin: auto;
	padding: 18px 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo-area {
	display: flex;
	align-items: center;
	gap: 24px;
}

.logo-area img {
	object-fit: contain;
}

.logo-text {
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
}

nav a {
	margin-left: 28px;
	text-decoration: none;
	color: #1d1d1d;
	font-size: 22px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

nav a:hover {
	color: #8a6a43;
}

/* HERO */
.hero {
	height: var(--hero-h, 90vh);
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	padding: 0 40px 80px;
	color: white;
}

.hero img {
	position: absolute;
	inset: 0;
	object-fit: cover;
	object-position: center;
	z-index: 0;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		rgba(0,0,0,0.25),
		rgba(0,0,0,0.55)
	);
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 900px;
}

.hero h1 {
	font-size: clamp(42px, 7vw, 96px);
	line-height: 0.95;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 24px;
}

.hero p {
	font-size: 20px;
	max-width: 680px;
	line-height: 1.5;
	color: rgba(255,255,255,0.92);
}

.hero-button {
	display: inline-block;
	margin-top: 28px;
	padding: 16px 28px;
	background: white;
	color: #1d1d1d;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 700;
	border-radius: 999px;
	transition: transform 0.25s ease, background 0.25s ease;
}

.hero-button:hover {
	transform: translateY(-3px);
	background: #e8ded0;
}

/* SEZIONI */
section {
	max-width: 1400px;
	margin: auto;
	padding: 100px 40px;
}

.section-title {
	margin-bottom: 45px;
}

.section-title h2 {
	font-size: clamp(34px, 5vw, 64px);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.section-title p {
	margin-top: 14px;
	color: #666;
	font-size: 18px;
}

/* GALLERY */
.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.work {
	cursor: pointer;
	overflow: hidden;
}

.work img {
	object-fit: cover;
	display: block;
	transition: transform 0.45s ease;
}

.work:hover img {
	transform: scale(1.045);
}

.work-info {
	padding: 18px 4px 0;
	background: #f4f1ec;
}

.work-info h3 {
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.work-info p {
	margin-top: 6px;
	color: #777;
	font-size: 14px;
}

/* SERVIZI */
.services {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	margin-top: 40px;
}

.service {
	padding: 10px 0 28px;
	border-bottom: 1px solid rgba(0,0,0,0.1);
}

.service h3 {
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 10px;
}

.service p {
	color: #666;
	line-height: 1.5;
	font-size: 15px;
}

/* CONTATTI */
.contact {
	border-top: 1px solid rgba(0,0,0,0.12);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
}

.contact h2 {
	font-size: clamp(34px, 5vw, 64px);
	text-transform: uppercase;
}

.contact p {
	font-size: 18px;
	line-height: 1.6;
	color: #555;
	margin-top: 20px;
}

.contact-details {
	margin-top: 24px;
}

.contact-details p {
	margin-top: 8px;
	font-size: 17px;
}

.contact-details a {
	color: #1d1d1d;
	text-decoration: none;
	font-weight: 700;
}

.contact-details a:hover {
	color: #8a6a43;
}

.contact-icons {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px;
}

.contact-icons a {
	width: 64px;
	height: 64px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: white;
	box-shadow: 0 8px 22px rgba(0,0,0,0.08);
	transition: transform 0.25s ease;
}

.contact-icons a:hover {
	transform: translateY(-4px);
}

.contact-icons img {
	object-fit: contain;
}

/* FOOTER */
footer {
	padding: 45px 40px;
	text-align: center;
	color: #777;
	font-size: 14px;
}

.footer-logo {
	margin-bottom: 18px;
}

.footer-logo img {
	object-fit: contain;
	display: block;
	margin: 0 auto 12px;
}

.footer-logo strong {
	display: block;
	color: #1d1d1d;
	text-transform: uppercase;
	letter-spacing: 2px;
}

/* LIGHTBOX */
.lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.94);
	z-index: 999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 40px;
}

.lightbox.active {
	display: flex;
}

.lightbox-content {
	max-width: 1200px;
	width: 100%;
}

.lightbox img {
	width: 100%;
	max-height: 76vh;
	object-fit: contain;
	display: block;
}

.lightbox-text {
	color: white;
	margin-top: 18px;
	display: flex;
	justify-content: space-between;
	gap: 30px;
}

.lightbox-text h3 {
	font-size: 26px;
	text-transform: uppercase;
}

.lightbox-text p {
	color: rgba(255,255,255,0.75);
	max-width: 650px;
	line-height: 1.5;
}

.close {
	position: fixed;
	top: 25px;
	right: 35px;
	color: white;
	font-size: 42px;
	cursor: pointer;
	z-index: 1000;
}

.arrow {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	color: white;
	font-size: 58px;
	cursor: pointer;
	z-index: 1000;
	user-select: none;
	padding: 20px;
}

.arrow.left {
	left: 25px;
}

.arrow.right {
	right: 25px;
}

.counter {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255,255,255,0.8);
	font-size: 15px;
	letter-spacing: 1px;
}

/* DESKTOP MEDIO */
@media (max-width: 1920px) {
	.navbar,
	section {
		max-width: 1200px;
	}

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

/* TABLET / PICCOLI LAPTOP */
@media (max-width: 1024px) {
	.gallery,
	.services {
		grid-template-columns: repeat(2, 1fr);
	}

	.contact {
		grid-template-columns: 1fr;
	}

	.logo-text {
		font-size: 22px;
	}

	nav a {
		font-size: 18px;
	}
}

/* TABLET VERTICALE */
@media (max-width: 768px) {
	.navbar {
		padding: 14px 24px;
	}

	.logo-area {
		gap: 14px;
	}

	.logo-text {
		font-size: 18px;
	}

	nav a {
		margin-left: 14px;
		font-size: 14px;
	}

	.hero {
		height: var(--hero-mobile-h, 80vh);
		padding: 0 24px 60px;
	}

	.hero-button {
		padding: 14px 22px;
		font-size: 14px;
	}

	.gallery,
	.services {
		grid-template-columns: 1fr;
	}
}

/* SMARTPHONE */
@media (max-width: 480px) {
	.navbar {
		flex-direction: column;
		gap: 12px;
	}

	.logo-area img {
		width: var(--mw, var(--w, 40px));
		height: var(--mh, var(--h, 40px));
	}

	nav a {
		margin: 0 8px;
		font-size: 13px;
	}

	.logo-text {
		font-size: 16px;
	}

	.hero h1 {
		font-size: 38px;
	}

	.hero p {
		font-size: 16px;
	}

	section {
		padding: 60px 20px;
	}

	.work img {
		height: var(--mobile-h, var(--h, 300px));
	}

	.lightbox {
		padding: 20px;
	}

	.lightbox-text {
		flex-direction: column;
	}

	.arrow {
		font-size: 42px;
		padding: 10px;
	}

	.arrow.left {
		left: 5px;
	}

	.arrow.right {
		right: 5px;
	}
}

/* SMARTPHONE PICCOLI 320PX */
@media (max-width: 320px) {
	.logo-text {
		font-size: 13px;
	}

	nav a {
		font-size: 11px;
		margin: 0 5px;
	}

	.hero h1 {
		font-size: 32px;
	}

	.hero p {
		font-size: 14px;
	}

	section {
		padding: 50px 16px;
	}
}


.footer-links {
	margin-top: 12px;
}

.footer-links a {
	color: #777;
	text-decoration: none;
	font-size: 14px;
}

.footer-links a:hover {
	color: #1d1d1d;
}

.privacy-page {
	padding-top: 180px;
	max-width: 1000px;
}

.privacy-content p {
	font-size: 18px;
	line-height: 1.7;
	color: #555;
	margin-top: 18px;
}

.privacy-content h3 {
	font-size: 22px;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-top: 40px;
	margin-bottom: 10px;
}

.privacy-content ul {
	margin-top: 18px;
	margin-left: 24px;
	line-height: 1.8;
	color: #555;
	font-size: 18px;
}

.privacy-content a {
	color: #1d1d1d;
	font-weight: 700;
	text-decoration: none;
}

.privacy-content a:hover {
	color: #8a6a43;
}
