@charset "utf-8";
/* =========================
   STILE BASE SICOP
   ========================= */

/* Body */
body {
  font-family: 'Lato', sans-serif;
  color: #333;
  line-height: 1.6;
}

/* =========================
   NAVBAR
   ========================= */
.navbar {
  background-color: #f2f2f2;
  border-bottom: 1px solid #ddd;
}
.navbar-brand img {
  max-height: 70px;
}
.nav-link {
  font-size: 1.1rem;
  margin: 0 8px;
  color: #333 !important;
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: #FF8F02 !important;
}
.dropdown-menu {
  border-radius: 0.5rem;
  border: 1px solid #ddd;
}

/* =========================
   HERO (Swiper)
   ========================= */
.swiper {
  width: 100%;
  height: 90vh;
}
.swiper-slide {
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}
.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 900px;
}
.slide-content h2 {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* =========================
   SEZIONI
   ========================= */
section {
  padding: 60px 0;
}
section h3 {
  font-family: 'Merriweather', serif;
  margin-bottom: 20px;
  color: #002855;
}

/* =========================
   TILES
   ========================= */
.tile-card {
  background-color: #f8f9fa; /* grigio chiaro pastello */
  border: 2px solid transparent;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.tile-card .icon {
  font-size: 3rem;
  color: #6c757d; /* grigio medio */
}
.tile-card h4 {
  font-family: 'Merriweather', serif;
  color: #002855;
}
.tile-card:hover {
  background-color: #e9ecef;
  border: 2px solid #FF8F02;
  box-shadow: 0 0 20px rgba(255, 143, 2, 0.4);
}
.tile-card:hover .icon {
  color: #FF8F02;
}

/* =========================
   CONSIGLIO DIRETTIVO
   ========================= */
.card {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.card img {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  height: 300px;
  object-fit: cover;
}
.card-title {
  font-family: 'Merriweather', serif;
  color: #002855;
}

/* =========================
   FOOTER
   ========================= */
.footer {
  background: #111827; /* scuro */
  color: #d1d5db;
  padding: 40px 0;
}
.footer h5 {
  color: #fff;
  font-weight: 600;
}
.footer a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer a:hover {
  color: #FF8F02;
}
/* Social buttons */
.footer .btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Prossimi Eventi */
.event-card {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.event-card img {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  height: 220px;
  object-fit: cover;
}
.event-card .card-title {
  font-family: 'Merriweather', serif;
  color: #002855;
}
.event-card .btn {
  min-width: 110px; /* pulsanti uniformi */
}

.event-card img {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  height: 220px;       /* altezza fissa */
  object-fit: cover;   /* mantiene proporzioni e ritaglia l’eccesso */
}

.event-card .btn {
  min-width: 110px;
  border-radius: 6px;
  font-weight: 500;
}
