/* ============================================================
   IANNONE GAUDINO — stili base / chrome (condivisi su tutte le pagine)
   Riproduzione 1:1 del blocco <style> comune del sito statico.
   Gli stili specifici per sezione stanno nei blocchi <style> dentro
   le pagine WPBakery.
   ============================================================ */

/* Base e reset */
body {
	background-color: #1F3A2B;
	color: #F4F1ED;
	cursor: none;
	overflow-x: hidden;
}

::selection {
	background-color: #acbfa4;
	color: #1F3A2B;
}

/* Griglia decorativa (sostituisce la grana) */
body::after {
	content: '';
	position: fixed;
	inset: 0;
	background-image:
		linear-gradient(rgba(168, 133, 90, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(168, 133, 90, 0.04) 1px, transparent 1px);
	background-size: 60px 60px;
	pointer-events: none;
	z-index: 9998;
}

/* ── Header ─────────────────────────────────────────────── */
/* Pagine interne: solido + glassmorphism */
#main-header {
	background-color: rgba(18, 34, 26, 0.90);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(244, 241, 237, 0.1);
}
.header-scrolled {
	background-color: rgba(18, 34, 26, 0.96) !important;
}

/* Home: header trasparente che diventa solido allo scroll */
body.ig-home #main-header {
	background-color: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}
body.ig-home .header-scrolled {
	background-color: rgba(18, 34, 26, 0.90) !important;
	backdrop-filter: blur(16px) !important;
	-webkit-backdrop-filter: blur(16px) !important;
}

/* ── Cursore custom ─────────────────────────────────────── */
.cursor-dot {
	position: fixed;
	top: 0;
	left: 0;
	width: 8px;
	height: 8px;
	background-color: #acbfa4;
	border-radius: 50%;
	pointer-events: none;
	z-index: 10000;
	transform: translate(-50%, -50%);
	transition: background-color 0.3s;
}
.cursor-outline {
	position: fixed;
	top: 0;
	left: 0;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(200, 169, 126, 0.5);
	border-radius: 50%;
	pointer-events: none;
	z-index: 9999;
	transform: translate(-50%, -50%);
	transition: width 0.2s ease-out, height 0.2s ease-out, border-color 0.2s ease-out, background-color 0.2s ease-out;
}
.hover-target:hover ~ .cursor-outline {
	width: 80px;
	height: 80px;
	border-color: #F4F1ED;
	background-color: rgba(244, 241, 237, 0.05);
}
.hover-target:hover ~ .cursor-dot {
	background-color: transparent;
}
.light-section:hover ~ .cursor-outline {
	border-color: #1F3A2B;
}
.light-section:hover ~ .cursor-dot {
	background-color: #1F3A2B;
}

/* ── Immagini parallax / zoom ───────────────────────────── */
.image-wrapper {
	overflow: hidden;
}
.image-wrapper img {
	transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
	transform: scale(1.05);
}
.image-wrapper:hover img {
	transform: scale(1);
}

/* ── Mobile menu / burger ───────────────────────────────── */
#burger-btn {
	position: fixed;
	top: 1.75rem;
	right: 2rem;
	z-index: 70;
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	gap: 6px;
	background: transparent;
	border: 0;
	cursor: none;
	transition: top 0.3s ease;
}
#burger-btn.is-compact {
	top: 0.75rem;
}
#burger-btn .burger-line {
	display: block;
	height: 1px;
	background-color: #F4F1ED;
	transition: transform 0.45s cubic-bezier(0.87, 0, 0.13, 1),
		width 0.45s cubic-bezier(0.87, 0, 0.13, 1);
}
#burger-btn .burger-line:nth-child(1) {
	width: 1.75rem;
}
#burger-btn .burger-line:nth-child(2) {
	width: 1.15rem;
}
#burger-btn.is-open .burger-line {
	width: 1.75rem;
	background-color: #F4F1ED;
}
#burger-btn.is-open .burger-line:nth-child(1) {
	transform: translateY(4px) rotate(45deg);
}
#burger-btn.is-open .burger-line:nth-child(2) {
	transform: translateY(-4px) rotate(-45deg);
}

#mobile-menu {
	display: none;
	flex-direction: column;
	background-color: #1F3A2B;
	overflow-y: auto;
}
#mobile-menu.is-active {
	display: flex;
}
@media (min-width: 768px) {
	#mobile-menu,
	#mobile-menu.is-active,
	#burger-btn {
		display: none !important;
	}
}
.mobile-menu-item {
	display: block;
	line-height: 0.95;
	will-change: transform;
}
.mobile-menu-link {
	display: block;
	overflow: hidden;
	padding: 0.25rem 0;
}
.mobile-menu-link .mobile-menu-item {
	transition: color 0.4s ease;
}
.mobile-menu-link:hover .mobile-menu-item,
.mobile-menu-link:active .mobile-menu-item {
	color: #acbfa4;
}
body.menu-open {
	overflow: hidden;
}

/* ============================================================
   WPBakery — azzera wrapper di riga/colonna così le sezioni
   restano a tutta larghezza e a filo (come nel sito statico).
   ============================================================ */
#ig-main,
.ig-content {
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
}
.ig-content .vc_row,
.ig-content .wpb_row,
.ig-content .vc_row-fluid,
.ig-content .wpb_column,
.ig-content .vc_column_container,
.ig-content .vc_col-sm-12,
.ig-content .vc_column-inner,
.ig-content .wpb_wrapper,
.ig-content .wpb_content_element,
.ig-content .wpb_raw_html,
.ig-content .wpb_raw_code,
.ig-content .wpb_text_column {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	width: 100%;
	max-width: 100%;
	float: none;
	clear: none;
}
.ig-content .vc_row {
	display: block;
}
