/* Base Styles */
body {
  margin: 0;
  padding: 0;
  background-color: white;
  color: black;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 100vh;
  padding: 4vw;
  box-sizing: border-box;
  position: relative;
}

.text-box {
  max-width: 45%;
}

.text-box h1 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.text-box p {
  font-size: 1.5rem;
  color: #444;
}

.steve-img {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100vh;
  object-fit: contain;
  z-index: 1;
}

/* Media Queries */
@media (max-width: 768px) and (orientation: portrait) {
  .container {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 4vh 6vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
  }

  .text-box {
    margin-top: 2vh;
    margin-bottom: 2vh;
    z-index: 2;
  }

  .text-box h1 {
    font-size: 2.2rem;
    margin-bottom: 0.3rem;
  }

  .text-box p {
    font-size: 1rem;
    color: #444;
  }

  .steve-img {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 65vh;
    object-fit: contain;
    z-index: 0;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 4vh 6vw;
    height: 100vh;
    position: relative;
  }

  .text-box {
    max-width: 75%;
    margin: 0;
    padding: 0;
  }

  .text-box h1 {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
  }

  .text-box p {
    font-size: 1.2rem;
  }

  .steve-img {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 85vh;
    object-fit: contain;
  }
}

/* Scroll Down Icon */
.scroll-down {
  position: absolute;
  bottom: 2vh;
  left: 15%;
  transform: translateX(-50%);
  font-size: 2rem;
  cursor: pointer;
  animation: bounce 1.5s infinite;
  z-index: 5;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Timeline */
/* TIMELINE SECTION */
#timeline {
  position: relative;
  background: #f9f9f9;
  padding: 4rem 2rem;
}

/* LINE - now inside the first event only */
.timeline-line {
  position: absolute;
  left: 58px;
  top: 0;
  width: 4px;
  background: #888;
  z-index: 0;
  transition: height 0.5s ease-out;
  /* Remove fixed height */
}



/* EACH EVENT */
.event {
  position: relative;
  margin-left: 80px;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}

.event.visible {
  opacity: 1;
  transform: translateY(0);
}

/* DOTS */
.event-dot {
  position: absolute;
  left: -58px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-color: #888;
  border-radius: 50%;
  z-index: 2;
}

/* FIRST DOT NO PATCH NEEDED — LINE BEGINS FROM IT */

.event h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #222;
}

.event p {
  margin: 0.5rem 0 1rem;
  font-size: 1rem;
  color: #444;
}

.event img {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateX(-100px);
  transition: all 0.8s ease-out;
}
.event.visible img {
  opacity: 1;
  transform: translateX(0);
}

#apple-showcase {
  padding: 4rem 2rem;
  text-align: center;
  background: #f0f0f0;
}

.device-icons {
  margin-bottom: 2rem;
}

.device-icons button {
  margin: 0.5rem;
  padding: 0.8rem 1.2rem;
  font-size: 1.2rem;
  border: none;
  border-radius: 8px;
  background-color: #222;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.device-icons button:hover {
  background-color: #555;
}

.device-info {
  max-width: 400px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.device-info img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

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

.thank-you-section {
  padding: 3rem 1rem 2rem;
  margin: 0 auto;
  max-width: 600px;
  text-align: center;
  background-color: white;
}



.thank-you-section .think-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  background-color: black;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.thank-you-section .think-button:hover {
  background-color: #333;
}

