/* --- Combined CSS --- */

/* Reset & body */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #f8f8f8;
  text-align: center;
  background-color: #008080;
  background-image: url('/Assets/Images/Chips Background.png');
  background-repeat: repeat;
  background-position: absolute;
  background-size: 80vw;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  overflow: auto;
}

/* Logo */
.logo-container { width: auto; height: auto; }
.logo { width: 25vw; height: auto; min-width: 300px; }

/* Main content card */
main.content {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  position: relative;
  background: #00323280; /* rgba(0, 50, 50, 0.5) */
  border-radius: 48px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px #000000;
  max-width: 80vw;
  margin: 24px auto;
}

h1.title { font-size: 2rem; margin: 0.5rem 0; letter-spacing: 1px; }
p.subtitle { font-size: 1.1rem; color: #ccc; max-width: 480px; line-height: 1.5; }
p.subtitle em { font-style: italic; font-weight: normal; }

/* Footer pill */
footer { flex-shrink: 0; margin: 24px auto; }
.footer-pill {
  display: inline-block;
  padding: 8px 24px;
  min-width: 120px;
  text-align: center;
  background: #00323280; /* rgba(0, 0, 0, 0.6) */
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px #000000; /* rgba(0, 0, 0, 0.3) */
  color: #f8f8f8;
  font-size: 0.9rem;
  margin: 0 auto;
}

/* Slider Section */
.slider-section { display: flex; justify-content: center; margin: 24px auto; }
.slider-container {
  display: flex;
  flex-direction: row;
  background: #00323280; /* rgba(0, 50, 50, 0.5) */
  border-radius: 2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: 1900px;
  width: 90vw;
  padding: 1rem;
  gap: 1rem;
  box-sizing: border-box;
  box-shadow: 0 4px 20px #000000;
}
.slider-wrapper {
  position: relative;
  width: 80%;
  max-height: 600px;
  overflow: hidden;
  border-radius: 1.25rem;
}
.slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.8s ease;
}
.slider-slide.active { opacity: 1; z-index: 10; }
.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-content {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 90%;
}
.slide-logo { max-height: 80px; width: auto; object-fit: contain; }
.slide-text {
  background-color: #000000; opacity: .5;
  padding: 0.5rem;
  border-radius: .5rem;
  max-width: 450px;
  font-size: 1.25rem;
  color: #f8f8f8;
}
.slide-button {
  background-color: #008080;
  color: #f99c19;
  padding: 0.5rem 1rem;
  border-radius: .5rem;
  text-transform: uppercase;
  display: inline-flex;
  justify-content: center;
}
.thumbnails {
  background: #000000;
  border-radius: 0rem;
  display: flex;
  flex-direction: column;
  width: 20%;
  max-height: 600px;
}
.thumbnail {
  cursor: pointer;
  border-radius: 0rem;
  opacity: 0.5;
  transition: all 0.3s;
  flex: 1;
  object-fit: cover;
  outline: 4px solid transparent;
  outline-offset: -4px; /* pulls outline inward */
}

.thumbnail.active { outline-color: #4e9f45; opacity: 1; }
.thumbnail:hover { opacity: 1; }

/* Responsive */
@media (max-width: 1024px) {
  .slider-container { flex-direction: column; align-items: center; padding: 1rem; gap: 0.5rem; }
  .slider-wrapper { width: 100%; max-width: 900px; height: 400px; }
  .thumbnails { flex-direction: row; width: 100%; justify-content: center; gap:0; flex-wrap: nowrap; overflow-x: auto;}
  .thumbnail { min-height: 40px; min-width: 60px; width: 20%; flex: 0 0 auto; }
  .slide-button { font-size: 0.85rem; padding: 0.4rem 0.8rem; }
}
@media (max-width: 768px) {
  h1.title { font-size: 1.75rem; }
  p.subtitle { font-size: 1rem; }
  .footer-pill { font-size: 0.85rem; padding: 6px 20px; min-width: 100px; }
  .logo { width: 75vw; height: auto; }
}
@media (max-width: 480px) {
  h1.title { font-size: 1.5rem; }
  p.subtitle { font-size: 0.9rem; }
  .footer-pill { font-size: 0.8rem; padding: 4px 16px; min-width: 100px; }
}
@media (max-height: 640px) { main.content { padding-top: 36px; } }
@media (max-height: 460px) { h1.title { font-size: 1.25rem; margin-top: 6px; } p.subtitle { font-size: 0.85rem; } }
