/* === FONTS === */
@font-face {
  font-display: swap;
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lato-v24-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/lato-v24-latin-italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/lato-v24-latin-700.woff2') format('woff2');
}

/* === BASE STYLES === */
html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

footer {
	text-align: center;
	margin:auto;
}

.concept-poster {
  display: block;
  max-width: 90%;
  height: auto;
  margin: 30px auto 0 auto;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.concept-poster:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.poster-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.poster-wrapper {
  flex: 1 1 300px;
  max-width: 500px;
  text-align: center;
}

.poster-wrapper img.concept-poster {
  height: 320px; 
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.poster-caption {
  margin-top: 10px;
  font-size: 1rem;
  color: #fff;
  background: #CEB888;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
  border: 2px solid #5a4630;
  box-shadow: 0 3px 6px rgba(0,0,0,0.5);
  font-weight: bold;
}





body {
  font-family: 'Lato', sans-serif;
  background-color: #782F40;
  margin: 0;
  padding: 0;
  text-align: justify;
  color: #fff;
  overflow-x: hidden;
}

h1, h2 {
  margin-top: 0;
  filter: drop-shadow(0px 2px 2px #000);
}

/* === MAIN CONTAINER === */
#main-container {
display: flex;
justify-content: center;
width: 100%;
}

main {
  width: 100%;
  max-width: 1100px;
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 0 40px;
}

/* === SECTION STYLES === */
section {
  width: 95%;
  margin: 40px auto;
  text-align: center;
  font-size: 22px;
  line-height: 1.5;
  filter: drop-shadow(0px 3px 3px #000);
}

section ul {
  list-style: none;
  padding: 0;
}
section ul li {
  margin: 8px 0;
}

/* === SECTION TITLES === */
#games-title {
background-color: #782F40;
border: 3px solid #CEB888;
color: #CEB888;
font-weight: bold;
text-shadow: 1px 1px 2px #000;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0,0,0,0.3);
text-align: center;
font-size: clamp(1.2rem, 5vw, 1.7rem);
padding: 10px;
margin: 40px auto 20px auto;
max-width: 500px;
width: 90%;
}

/* === NAVIGATION === */
#navbar {
position: sticky;
top: 0;
z-index: 99;
width: 100%;
background-color: #1e1e1e;
text-align: center;
}

.nav-header {
  display: none;
  padding: 10px;
  text-align: right;
}

#nav-links {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-wrap: wrap;
justify-content: center;
}

#nav-links li {
margin: 20px;
padding: 20px;
}

#nav-links a {
color: #fff;
text-decoration: none;
font-weight: bold;
font-size: 20px;
transition: 0.2s ease;
}
#nav-links a:hover {
color: #CEB888;
transform: scale(1.1);
}

#menu-toggle {
background: none;
border: none;
font-size: 30px;
color: #fff;
cursor: pointer;
}

/* === SPLASH SECTION === */
#splash-screen {
  position: relative;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#splash-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(5px);
  z-index: 0;
}

#splash-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 90%;
  margin: auto;
  padding-bottom: 120px; /* Space so it doesn’t hit scroll button */
  text-align: center;
}

.splash-left h1 {
  color: #fff;
  font-size: clamp(2rem, 10vw, 5rem);
  text-shadow: 2px 2px 6px #000;
  margin: 0;
  line-height: 1.2;
  text-align:right;
  margin-left: -150px; /* adjust as needed */
}

.highlight {
  color: #CEB888;
  font-weight: 700;
}

.splash-divider {
  width: 2px;
  height: 120px;
  background: rgba(255, 255, 255, 0.2);
}

.coe-logo {
  max-width: 200px;
  height: auto;
  filter:
    drop-shadow(0 0 2px rgba(0, 0, 0, 1))  /* tight glow */
    drop-shadow(0 0 4px rgba(0, 0, 0, 0.9)) /* slightly looser */
}


/* === SCROLL BUTTON === */
.scroll-btn {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #782F40;
  color: #CEB888;
  font-size: 5rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  animation: bounce 1.6s infinite;
  transition: all 0.2s ease;
  z-index: 2;
  padding: 0px 25px 10px 25px;
}
.scroll-btn:hover {
  background-color: #b59d6a;
  color: #fff;
  transform: translateX(-50%) scale(1.1);
}

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

@media (max-width: 1100px) {

  .splash-left h1 {
	margin-left: 0px;
  }
}



/* === RESPONSIVE TWEAKS === */
@media (max-width: 700px) {
  #splash-content {
    flex-direction: column;
    gap: 20px;
    padding-bottom: 140px; /* More space on mobile */
  }

  .splash-divider {
    display: none;
  }

  .splash-left h1 {
    text-align: center;
  }
}



/* === SCROLL BUTTON === */
.scroll-btn {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #782F40;
  color: #CEB888;
  font-size: 5rem;
  border-radius: 150px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  animation: bounce 1.6s infinite;
  transition: all 0.2s ease;
  
}
.scroll-btn:hover {
  background-color: #b59d6a;
  color: #fff;
  transform: translateX(-50%) scale(1.1);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* === TEAM CARDS === */
.team-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 20px 0;
}

.team-card {
  width: 210px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  text-align: center;
  padding: 20px 0;
  transition: 0.3s ease;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}
.team-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #CEB888;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  margin-bottom: 15px;
}
.team-card h2 {
  color: #CEB888;
  font-size: 1.1rem;
  margin: 10px 0 6px;
  text-shadow: 1px 1px 3px #000;
}
.team-card p {
  font-size: 0.85rem;
  color: #ddd;
  line-height: 1.4;
  margin: 0;
}

/* === DOCUMENT BUTTONS === */
#documents {
text-align: center;
margin: 40px 0;
}
.document-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.doc-button {
  background-color: #CEB888;
  color: #782F40;
  padding: 15px 25px;
  border: 2px solid #782F40;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s ease;
}
.doc-button:hover {
  background-color: #782F40;
  color: #CEB888;
  transform: scale(1.1);
}

/* === CAROUSEL === */
.custom-carousel {
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.custom-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 30px;
  align-items: center;
  width: max-content;
}

.carousel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.carousel-img-wrapper {
  position: relative;
  z-index: 1;
}

.carousel-item img {
  height: 350px;
  border-radius: 12px;
  object-fit: cover;
  transition: 0.3s ease;
  cursor: pointer;
  opacity: 0.8;
  z-index: 1;
}

.carousel-item img.active {
  transform: scale(1.1);
  opacity: 1;
  z-index: 1; /* don't rise above caption */
}

.carousel-item p {
  position: relative;
  z-index: 2; /* ensures it's above the image */
  background-color: #CEB888;
  color: #fff;
  padding: 10px 16px;
  margin-top: 10px;
  font-weight: bold;
  font-size: 1rem;
  border: 2px solid #5a4630;
  border-radius: 12px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
}



.carousel-item img {
  height: 350px;
  border-radius: 12px;
  object-fit: cover;
  transition: 0.3s ease;
  cursor: pointer;
  opacity: 0.8;
}
.carousel-item img:hover,
.carousel-item img.active {
  transform: scale(1.1);
  opacity: 1;
  z-index: 2;
}

/* === RESPONSIVE === */
@media (max-width: 700px) {
  #splash-content {
  flex-direction: column;
  gap: 20px;
  }
  .splash-divider {
    display: none;
  }
  .splash-left h1 {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .nav-header {
    display: block;
  }

  #nav-links {
    flex-direction: column;
    align-items: center; /* this makes sure all items align center */
    background-color: #2c2c2c;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    border-top: 1px solid #222;
    width: 100%;
  }

  #nav-links.show {
    max-height: 500px;
  }

  #nav-links li {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid #222;
    text-align: center;
    box-sizing: border-box;
	margin:auto;
  }

  #nav-links li:last-child {
    border-bottom: none;
  }

  #nav-links a {
    font-size: 16px;
    display: block;
    width: 100%;
  }

  .team-card {
    width: 90%;
    margin: 0 auto;
  }

  .carousel-item img {
    height: 250px;
  }
}
