.timeline-section {
  background: var(--water);
  position: relative;
  overflow: hidden;
}

.timeline-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin: 3rem 0;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 50%;
  padding-right: 3rem;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 50%;
  padding-left: 3rem;
}

.timeline-content {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(43, 45, 66, 0.1);
  position: relative;
}

.timeline-date {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.interactive-map {
  position: relative;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(43, 45, 66, 0.1);
  margin: 3rem 0;
}

.map-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.map-marker {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border: 3px solid white;
  border-radius: 50%;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.map-marker:hover {
  background: var(--clay);
  transform: translate(-50%, -50%) scale(1.2);
}

.map-tooltip {
  position: absolute;
  background: var(--primary);
  color: white;
  padding: 1rem;
  border-radius: 8px;
  max-width: 250px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
  pointer-events: none;
}

.map-tooltip::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: var(--primary);
}

.map-marker:hover + .map-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-10px);
}

.body-diagram {
  position: relative;
  max-width: 400px;
  margin: 3rem auto;
  text-align: center;
}

.body-svg {
  width: 100%;
  height: auto;
}

.body-system {
  cursor: pointer;
  transition: all 0.3s ease;
}

.body-system:hover {
  fill: var(--accent);
  opacity: 0.8;
}

.system-info {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: 8px;
  padding: 2rem;
  margin-top: 2rem;
  display: none;
}

.system-info.active {
  display: block;
  animation: fadeInScale 0.4s ease;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.archive-catalog {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  margin: 3rem 0;
}

.catalog-header {
  background: var(--sand);
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.catalog-search {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-body);
}

.catalog-items {
  max-height: 600px;
  overflow-y: auto;
}

.catalog-item {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.catalog-item:hover {
  background: var(--water);
}

.catalog-item:last-child {
  border-bottom: none;
}

.catalog-item h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.catalog-item-meta {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.catalog-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.design-explorer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(43, 45, 66, 0.1);
  margin: 3rem 0;
}

.explorer-image {
  position: relative;
  background: var(--sand);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.explorer-image img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}

.explorer-principles {
  padding: 2rem;
  background: var(--water);
}

.principle-item {
  padding: 1rem;
  margin-bottom: 1rem;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.principle-item:hover {
  border-color: var(--accent);
  background: white;
}

.principle-item.active {
  border-color: var(--accent);
  background: white;
}

.principle-item h5 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.principle-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(131, 197, 190, 0.1), rgba(226, 149, 120, 0.1));
  animation: float 20s infinite linear;
}

.floating-circle:nth-child(1) {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-circle:nth-child(2) {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 15%;
  animation-delay: -7s;
}

.floating-circle:nth-child(3) {
  width: 80px;
  height: 80px;
  bottom: 30%;
  left: 20%;
  animation-delay: -14s;
}

@keyframes float {
  from {
    transform: translateY(0px) rotate(0deg);
  }
  to {
    transform: translateY(-20px) rotate(360deg);
  }
}

.stats-section {
  background: var(--primary);
  color: var(--water);
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.stat-item {
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--seafoam);
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(237, 246, 249, 0.8);
}

.cta-section {
  background: linear-gradient(rgba(43, 45, 66, 0.8), rgba(43, 45, 66, 0.9)), url('../images/banner4-modern-office-technology_orig.jpg') center/cover;
  background-attachment: fixed;
  color: white;
  text-align: center;
}

.cta-content h2 {
  color: white;
  font-size: 3rem;
  margin-bottom: 2rem;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.9);
}

.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-content {
  text-align: center;
  color: white;
  max-width: 600px;
  background: rgba(43, 45, 66, 0.8);
  padding: 3rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 2rem;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin: 0;
    margin-left: 4rem;
    padding: 2rem;
    text-align: left;
  }

  .timeline-date {
    left: 2rem;
    transform: translateY(-50%);
  }

  .design-explorer {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .parallax-section {
    background-attachment: scroll;
    min-height: 50vh;
  }

  .parallax-content {
    padding: 2rem;
  }
}