@import url("https://fonts.googleapis.com/css2?family=Bangers&family=Press+Start+2P&display=swap");

body {
  background-image: url("bg.png"), linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-blend-mode: darken; /* or multiply */
  font-family: Arial, Helvetica, sans-serif;
  color:black;
  margin: 0;
}

main {
  min-height: 200vh;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info {
  margin: 4rem auto;
  max-width: 920px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
}

.info-track{
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 420px;
  margin: auto;
}

.info-card{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;

  display: flex;
  align-items: center;
  gap: 40px;

  opacity: 0;
  transition: opacity 0.5s ease-in-out;

  background: #eee;
  border-radius: 30px;
  overflow: hidden;
}

.info-card.active{
  opacity: 1;
  z-index: 2;
}

.card-image{
  flex: 0 0 50%;
  height: 420px;   /* was 250px */
}

.card-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-text{
  flex: 1;
  padding: 50px;   /* was 30px */
}

.card-text h3{
  font-size: 2rem;
}

.card-text p{
  font-size: 1.2rem;
}

.info-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3.2rem;
  height: 3.2rem;
  border: none;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0);
  color: #f3c03c;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0);
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 5;
}

.info-nav:hover {
  background: rgba(18, 18, 18, 0.9);
  transform: translateY(-50%) scale(1.05);
}

.info-nav.prev {
  left: 1.2rem;
}

.info-nav.next {
  right: 1.2rem;
}

.title {
  text-align: center;
  position: sticky;
  top: 10vh;
  z-index: 2;
  width: min(85vw, 920px);
  margin-top: -20px;
}

body h1 {
    font-size: 9em;
    color: #d1d9e0;
    text-shadow: 0px 0px 10px black;
    margin-top: 15vh;
    font-family: 'Bangers', cursive;
}

.box {
  margin: 4rem auto;
  padding: 2.5rem 2.5rem 6rem;
  max-width: 920px;
  background: rgba(24, 24, 24, 0.92);
  border-radius: 2rem;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.35);
  color: #f6f5f1;
}

.box h3 {
  margin-top: 0;
  font-size: 2.5rem;
  color: #f6f5f1;
  font-family: 'Bangers', cursive;
}

.box p {
  font-size: 1.25rem;
  line-height: 1.5;
  margin-top: 1rem;
  color: #f1f1ee;
}

.title {
  text-align: center;
}

.title span {
  display: inline-block;
}

/* Alternate per-letter colors (red/yellow/blue repeating) */
.title span:nth-child(3n+1) { color: #e23c49; }
.title span:nth-child(3n+2) { color: #f3c03c; }
.title span:nth-child(3n)   { color: #37c8d0; }

body h1 {
    font-size: clamp(2.5rem, 12vw, 9em);
    color: #d1d9e0;
    text-shadow: 0px 0px 10px black;
    margin-top: 0;
    font-family: 'Bangers', cursive;
}

body h2 {
    font-size: clamp(1.8rem, 5vw, 3em);
    color: #d1d9e0;
    text-shadow: 0px 0px 10px black;
    margin-top: 5vh;
}

.content {
    font-size: 1.5em;
    color: #d1d9e0;
    text-shadow: 0px 0px 10px black;
    margin-top: 5vh;
    font-family: 'Bangers', cursive;
    background: #262624;
}

.questions-form {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.contact-container {
  max-width: 700px;
  width: 100%;
  background: #262624;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.contact-title {
  font-family: 'Bangers', cursive;
  font-size: 3rem;
  color: #d1d9e0;
  text-align: center;
  margin-bottom: 10px;
}

.contact-subtitle {
  text-align: center;
  color: #d1d9e0;
  margin-bottom: 30px;
  opacity: 0.85;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  color: #d1d9e0;
  font-weight: bold;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 2px solid #d1d9e0;
  background: #1c1c1b;
  color: #d1d9e0;
  font-size: 1rem;
  outline: none;
  transition: 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(209,217,224,0.6);
}

.form-input:focus,
.form-textarea:focus {
  border-color: #d1d9e0;
  box-shadow: 0 0 8px rgba(209,217,224,0.4);
}

.form-submit-btn {
  margin-top: 10px;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: #d1d9e0;
  color: #262624;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.25s ease;
}

.form-submit-btn:hover {
  background: white;
  transform: translateY(-2px);
}

/* iPhone / small mobile responsiveness */
@media only screen and (max-width: 480px) {

  body {
    font-size: 14px;
  }

  .hero {
    padding-top: 5vh;
    flex-direction: column;
    align-items: center;
  }

  .info {
    flex-direction: column;
    margin: 2rem auto;
    gap: 15px;
    min-height: auto;
  }

  .info-card {
    flex-direction: column;      /* Stack image above text */
    height: auto;                /* Let height adjust automatically */
    gap: 10px;
    padding: 10px;
  }

  .card-image {
    flex: none;
    width: 100%;                 /* Full width */
    height: 180px;               /* Smaller image height */
  }

  .card-image img {
    height: 100%;
    object-fit: cover;
  }

  .card-text {
    flex: none;
    width: 100%;
    padding: 15px;               /* Reduce padding on mobile */
  }

  .info-track {
    height: auto;                /* Let the track wrap properly */
  }

  .info-nav.prev,
  .info-nav.next {
    top: auto;
    bottom: 10px;                /* Move arrows below carousel */
    transform: none;
  }

  .box {
    padding: 2rem 1.5rem 4rem;
    margin: 2rem auto;
  }

  .questions-form {
    padding: 40px 15px;
  }

  .contact-container {
    padding: 30px 20px;
  }

  .form-input,
  .form-textarea {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .form-submit-btn {
    font-size: 1rem;
    padding: 12px;
  }

  .nav-links {
    display: none; /* hide full menu */
  }

  /* Optional: full-screen mobile menu when hamburger is clicked */
  .nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;           /* below top bar */
    left: 0;
    width: 100%;
    background: #262624;
    padding: 20px;
    gap: 15px;
  }

  .nav-links.mobile-active li a {
    font-size: 1.2rem;
  }

  /* Hide everything on the right except the hamburger */
  .nav-right > a,
  .nav-login {
    display: none;
  }

  /* Keep hamburger visible */
  .hamburger {
    display: flex;
  }

  /* Nav: force full width and prevent wrapping on mobile */
  nav {
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
    height: 60px;
    flex-wrap: nowrap;
  }

  /* Optional: adjust logo size on small screens */
  .logo-circle {
    width: 36px;
    height: 36px;
    font-size: 0.75rem;
  }

  .logo-text {
    font-size: 0.7rem;
  }
  .countdown-box:nth-child(4) {
    display: none;
  }
  
  /* Optional: center remaining boxes better */
  .countdown-timer {
    justify-content: center;
    gap: 16px;
  }
 .hero {
    padding-top: 3vh !important; /* pull hero section up */
    flex-direction: column;
    align-items: center;
  }

  .hero .title h1 {
    font-size: clamp(3rem, 8vw, 6rem) !important; /* scale nicely on small screens */
    margin-top: 2vh !important;
    text-align: center !important;
    line-height: 1.1;
  }

  .hero .title h2 {
    font-size: clamp(1.5rem, 5vw, 2.5rem) !important; /* scale subtitle */
    margin-top: 1rem !important;
    text-align: center !important;
  }

  .title span {
    font-size: inherit !important; /* inherit from h1 so letters scale properly */
    line-height: 1.1;
  }
}
