body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}
.hero {
    /*background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../resorces/Eutopia.jpg') center/cover no-repeat;*/
    color: #fff;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

/*Carousel Hero*/
.carousel-item img {
    width: 100vh;
    object-fit: cover;
    height: 400px;
}
.carousel-section {
    margin: 60px auto;
    max-width: 900px; 
    text-align: center;
}
.carousel-section .section-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #333;
}

/*Carousel Footer*/
#carouselFine {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

section {
      padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

i .service-card {
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
}


/*.tags-section {
    text-align: center;
    margin: 2rem 0;
}
.tags-section h2 {
    font-size: 1.8rem;
    font-weight: bold;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.tag-link,
.tag {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  text-decoration: none;
  background-color: #f1f1f1;
  color: #333;
  transition: 0.3s ease;
}

.tag-link {
  background-color: #800020;
  color: #fff;
}

.tag-link:hover {
  background-color: #a83240;
}

.tag {
  background-color: #e0e0e0;
}

#tooltip {
  position: relative;
  transform: translate(-50%, -100%);
  max-width: 280px;
  padding: 10px 12px;
  background: #800020;
  color: #fff;
  font-size: .9rem;
  line-height: 1.4;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s ease, visibility .15s ease, transform .15s ease;
}

#tooltip[data-show="true"] {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -120%);
}

#tooltip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #800020;
}
*/
/* Fade In (comparsa dolce) */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
}

.fade-in.show {
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide da sinistra */
.slide-left {
    opacity: 0;
    transform: translateX(-40px);
}

.slide-left.show {
    animation: slideLeft 1s ease forwards;
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.slide-right {
    opacity: 0;
    transform: translateX(40px);
}

.slide-right.show {
    animation: slideRight 1s ease forwards;
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.chi-siamo p {
    font-family: "Archivo", sans-serif;
    font-optical-sizing: auto;
    font-size: 1rem;
}

h1,
h2,
h4 {
  font-family: "Oswald", sans-serif;
  font-size: 4rem;
  font-family: Italic;
}

.event-card {
    width: 300px;
    border: none;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}


.card-img-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #f44336;
    color: white;
    font-size: 0.8rem;
    padding: 5px 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-body {
    padding: 15px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
}

.card-description {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 10px;
}

.event-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.event-info .info-item i {
    color: #555;
    margin-right: 5px;
}


.btn-discover {
    display: inline-block;
    background-color: #2c3e50;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 8px 15px;
    transition: background-color 0.3s ease;
}
.btn-discover:hover {
    background-color: #1a252f;
}

/* Responsività */
@media (max-width: 768px) {
  .event-card {
    width: 90%;
  }

  .card-img-wrapper {
    height: 160px;
  }
}