/* ===================================
   VARIABILI E RESET
   =================================== */
:root {
	/* Verde - Colore principale natura/professionalità */
	--primary-green: #2d6a4f;
	--secondary-green: #40916c;
	--light-green: #52b788;
	--accent-green: #74c69d;
	/* Giallo - Colore accento energia/calore */
	--primary-yellow: #f4c430;
	--accent-yellow: #ffd93d;
	--dark-yellow: #d4a017;
	--light-yellow: #fff3cd;
	/* Neutri */
	--dark-text: #1f1f1f;
	--light-text: #f8f9fa;
	--gray-bg: #f8f9fa;
	--white: #ffffff;
	--shadow: rgba(0, 0, 0, 0.1);
	--shadow-hover: rgba(0, 0, 0, 0.15);
	--dark-overlay: rgba(31, 31, 31, 0.45);
	--yellow-shadow: rgba(244, 196, 48, 0.3);
	/* Social ufficiali */
	--colore-facebook: #3b5999;
	--colore-instagram: #E1306C;
	--colore-twitter: #55acee;
	--colore-linkedin: #0077B5;
	--colore-telefono: #df2029;
	--colore-whatsapp: #25D366;
	--colore-messenger: #0084ff;
	--colore-email: #dd4b39;
	/* Stili Font */
	--font-base: 'Montserrat', sans-serif;
	--font-titoli: 'Playfair Display', serif;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	font-family: var(--font-base);
	color: var(--dark-text);
	font-size: 16px;
	line-height: 1.7em;
	overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: var(--font-titoli);
	line-height: 1.2em;
	font-weight: 600;
}
h1, h2, h3, h4, h5, h6 {
	color: var(--primary-green);
}
.h1 {
	font-size: 2.5rem;
}
.h2 {
	font-size: 2rem;
}
.h3 {
	font-size: 1.75rem;
}
.h4 {
	font-size: 1.5rem;
}
.h5 {
	font-size: 1.25rem;
}
.h6 {
	font-size: 1rem;
}
a {
	text-decoration: none;
	transition: all 0.3s ease;
	text-underline-offset: 5px;
}
img {
	max-width: 100%;
	height: auto;
}
/*p:last-of-type {
	margin-bottom: 0;
}*/

/* ===================================
   ACCESSIBILITY - WCAG 2.1 AA
   =================================== */
/* Skip to main content link */
.skip-to-main {
	position: absolute;
	top: -100px;
	left: 0;
	background: var(--primary-green);
	color: var(--white);
	padding: 1rem 2rem;
	text-decoration: none;
	font-weight: 600;
	z-index: 10000;
	border-radius: 0 0 5px 0;
	transition: top 0.3s ease;
}
.skip-to-main:focus {
	top: 0;
	outline: 3px solid var(--accent-green);
	outline-offset: 2px;
}

.skip-link,
.assistive-text,
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
}
.skiplinks {
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10000;
}
.skiplinks ul,
.skiplinks ul li {
	margin: 0;
	list-style-type: none;
}
.skiplinks ul li::marker,
.skiplinks ol li::marker {
	display: none;
}
html a.skiplinks:link,
html a.skip-link:link {
	color: var(--white);
	background-color: var(--primary-green);
}
html a.skiplinks:focus,
html a.skip-link:focus {
	display: block;
	left: 0.313rem;
	top: 0.313rem;
	z-index: 100000;
	overflow: visible;
	width: auto;
	height: unset;
	padding:1rem 2rem;
	clip: auto;
	font-size: 0.875rem;
	line-height: normal;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: bold;
	color: var(--white);
	background-color: var(--primary-green);
	outline: 3px solid;
	outline-color: var(--accent-green);
	outline-offset: 2px;
	border-radius: 0px;
}
/* Focus states visibili per tutti gli elementi interattivi */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
.btn:focus {
	outline: 3px solid var(--accent-green);
	outline-offset: 2px;
}
/* Focus visibile per la navigazione */
.nav-link:focus {
	outline: 3px solid var(--white);
	outline-offset: 2px;
}
/* Assicura che il contrasto del testo sia sufficiente */
a:focus-visible {
	outline: 3px solid var(--accent-green);
	outline-offset: 2px;
}
#navigazione-principale,
#main-content,
#footer-principale {
	outline: none !important;
}

/* ===================================
   HEADER E NAVIGAZIONE
   =================================== */
.header-main {
	position: relative;
	z-index: 1000;
}
.navbar {
	background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
	padding: 1rem 0;
	box-shadow: 0 2px 15px rgba(45, 106, 79, 0.2);
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}
.navbar.scrolled {
	padding: 0.5rem 0;
}
.navbar-brand {
	padding: 0;
}
.logo {
	height: 50px;
	width: auto;
	transition: all 0.3s ease;
}
.navbar.scrolled .logo {
	height: 40px;
}
.navbar-nav .nav-link {
	color: var(--light-text) !important;
	font-weight: 500;
	padding: 0.5rem 1.2rem !important;
	margin: 0 0.2rem;
	border-radius: 5px;
	transition: all 0.3s ease;
	font-size: 1rem;
}
.navbar-nav .nav-link:hover {
	background-color: rgba(244, 196, 48, 0.2);
	color: var(--white) !important;
}
.navbar-nav .nav-link.active {
	background-color: rgba(244, 196, 48, 0.3);
	color: var(--white) !important;
	border-bottom: 2px solid var(--primary-yellow);
}
.navbar-toggler {
	border-color: rgba(255, 255, 255, 0.3);
}
.navbar-toggler:focus {
	box-shadow: none;
}
.navbar-brand:focus,
button.navbar-toggler:focus,
.cta-section .btn-light:focus,
.contact-info-item div a:focus,
.footer-contacts a:focus,
.footer-social a:focus,
.footer-credits a:focus {
	outline: 3px solid var(--white);
	outline-offset: 2px;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
	position: relative;
	height: 100vh;
	min-height: 700px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.hero-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}
.hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(45, 109, 79, 0.4) 100%);
	z-index: 2;
}
.hero-content {
	position: relative;
	z-index: 3;
	color: var(--white);
	text-align: center;
	padding: 2rem 20px;
	margin-right: -15px;
	margin-left: -15px;
}
.hero-title {
	font-size: 4rem;
	font-weight: 700;
	margin-bottom: 2rem;
	color: var(--white);
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
	animation: fadeInUp 1s ease;
}
.hero-subtitle {
	font-size: 1.8rem;
	font-weight: 300;
	margin-bottom: 2rem;
	color: var(--white);
	animation: fadeInUp 1.2s ease;
}
.hero-text {
	font-size: 1.3rem;
	margin-bottom: 2.5rem;
	font-weight: 400;
	animation: fadeInUp 1.4s ease;
}
.hero-buttons {
	margin-bottom: 3rem;
	animation: fadeInUp 1.6s ease;
}
.hero-buttons .btn {
	margin: 0.5rem;
	padding: 0.8rem 2.5rem;
	font-weight: 600;
	border-radius: 50px;
	font-size: 1.1rem;
}
.btn-primary {
	background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--accent-yellow) 100%);
	border: none;
	color: var(--dark-text);
	font-weight: 700;
	box-shadow: 0 4px 15px var(--yellow-shadow);
}
.btn-primary:hover {
	background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--primary-yellow) 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px var(--yellow-shadow);
	color: var(--dark-text);
}
.btn-primary:active,
.btn.btn-primary:active,
.hero-buttons .btn-primary:active,
.btn-primary:focus,
.btn-primary:focus-visible,
.btn.btn-primary:focus,
.btn.btn-primary:focus-visible,
.hero-buttons .btn-primary:focus,
.hero-buttons .btn-primary:focus-visible {
	color: var(--dark-text);
}
.btn-primary:focus,
.btn-primary:focus-visible,
.btn.btn-primary:focus,
.btn.btn-primary:focus-visible,
.hero-buttons .btn-primary:focus,
.hero-buttons .btn-primary:focus-visible {
	box-shadow: var(--light-green);
}
.btn-outline-light {
	border: 2px solid var(--white);
	color: var(--white);
}
.btn-outline-light:hover {
	background: var(--primary-yellow);
	border-color: var(--primary-yellow);
	color: var(--dark-text);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px var(--yellow-shadow);
}
.btn-outline-light:active,
.btn.btn-outline-light:active,
.hero-buttons .btn-outline-light:active {
	color: var(--white);
}
/* Quick Contacts in Hero */
.quick-contacts {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 2rem;
	animation: fadeInUp 1.8s ease;
}
.contact-item {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	background: rgba(255, 255, 255, 0.1);
	padding: 1rem 1.5rem;
	border-radius: 50px;
	backdrop-filter: blur(10px);
}
.contact-item i {
	font-size: 1.5rem;
	color: var(--white);
}
.contact-details {
	display: flex;
	flex-direction: column;
	gap: 0.1rem 0.5rem;
}
.contact-item a {
	color: var(--white);
	font-weight: 500;
	font-size: 1rem;
}
.contact-item a:hover {
	color: var(--accent-yellow);
	text-decoration: underline;
}
.social-icons {
	gap: 1rem;
}
.social-icons a {
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	transition: all 0.3s ease;
}
.social-icons a:hover {
	background: var(--primary-yellow);
	transform: translateY(-3px) scale(1.1);
	box-shadow: 0 5px 15px var(--yellow-shadow);
}
.social-icons a:hover i {
	color: var(--dark-text);
}
.social-icons i {
	font-size: 1.3rem;
}

/* ===================================
   GENERAL SECTIONS
   =================================== */
.page-content {
	padding-right: 5px;
	padding-left: 5px;
}
.page-content a {
	color: var(--dark-text);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-style: dashed;
}
.page-content a:hover {
	text-decoration: underline;
	text-decoration-style: solid;
}

/* ===================================
   SERVICE SECTIONS
   =================================== */
.service-section {
	padding: 6rem 5px;
}
.service-section.bg-light {
	background-color: var(--gray-bg);
}
.service-content {
	padding: 2rem;
}
.section-title {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: var(--primary-green);
}
.section-subtitle {
	font-size: 1.8rem;
	font-weight: 500;
	color: var(--secondary-green);
	margin-bottom: 1.5rem;
}
.section-text {
	font-size: 1.1rem;
	line-height: 1.8;
	margin-bottom: 2rem;
	color: var(--dark-text);
}
.service-image {
	position: relative;
}
.service-image img {
	border-radius: 15px;
	box-shadow: 0 10px 30px var(--shadow);
	transition: all 0.3s ease;
}
.service-image img:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px var(--shadow-hover);
}
.service-content {
	padding: 2rem 0;
}

/* ===================================
   CALL TO ACTION
   =================================== */
.cta-section {
	background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
	color: var(--white);
	padding: 5rem 5px;
	text-align: center;
}
.cta-title {
	font-size: 2.8rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	color: var(--white);
}
.cta-text {
	font-size: 1.3rem;
	margin-bottom: 2.5rem;
}
.cta-section .btn-light {
	padding: 1rem 3rem;
	font-size: 1.2rem;
	font-weight: 600;
	border-radius: 50px;
	background: var(--white);
	color: var(--primary-green);
	border: none;
}
.cta-section .btn-light:hover {
	background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--accent-yellow) 100%);
	color: var(--dark-text);
	transform: translateY(-3px);
	box-shadow: 0 8px 25px var(--yellow-shadow);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
	background: linear-gradient(135deg, var(--secondary-green) 0%, var(--primary-green) 100%);
	color: var(--light-text);
	padding: 4rem 5px 2rem;
}
.footer-title {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	color: var(--white);
}
.footer-text {
	font-size: 1rem;
	line-height: 1.7;
	/*color: rgba(255, 255, 255, 0.9);*/
	color: #ECF4F0;
}
.footer-contacts {
	list-style: none;
	padding: 0;
}
.footer-contacts li {
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.8rem;
}
.footer-contacts i {
	color: var(--primary-yellow);
	font-size: 1.2rem;
}
.footer-contacts a {
	color: var(--light-text);
	font-size: 1rem;
	font-family: var(--font-base);
	text-decoration: underline;
	text-decoration-style: dashed;
	font-weight: 600;
	transition: 0.3s all;
}
.footer-contacts a:hover {
	color: var(--light-yellow);
	text-decoration: underline;
	text-decoration-style: solid;
}
.footer-social {
	display: flex;
	gap: 1rem;
	margin-bottom: 1rem;
}
.footer-social a {
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	color: var(--white);
	font-size: 1.5rem;
	transition: all 0.3s ease;
}
.footer-social a:hover {
	background: var(--primary-yellow);
	color: var(--dark-text);
	transform: translateY(-3px);
	box-shadow: 0 5px 15px var(--yellow-shadow);
}
.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
}
.footer-links a {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.95rem;
}
.footer-links a:hover {
	color: var(--white);
}
.footer-bottom {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	text-align: center;
}
.footer-bottom p {
	margin: 0;
	font-size: 0.9rem;
	/*color: rgba(255, 255, 255, 0.7);*/
	color: #ECF4F0;
}
.footer-legal {
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-legal p {
	font-size: 0.85rem;
	line-height: 1.8;
}
.footer-credits {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}
.footer-links-legal {
	margin: 0.5rem 0;
}
.footer-links-legal a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: 0.3s all;
}
.footer-links-legal a:hover {
	color: var(--primary-yellow);
}
.footer-credits a {
	color: var(--light-yellow);
	text-decoration: underline;
	text-decoration-style: dashed;
	font-weight: 600;
	transition: 0.3s all;
}
.footer-credits a:hover {
	color: var(--light-yellow);
	text-decoration: underline;
	text-decoration-style: solid;
}

/* ===================================
   ANIMAZIONI
   =================================== */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 991px) {
	.hero-title {
		font-size: 3rem;
	}
	.hero-subtitle {
		font-size: 1.5rem;
	}
	.hero-text {
		font-size: 1.1rem;
	}
	.section-title {
		font-size: 2rem;
	}
	.section-subtitle {
		font-size: 1.5rem;
	}
	.service-content {
		text-align: center;
		margin-bottom: 2rem;
	}
	.quick-contacts {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0.8rem;
		justify-content: center;
	}
	.contact-item {
		justify-content: center;
		flex: 0 1 auto;
	}
}
@media (max-width: 767px) {
	.hero-section {
		min-height: 700px;
		padding-top: 20px;
	}
	.hero-title {
		font-size: 2.5rem;
		margin-bottom: 0.8rem;
	}
	.hero-subtitle {
		font-size: 1.2rem;
		font-weight: 700;
		margin-bottom: 0.8rem;
	}
	.hero-text {
		font-size: 1rem;
	}
	.hero-buttons .btn {
		padding: 0.7rem 2rem;
		font-size: 1rem;
	}
	.section-title {
		font-size: 1.8rem;
	}
	.section-subtitle {
		font-size: 1.3rem;
	}
	.section-text {
		font-size: 1rem;
	}
	.cta-title {
		font-size: 2rem;
	}
	.cta-text {
		font-size: 1.1rem;
	}
	.service-section {
		padding: 4rem 5px;
	}
	/* Navbar sempre compatta su mobile */
	.navbar {
		padding: 0.5rem 0;
	}
	.logo {
		height: 40px;
	}
	/* Padding per pagine interne su mobile */
	.page-header {
		padding-top: 190px;
	}
	/* Menu mobile con sfondo opaco */
	.navbar-collapse {
		background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
		padding: 1rem;
		border-radius: 10px;
		margin-top: 1rem;
		box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
	}
	.navbar-nav .nav-link {
		margin: 0.3rem 0;
	}
}
@media (max-width: 575px) {
	.hero-section {
		min-height: 750px;
		padding-top: 15px;
	}
	.hero-title {
		font-size: 2.2rem;
		margin-bottom: 0.7rem;
	}
	.hero-subtitle {
		font-size: 1.1rem;
		font-weight: 700;
		margin-bottom: 0.7rem;
	}
	.hero-text {
		font-size: 1rem;
		margin-bottom: 1.2rem;
	}
	.hero-buttons .btn {
		display: block;
		width: 100%;
		margin: 0.5rem 0;
	}
	/* Contatti rapidi più compatti su mobile */
	.quick-contacts {
		gap: 0.8rem !important;
	}
	.contact-item {
		padding: 0.6rem 1rem !important;
		font-size: 0.85rem;
	}
	.contact-item i {
		font-size: 1.1rem !important;
	}
	.contact-item a {
		font-size: 0.85rem !important;
	}
	/* Social icons più compatti */
	.social-icons a {
		width: 35px !important;
		height: 35px !important;
	}
	.social-icons i {
		font-size: 1rem !important;
	}
	/* Riduci margini dei bottoni hero */
	.hero-buttons {
		margin-bottom: 1.5rem !important;
	}
	.footer .col-lg-4 {
		text-align: center;
	}
	.footer-contacts li {
		justify-content: center;
	}
	.footer-social {
		justify-content: center;
	}
	.footer-legal p {
		font-size: 0.7rem;
		line-height: 1.6;
	}
	.footer-credits {
		gap: 0.6rem;
	}
	.footer-credits p {
		font-size: 0.75rem;
	}
	.page-header {
		padding-top: 190px;
	}
}

/* ===================================
   PAGINE INTERNE
   =================================== */
/* Page Header */
.page-header {
	background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
	color: var(--white);
	padding: 150px 0 80px;
	margin-bottom: 0;
	text-align: center;
}
.page-header h1 {
	font-size: 3.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: var(--white);
}
.page-header .lead {
	font-family: var(--font-base);
	font-size: 1.5rem;
	font-weight: 300;
	color: var(--white);
}
/* Content Section */
.content-section {
	padding: 6rem 5px;
}
.text-content {
	font-size: 1.1rem;
	line-height: 1.8;
	margin-bottom: 1.5rem;
	color: var(--dark-text);
}
/* Values Section */
.values-section {
	padding: 6rem 0;
}
.value-card {
	background: var(--white);
	padding: 3rem 2rem;
	border-radius: 15px;
	text-align: center;
	height: 100%;
	transition: all 0.3s ease;
	box-shadow: 0 5px 15px var(--shadow);
}
.value-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 30px var(--shadow-hover);
}
.value-icon {
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-yellow) 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	box-shadow: 0 4px 15px var(--yellow-shadow);
}
.value-icon i {
	font-size: 2.5rem;
	color: var(--white);
}
.value-card h3 {
	font-size: 1.8rem;
	margin-bottom: 1rem;
	color: var(--primary-green);
}
.value-card p {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--dark-text);
}
/* Service Cards */
.service-card {
	background: var(--white);
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 5px 15px var(--shadow);
	transition: all 0.3s ease;
	height: 100%;
	border-top: 4px solid var(--primary-yellow);
}
.service-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px var(--shadow-hover);
	border-top-color: var(--accent-yellow);
}
.service-card-image {
	width: 100%;
	height: 250px;
	overflow: hidden;
	background-color: #e0e0e0;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}
.service-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.3s ease;
	display: block;
	flex-shrink: 0;
}
.service-card:hover .service-card-image img {
	transform: scale(1.05);
}
.service-card-body {
	padding: 2rem;
}
.service-card h3 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	color: var(--primary-green);
}
.service-card ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.service-card ul li {
	padding: 0.5rem 0;
	color: var(--dark-text);
	position: relative;
	padding-left: 1.5rem;
}
.service-card ul li:before {
	content: "\f00c";/* regola fallback */
	content: "\f00c" / "";/* regola per nascondere l'icona agli screen readers */
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	left: 0;
	color: var(--accent-green);
}
/* Contact Form */
.contact-form {
	background: var(--white);
	padding: 30px;
	border-radius: 15px;
	box-shadow: 0 5px 20px var(--shadow);
}
.form-label {
	font-weight: 600;
	color: var(--primary-green);
	margin-bottom: 0.5rem;
}
.form-control,
.form-select {
	border: 2px solid #7A7A7A;
	border-radius: 8px;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	transition: all 0.3s ease;
}
.form-control:focus,
.form-select:focus {
	border-color: var(--accent-green);
	box-shadow: 0 0 0 0.2rem rgba(107, 158, 63, 0.25);
}
body form input:focus,
body form input:focus-visible,
body form select:focus,
body form select:focus-visible,
body form textarea:focus,
body form textarea:focus-visible,
body form .form-control:focus,
body form .form-control:focus-visible,
body form .form-select:focus,
body form .form-select:focus-visible,
body form .form-check-input:focus,
body form .form-check-input:focus-visible,
body form .btn-primary:focus,
body form .btn-primary:focus-visible,
body form .btn.btn-primary:focus,
body form .btn.btn-primary:focus-visible,
body form .hero-buttons .btn-primary:focus,
body form .hero-buttons .btn-primary:focus-visible {
	box-shadow: none;
	outline: 3px solid #1a1a1a;
	outline-offset: 1px;
}
.form-check-label a {
	text-decoration: underline;
	text-decoration-style: dashed;
	font-weight: 600;
	transition: 0.3s all;
}
.form-check-label a:hover {
	text-decoration: underline;
	text-decoration-style: solid;
}
.cont-special-input,
.special-input {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	max-width: 100%;
}
.cont-special-input {
	position: absolute;
	left: -9999px;
}
/* Map Container */
.map-container {
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 5px 20px var(--shadow);
	height: 450px;
}
.map-container iframe {
	width: 100%;
	height: 100%;
	border: none;
}
/* Contact Info Box */
.contact-info-box {
	background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
	color: var(--white);
	padding: 30px;
	border-radius: 15px;
	height: 100%;
}
.contact-info-box h3 {
	color: var(--white);
	margin-bottom: 2rem;
}
.contact-info-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 2rem;
	gap: 1rem;
}
.contact-info-item i {
	font-size: 1.5rem;
	color: var(--accent-green);
	margin-top: 0.2rem;
}
.contact-info-item div h4 {
	font-size: 1.1rem;
	color: var(--white);
	margin-bottom: 0.5rem;
}
.contact-info-item div p,
.contact-info-item div a {
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 0.3rem;
}
.contact-info-item div a {
	text-decoration: underline;
	text-decoration-style: dashed;
	font-weight: 600;
	transition: 0.3s all;
}
.contact-info-item div a:hover {
	color: var(--white);
	text-decoration: underline;
	text-decoration-style: solid;
}

/* ===================================
   GALLERY SECTION
   =================================== */
.gallery-section {
	padding: 5rem 0;
	background-color: var(--white);
}
.gallery-section h2 {
	font-family: var(--font-titoli);
	color: var(--primary-green);
	font-weight: 700;
	font-size: 2.5rem;
}
.gallery-section .container {
	max-width: 1200px;
}
.gallery-grid {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 20px !important;
	margin-top: 2rem !important;
	width: 100% !important;
}
.gallery-grid .gallery-item {
	position: relative !important;
	overflow: hidden !important;
	border-radius: 15px !important;
	display: block !important;
	width: 100% !important;
	height: 0 !important;
	padding-bottom: 75% !important;
	box-shadow: 0 5px 15px var(--shadow) !important;
	transition: transform 0.3s ease, box-shadow 0.3s ease !important;
	text-decoration: none !important;
}
.gallery-grid .gallery-item:hover {
	transform: translateY(-5px) !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}
.gallery-grid .gallery-item .gallery-image {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
	transition: transform 0.5s ease !important;
}
.gallery-grid .gallery-item:hover .gallery-image {
	transform: scale(1.1) !important;
}
.gallery-grid .gallery-item .gallery-overlay {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	background: rgba(62, 196, 21, 0.85) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	opacity: 0 !important;
	transition: opacity 0.3s ease !important;
	pointer-events: none !important;
}
.gallery-grid .gallery-item:hover .gallery-overlay {
	opacity: 1 !important;
}
.gallery-grid .gallery-item .gallery-overlay i {
	color: var(--white) !important;
	font-size: 3rem !important;
	transform: scale(0.5) !important;
	transition: transform 0.3s ease !important;
}
.gallery-grid .gallery-item:hover .gallery-overlay i {
	transform: scale(1) !important;
}
/* Responsive adjustments */
@media (max-width: 992px) {
	.gallery-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 15px !important;
	}
}
@media (max-width: 767px) {
	.gallery-section {
		padding: 3rem 0;
	}
	.gallery-section h2 {
		font-size: 2rem;
	}
	.gallery-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 10px !important;
	}
	.gallery-grid .gallery-item {
		border-radius: 10px !important;
	}
	.gallery-grid .gallery-item .gallery-overlay i {
		font-size: 2rem !important;
	}
}
@media (max-width: 575px) {
	.gallery-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 10px !important;
	}
	.gallery-grid .gallery-item {
		padding-bottom: 75% !important; /* 4:3 aspect ratio */
		border-radius: 8px !important;
	}
	.gallery-grid .gallery-item .gallery-overlay i {
		font-size: 1.5rem !important;
	}
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.shadow {
	box-shadow: 0 5px 20px var(--shadow) !important;
}
.rounded {
	border-radius: 15px !important;
}


/*
*** Inizio Media Queries
*/
/* Media queries dispositivi > Phablet */
@media ( min-width: 576px ) {
	/* Telefoni e email più compatti */
	/* .contact-details {
		flex-direction: row;
	}
	*/
}

/* Media queries dispositivi > Tablet Verticale */
@media screen and ( min-width: 768px ) {
	.hero-content {
		padding: 2rem;
	}
	.service-image {
		padding: 1rem;
	}
	.service-content {
		padding: 2rem;
	}
	.contact-form,
	.contact-info-box {
		padding: 3rem;
	}
}

/* Media queries dispositivi > Tablet Orizzontale/Laptop */
@media screen and ( min-width: 992px ) {

}

/* Media queries dispositivi > Desktop */
@media screen and ( min-width: 1200px ) {

}

/* Media queries dispositivi > Desktop (extra large) */
@media screen and ( min-width: 1400px ) {

}

/* Media queries dispositivi > Desktop (extra extra large) */
@media screen and ( min-width: 1600px ) {

}
/*
*** Fine Media Queries
*/