body {
  margin: 0;
  background: #f0f4f8;
  font-family: 'Segoe UI', sans-serif;
}

.tree-container {
  position: relative;
  padding: 50px 20px;
  max-width: 1200px;
  margin: auto;
}

.trunk {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #5c4033;
  transform: translateX(-50%);
  z-index: 0;
}

.branch {
  position: relative;
  width: 50%;
  padding: 30px;
  box-sizing: border-box;
}

.branch-left {
  left: 0;
  text-align: right;
}

.branch-right {
  left: 50%;
  text-align: left;
}

.branch-content {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  padding: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  color: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.branch-content img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.branch::before {
  content: "";
  position: absolute;
  top: 40px;
  width: 50px;
  height: 4px;
  background: #5c4033;
  z-index: 0;
}

.branch-left::before {
  right: 0;
}

.branch-right::before {
  left: 0;
}

@media screen and (max-width: 768px) {
  .branch {
    width: 100%;
    left: 0 !important;
    text-align: center;
    margin-top: 40px;
  }

  .branch::before {
    display: none;
  }

  .trunk {
    display: none;
  }
}
.photo-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.photo-gallery img {
  width: calc(33.33% - 10px);
  border-radius: 8px;
  object-fit: cover;
}
/* Galeria com zoom */
.photo-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.photo-gallery img {
  width: calc(33.33% - 10px);
  border-radius: 8px;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.photo-gallery img:hover {
  transform: scale(1.05);
}

/* Lightbox overlay */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  cursor: zoom-out;
}
.timeline::before {
  background: linear-gradient(to bottom, #007bff, #00d4ff);
  width: 4px;
}



