﻿/* ==========================================
   Variabili globali
========================================== */
:root {
	--nav-height: 80px;
	--bg-page: #fdfaf5; /* avorio */
	--btn-color: #66978d; /* verde acqua delicato */
	--btn-hover: #8cc6be;
	--font-family: 'Poppins', sans-serif;
}

/* ==========================================
   Reset base
========================================== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
	height: 100%;
	font-family: var(--font-family);
}

body {
	padding-top: var(--nav-height);
	/*background: var(--bg-page) url("/img_background.jpg") center/cover no-repeat fixed;*/
	background-color: #174c5a;
}

/* ==========================================
   Navbar
========================================== */
.navbar.fixed-top {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: var(--nav-height);
	z-index: 1050;
	display: flex;
	align-items: center; /* centro verticale */
	justify-content: space-between; /* aggiunto */
	justify-content: space-between; /* aggiunto */
	padding-top: 0;
	padding-bottom: 0;
}

/* Logo */
.navbar-brand {
	display: flex;
	align-items: center;
	padding: 0;
}

.logo {
	height: 60px;
	width: auto;
	object-fit: contain;
}

/* Lista menu desktop */
#navList {
	display: flex;
	align-items: center;
	gap: 20px;
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
}

.nav-link {
	color: #555 !important;
	font-weight: 500;
	padding: 8px 16px;
	transition: color 0.2s ease;
}

	.nav-link:hover {
		color: #333 !important;
	}

/* Pulsante CTA */
.btn-primary {
	background-color: var(--btn-color);
	border-color: var(--btn-color);
	border-radius: 30px;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

	.btn-primary:hover {
		background-color: var(--btn-hover);
		border-color: var(--btn-hover);
		transform: translateY(-2px);
	}

/* ==========================================
   Bottone hamburger
========================================== */
.navbar-toggler {
	border: none;
	padding: 0.25rem 0.5rem;
}

/* Icona hamburger */
.navbar-light .navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
	background-size: 24px 24px;
}

/* ==========================================
   Menu mobile
========================================== */
@media (max-width: 992px) {
	.navbar-collapse {
		background-color: var(--bg-page);
		padding: 10px;
	}

	#navList {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
}


.cookie-banner {
	z-index: 9999;
	font-size: 0.9rem;
}

	.cookie-banner a {
		text-decoration: underline;
	}

/* Footer testo più leggibile */
footer.bg-dark {
    background-color: #222 !important; /* leggermente più chiaro del nero */
    color: #f8f9fa !important; /* testo chiaro */
}

footer.bg-dark h6 {
    color: #ffffff !important; /* titoli ben visibili */
}

footer.bg-dark a {
    color: #b8ebe0 !important; /* verde pastello coordinato al sito */
    text-decoration: none;
}

footer.bg-dark a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

footer.bg-dark small {
    color: #e0e0e0 !important;
}

