/* === Estilo personalizado Ango-Itália === */

.pbmit-static-box-style-1 .pbmit-title-wrapper {
  background: rgba(0, 0, 0, 0.55);
  transition: all 0.4s ease;
}

.pbmit-static-box-style-1:hover .pbmit-title-wrapper {
  background: rgba(40, 167, 69, 0.8); /* Verde Ango-Itália */
}

.pbmit-staticbox-title a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 18px;
  transition: color 0.3s ease;
}

.pbmit-staticbox-title a:hover {
  color: #f1f1f1;
}

.pbmit-static-box-style-1 img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.4s ease;
}

.pbmit-static-box-style-1:hover img {
  transform: scale(1.05);
}

.pbmit-button-icon i {
  color: #28a745;
  font-size: 14px;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.pbmit-static-box-style-1:hover .pbmit-button-icon i {
  transform: translateX(4px);
}




/* === Linha do tempo Ango-Itália === */

.history-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  border-radius: 50%;
  background-color: rgba(40,167,69,0.1);
  padding: 8px;
}

.pbmit-timeline-year {
  color: #28a745;
  font-weight: 700;
}

.pbmit-timeline-title {
  color: #fff;
  font-size: 20px;
  margin: 8px 0;
}

.pbmit-timeline-desc {
  color: #ccc;
  font-size: 15px;
  line-height: 1.5;
}

.pbmit-timeline-wrapper {
  text-align: center;
  transition: transform 0.3s ease;
}

.pbmit-timeline-wrapper:hover {
  transform: translateY(-8px);
}


.timeline-item {
  border-left: 3px solid #1abc9c;
  padding-left: 20px;
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 12px;
  width: 16px;
  height: 16px;
  background: #1abc9c;
  border-radius: 50%;
}
.timeline-img {
  width: 100%;
  max-width: 300px;
  margin-top: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 10px rgba(255,255,255,0.1);
}
.timeline-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(26,188,156,0.5);
}





.history-card {
  text-align: left;
  padding: 15px;
  transition: all 0.3s ease;
}
.history-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}
.history-icon {
  width: 100%;
  height: auto;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s;
}
.history-icon:hover {
  transform: scale(1.05);
  opacity: 0.9;
}


.pbmit-timeline-year {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff !important;
  border: 2px solid #fff !important;
  -webkit-text-stroke: 1px #fff; /* contorno branco no número */
  font-weight: 900;
  font-size: 22px;
  padding: 5px 12px;
  border-radius: 6px;
  margin: 0;
  z-index: 5;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
}



.history-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.9);
  overflow: auto;
  animation: fadeIn 0.4s ease;
}
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
  animation: zoomIn 0.4s ease;
}
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover { color: #1abc9c; }

@keyframes zoomIn {
  from {transform: scale(0.8); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* === Modal === */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.85);
  transition: opacity 0.3s ease-in-out;
}

/* === Conteúdo === */
.modal-content {
  background-color: #101010;
  margin: auto;
  padding: 25px 35px;
  border: 2px solid #28a745;
  width: 70%;
  color: #fff;
  border-radius: 10px;
  animation: abrirModal 0.3s ease;
}

@keyframes abrirModal {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* === Botão fechar === */
.fechar {
  color: #fff;
  float: right;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
}

.fechar:hover {
  color: #28a745;
  transform: scale(1.2);
}

/* === Título com borda igual aos anos === */
.modal-titulo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.4rem;
}

.modal-titulo span {
  background-color: rgba(0,0,0,0.6);
  color: #fff;
  border: 2px solid #28a745;
  -webkit-text-stroke: 1px #28a745;
  font-weight: 900;
  font-size: 18px;
  padding: 4px 10px;
  border-radius: 6px;
  text-shadow: 0 0 6px rgba(40,167,69,0.8);
}


/* === Modal === */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background-color: rgba(0,0,0,0.85);
  padding-top: 80px;
  transition: opacity 0.3s ease-in-out;
}

/* === Conteúdo === */
.modal-content {
  position: relative;
  background-color: #101010;
  margin: auto;
  padding: 40px 35px 30px 35px;
  border: 2px solid #28a745;
  width: 70%;
  color: #fff;
  border-radius: 10px;
  animation: abrirModal 0.3s ease;
  box-shadow: 0 0 25px rgba(40,167,69,0.3);
}

/* === Botão fechar fixo no canto === */
.fechar {
  position: absolute;
  top: 12px;
  right: 15px;
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease-in-out;
}

.fechar:hover {
  background-color: #28a745;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(40,167,69,0.8);
}


/* === Mobile center adjustments === */
@media (max-width: 767px) {
  .pbmit-fid-content {
    text-align: center !important;
  }
}
.fid-icon img {
  max-width: 100%;
  height: auto;
}
