/* Reset base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}


body {
    background-color: #f0f4f3; /* grigio-verde molto tenue, neutro e riposante */
}


.site-header {
    border-bottom: 3px solid #0d2c3e; /* linea accent teal sotto la navbar */
}

/* Sovrascrive bg-body-tertiary con il teal brand */
.site-header .nav-link:hover,
.site-header .nav-link:focus {
    background-color: #f0f4f6;
    color: #0d2c3e !important;
    text-shadow: #F5A623;
}

/* Toggler mobile visibile su sfondo teal */
.site-header .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.4);
}
.site-header .navbar-toggler-icon {
  filter: brightness(0) invert(1);
}


/* Contenitore centrale per allineare tutto */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

/* HEADER */
.top-bar {
  background: #eee;
  text-align: right;
  padding: 5px 20px;
  font-size: 12px;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  align-items: center;
}
.row-content {
  padding-left: 80px;
  padding-right: 80px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 150px;
}

.navbar-toggler-icon{
  color: #0d2c3e;
}

/* 1. Hero Banner */
.hero-banner {
  background: #e0e0e0;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px solid #999;
}

/* 3. Griglia Regolare (Il layout base delle pagine interne) */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    border: 1px solid #000;
    padding: 20px;
    background: #f9f9f9;
}

/* 4. Lista Semplice */
.list-item {
    border: 1px solid #666;
    padding: 15px;
    margin-top: 10px;
}

/* FOOTER */

.footer {
  background: #0D2C3E;
  padding: 48px 40px 24px;
  font-family: sans-serif;
}
 
/* Wrapper interno */
.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: space-between;
}
 
/* --- Brand --- */
.footer__brand {
  flex: 1;
  min-width: 220px;
}
 
.footer__logo {
  height: 48px;
  margin-bottom: 16px;
}
 
.footer__description {
  color: #B2E8E2;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
 
/* --- Colonne link --- */
.footer__col {
  min-width: 140px;
}
 
.footer__col-title {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
 
.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
 
.footer__links li {
  color: #B2E8E2;
  font-size: 14px;
}
 
.footer__links a {
  color: #B2E8E2;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}
 
.footer__links a:hover {
  color: #fff;
}
 
/* --- CTA buttons --- */
.footer__cta {
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-start;
}
 
.footer__btn {
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.2s;
}
 
.footer__btn:hover {
  opacity: 0.85;
}
 
.footer__btn--primary {
  background: #1DADA0;
  color: #fff;
}
 
.footer__btn--secondary {
  background: #F5A623;
  color: #fff;
}
 
/* --- Bottom bar --- */
.footer__bottom {
  max-width: 1100px;
  margin: 32px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
 
.footer__copyright {
  color: #4A5568;
  font-size: 13px;
  margin: 0;
}
 
.footer__legal {
  display: flex;
  gap: 20px;
}
 
.footer__legal a {
  color: #4A5568;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
 
.footer__legal a:hover {
  color: #B2E8E2;
}
