* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-y: hidden;
}

body {
  font-family: "Impact", "Arial Black", sans-serif;
  background: #0a0a0a;
  color: #ffe482;
  overflow-x: auto;
  height: 100vh;

  background-image: url("images/background_web.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.container {
  display: flex;
  align-items: center;
  height: 100vh;
  width: 100vw;
  padding: 0 2rem;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
}

.section {
  display: flex;
  min-width: 100vw;
  max-width: 100vw;
  padding: 0 4rem;
  flex-shrink: 0;
  gap: 2rem;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.text-section {
  flex: 1;
  padding-right: 2rem;
  max-width: 40rem;
}

.main {
  max-width: 20rem;
}

.image-section {
  flex: 1;
  display: flex;
  justify-content: center;
}

h1 {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  line-height: 0.8;
  margin-bottom: 2rem;
  color: #ffe482;
  text-shadow: 3px 3px 0px #333;
}

.quote {
  font-size: clamp(1.5rem, 4vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.2;
  color: #fff;
  text-shadow: 2px 2px 0px #333;
  margin-bottom: 1rem;
  word-break: break-word;
}

.author {
  font-size: clamp(1rem, 4vw, 4rem);
  color: #ffe482;
  font-weight: 700;
  text-transform: uppercase;
}

.image-placeholder {
  height: 600px;

  object-fit: cover;
  border: 3px solid #ffe482;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #ffe482;
  text-transform: uppercase;
  font-weight: 900;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: #ffe482;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #fff;
}

/* Audio control button */
.audio-control {
  position: fixed;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
  transition: all 0.3s ease;
}

.audio-control:hover {
  transform: translateY(-50%) scale(1.1);
}

.audio-control.hidden {
  opacity: 0;
  pointer-events: none;
}

.audio-icon {
  font-size: 3rem;
  color: #ffe482;
  font-weight: 900;
  text-shadow: 2px 2px 0px #333;
  margin-bottom: 0.5rem;
}

.audio-text {
  font-size: 1rem;
  color: #ffe482;
  font-weight: 700;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.2em;
}

/* Scroll indicator */
.scroll-indicator {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
  animation: pulse 2s infinite;
}

.scroll-arrow {
  font-size: 3rem;
  color: #ffe482;
  font-weight: 900;
  text-shadow: 2px 2px 0px #333;
  margin-bottom: 0.5rem;
}

.scroll-text {
  font-size: 1rem;
  color: #ffe482;
  font-weight: 700;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.2em;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: translateY(-50%) translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) translateX(5px);
  }
}

/* Hide scroll indicator on mobile to avoid clutter */
@media (max-width: 900px) {
  .scroll-indicator {
    display: none;
  }

  .audio-control {
    left: 1rem;
    top: 2rem;
    transform: none;
  }

  .audio-text {
    writing-mode: horizontal-tb;
    text-orientation: initial;
  }

  body,
  .container {
    height: auto;
    min-height: 100vh;
  }

  .image-placeholder {
    width: 50vw;
    height: 60vh;
  }

  .text-section {
    padding-right: 0;
  }

  .section {
    flex-direction: row;
    padding: 1rem;
  }
}

/* Alert Modal Styles */
.alert-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 10, 10, 0.7);
  justify-content: center;
  align-items: center;
}

.alert-modal-content {
  font-family: "Arial", "Helvetica", sans-serif;

  background: #181a1b;
  color: #ffe482;
  padding: 4rem 6rem;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  font-size: 2rem;
  text-align: center;
  position: relative;
}

.alert-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: #ffe482;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.2s;
}

.alert-modal-close:hover {
  color: #fff;
}
