.page-hero {
  position: relative;
  width: 100%;
  height: 40vh;
  min-height: 300px;
  max-height: 500px;
  overflow: hidden;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 56px;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(0, 0, 0, 0.2) 100%
    ),
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0) 50%
    );
  z-index: 1;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}


.page-hero__title {
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin: 0 0 10px 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease 0.1s forwards;
  opacity: 0;
}

.page-hero__subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: rgba(218, 165, 32, 0.3);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 28px;
  right: -12px;
  background-color: #d4a017;
  top: 50%;
  transform: translateY(-50%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: 1;
}

.timeline-left {
  left: 0;
}

.timeline-right {
  left: 50%;
}

.timeline-right::after {
  left: -12px;
}

.timeline-content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.timeline-content img {
  width: calc(100% + 60px);
  margin-top: -20px;
  margin-left: -30px;
  margin-right: -30px;
  margin-bottom: 20px;
  border-radius: 12px 12px 0 0;
  display: block;
}

.timeline-content p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

.gallery-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  cursor: pointer;
  border: none;
}

.gallery-card img {
  transition: transform 0.5s ease;
  width: 100%;
  display: block;
}

.gallery-card::after {
  content: '\F52A';
  font-family: bootstrap-icons !important;
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-card:hover::after {
  opacity: 1;
}

footer.bg-dark {
  background: linear-gradient(to top, #1a1a1a, #222) !important;
  border-top: 1px solid #333;
}

footer .facebook-link-container a {
  color: #ffffff;
  transition: color 0.3s ease;
}

footer .facebook-link-container a:hover {
  color: #aaaaaa;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 768px) {
  .page-hero {
    height: 30vh;
  }
  
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item::after {
    left: 19px;
  }
  
  .timeline-right {
    left: 0%;
  }
}

#fullscreen-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#fullscreen-lightbox.active {
  opacity: 1;
}
#fullscreen-lightbox .lightbox-img {
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  border-radius: 4px;
}
#fullscreen-lightbox .lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.2s ease;
}
#fullscreen-lightbox .lightbox-close:hover {
  color: #d4a017;
}