﻿/* HERO */
.history-hero {
  height: 90vh;
  position: relative;
  overflow: hidden;
}

.history-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.history-slide.active {
  opacity: 1;
}

/* OVERLAY */
.history-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.2);

  display: flex;
  justify-content: center;
  align-items: center;
}

.history-overlay h1 {
  color: white;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 2px;
}

/* CONTENT */
.history-content {
  padding: 60px 0;
  max-width: 900px;
}


.intro {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  background: #f9fafc;
  color: #1f2937;
}


/* TEXT */
.history-content p {
  font-size: 1.1rem;
  line-height: 1.9;
  text-align: justify;
  margin-bottom: 18px;
  color: #1f2937;
}

/* TIMELINE SECTION */
.history-timeline {
  position: relative;
  padding-left: 20px;
  margin-top: 40px;
  
  display: flex;
  
  flex-direction: column;
  
  gap: 20px;
}

/*.history-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
}*/

/* EACH MILESTONE */
.milestone {
  background: white;
  padding: 20px 25px;
  border-left: 5px solid var(--primary);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  position: relative;
}

.milestone::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 25px;
  width: 15px;
  height: 15px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid white;
}

/* HOVER EFFECT */
.milestone:hover {
  transform: translateX(8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* YEAR LABEL */
.milestone h3 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1.2rem;
}

/* TEXT */
.milestone p {
  color: #555;
  line-height: 1.6;
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .history-overlay h1 {
    font-size: 2rem;
  }
}