/* Base styles for the application */
:root {
  --primary-color: #6b4226; /* Rich brown */
  --secondary-color: #a67c52; /* Earthy tan */
  --accent-color: #deb876; /* Soft gold */
  --background-color: #f4f1ee; /* Light earth */
  --text-colo: #dacccc;
  --text-color2: #2c1b0f;
}

body {
  margin: 0;
  color: #0c1e29;
}

.expo-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  background-color: var(--background-color2);
}

.expo-hero {
  background: url('../images/gemstone.jpg') center/cover no-repeat;
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expo-hero h1 {
  font-size: 1.5rem;
}

.expo-hero .overlay {
  background-color: rgba(126, 67, 0, 0.75);
  color: #fff;
  padding: 2rem;
  text-align: center;
}

#countdown {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: #ffd700;
}

.container {
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
}

.expo-highlights {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.image-carousel {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  width: fit-content;
  animation: slideRight 30s linear infinite;
}

.image-carousel img {
  height: 200px;
  aspect-ratio: 6 / 5;
  border-radius: 5px;
  /* flex-shrink: 0; */
  transition: transform 0.5s ease;
}

.carousel-img {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
}

.expo-cta {
  background: var(--accent-color);
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
  border-radius: 5px;
}

.cta-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #0c1e29;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 3px;
}

.expo-registration {
  width: 90%;
}

.expo-registration textarea {
  max-width: 100%;
  width: 100%;
  height: 100px;
  padding: 0.75rem;
  margin: 0.5rem 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.expo-registration input,
.expo-registration button {
  display: block;
  width: 100%;
  padding: 0.75rem;
  margin: 0.5rem 0;
}

.expo-registration button {
  width: 80%;
  margin: 0 auto;
  background-color: #0c1e29;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: bold;

  border-radius: 20px;
}


/* media queries */
@media (min-width: 768px) {
  .expo-highlights {
    flex-direction: row;
    justify-content: space-between;
  }
  .highlight {
    width: 30%;
  }
}

@media (max-width: 768px) {
  .expo-hero {
    height: 40vh;
  }
  .image-carousel {
    flex-direction: column;
    align-items: center;
  }
  .image-carousel img {
    width: 100%;
    height: auto;
  }
}
@media (max-width: 500px) {
  .expo-hero {
    height: 30vh;
  }
  .expo-hero .overlay {
    padding: 1rem;
  }
  #countdown {
    font-size: 1rem;
  }
}

/* Animations */

@keyframes slideRight {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
