:root {
  color-scheme: light only;
}

body {
  opacity: 1;
  transition: opacity 0.2s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.page-exit {
  opacity: 0;
}

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

main {
  animation: fadeInUp 0.3s ease-out;
}

/* Hamburger button */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: white;
  cursor: pointer;
  padding: 0;
}

@media (max-width: 767px) {
  .menu-toggle {
    display: block;
  }

  .menu {
    display: none !important;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 24px 0;
    gap: 8px;
    background-color: #142126;
    border-bottom: 2px solid rgba(252, 252, 252, 0.2);
    z-index: 100;
  }

  .menu.active {
    display: flex !important;
  }
}

/* Banner overlay — percentage-based positioning can't be done cleanly in Tailwind */
.logo-container {
  position: absolute;
  top: 35%;
  left: 20%;
  z-index: 10;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-container img {
  width: 411px;
  max-width: 100%;
  height: auto;
}

.tagline {
  position: absolute;
  top: 80%;
  width: 450px;
  font-size: 1.5rem;
  color: #3f1111;
  text-align: center;
  line-height: 1.6;
}

.highlight {
  position: absolute;
  top: 90%;
  left: 75%;
  transform: translate(-50%, -50%);
  width: 600px;
  color: #3f1111;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .logo-container {
    position: static;
    transform: none;
    width: 100%;
    margin: 0 auto;
    padding: 16px;
  }

  .tagline {
    position: static;
    width: auto;
    max-width: 90%;
    font-size: 1rem;
    margin: 8px auto;
    padding: 8px 16px;
    word-wrap: break-word;
  }

  .highlight {
    display: none;
  }
}

/* Timeline pseudo-element — requires ::before, not expressible as a Tailwind utility */
.timeline {
  border-left: 3px solid #3f1111;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  width: 12px;
  height: 12px;
  background-color: #3f1111;
  border-radius: 50%;
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 767px) {
  .timeline-item::before {
    display: none;
  }
}

/* Fullscreen image overlay */
.fullscreen-image {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  cursor: pointer;
}

.fullscreen-image img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}
