/* ============================================
   HORIZONTAL LAYOUT STYLES
   ============================================ */

@font-face {
  font-family: 'Micaelasfont-Regular';
  src: url('../fonts/Micaelasfont-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* ============================================
   BASE STYLES
   ============================================ */

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  font-family: 'Micaelasfont-Regular', sans-serif;
}

img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

html, body {
  overflow: hidden;
  height: 100vh;
  margin: 0;
  padding: 0;
}

/* ============================================
   CUSTOM SCROLLBAR - GAME NAVY/PURPLE THEME
   ============================================ */

/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #F9F9F9;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #7E8ACD, #272E5B);
  border-radius: 10px;
  border: 2px solid #F9F9F9;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #272E5B, #000000);
  box-shadow: 0 8px 20px rgba(126, 138, 205, 0.3);
}

::-webkit-scrollbar-corner {
  background: #F9F9F9;
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #7E8ACD #F9F9F9;
}

/* Typography */
h1 {
  font-family: 'Micaelasfont-Regular', sans-serif;
  font-size: clamp(2rem, 4vw, 5rem);
}

h2 {
  font-family: 'Micaelasfont-Regular', sans-serif;
  font-size: clamp(1.5rem, 3vw, 4rem);
  color: #000000;
  text-align: center;
  z-index: 10;
  font-size: 32px;
}

p {
  font-size: clamp(1rem, 2.5vw, 2rem);
  max-width: 600px;
  font-family: "Sora", sans-serif;;
  color: #000000;
  text-align: left;
  z-index: 10;
  font-size: 14px;
  max-width: 25%;
}
/* ============================================ HORIZONTAL SCROLL LAYOUT  ============================================ */
.horizontal-scroll {
  display: flex;
  flex-wrap: nowrap;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  height: 100vh;
  width: 100vw;
  background-image: url('../imgs/HozBG.png');
  background-size: cover;
  background-position: center;
  gap: 0;
} 
.section {
  flex: 0 0 100vw;
  height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  padding: 0;
  box-sizing: border-box;
  margin: 0;
  overflow: hidden;
}

.section-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(12, 1fr);
  gap: 0;
  box-sizing: border-box;
}

.section-content > * {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
}

/*===============================================SECTION1========================================================*/
.section1 h1 {
  position: absolute;
  top: 15%;
  left: 10%;
  font-size: clamp(2.5rem, 5vw, 6rem);
  color: #000000;

}
.TV {
  position: absolute;
  width: 45%;
  top: 50%;
  right: 0%;
  transform: translateY(-50%);
}
.keywords-container {
  position: absolute;
  display: flex;
  top: 35%;
  left: 10%;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 25%;
}

.keyword-tag {
  background: #7E8ACD;
  color: black;
  padding: 12px 24px;
  border-radius: 25px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: default;
}

.keyword-tag:hover {
  background: #272E5B;
  color: aliceblue;
  transform: translateY(-2px);
  box-shadow: #15183095;
}
.IA-section h2{
  position: absolute;
  top: 55%;
  left: 10%;
  color: #000000;
  text-align: center;
  z-index: 10;
  font-size: 32px;
}

.IA-section p{
  position: absolute;
  top: 63%;
  left: 10%;
  color: #000000;
  text-align: left;
  z-index: 10;
  font-size: 14px;
  max-width: 25%;
}
/*===============================================SECTION2========================================================*/
.Control {
  position: absolute;
  width: 80%;
  top: 50%;
  left: -2%;
  transform: translateY(-50%);
}
.problem-section h2{
  position: absolute;
  top: 20%;
  left: 10%;
  color: #000000;
  font-size: 32px;
}
.problem-section p{
  position: absolute;
  top: 27%;
  left: 10%;
  color: #000000;
  text-align: left;
  z-index: 10;
  font-size: 14px;
  max-width: 25%;

}

.brief-section h2{
  position: absolute;
  top: 55%;
  left: 60%;
  color: #000000;
  text-align: center;
  z-index: 10;
  font-size: 32px;
}
.brief-section p{
  position: absolute;
  top: 62%;
  left: 60%;
  color: #000000;
  text-align: left;
  z-index: 10;
  font-size: 14px;
  max-width: 30%;
}

/*===============================================SECTION3========================================================*/
.solution-section h2{
  position: absolute;
  top: 20%;
  left: 10%;
  color: #000000;
  text-align: center;
  z-index: 10;
  font-size: 32px;
}
.solution-section p{
  position: absolute;
  top: 27%;
  left: 10%;
  color: #000000;
  text-align: left;
  z-index: 10;
  font-size: 14px;
  max-width: 25%;
}

.sitemap{
  position: absolute;
  width: 50%;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
}

 .BriefH2 h2{
  top: 70%;
  left: 15%; 
 }
 .rightUp{
  position: absolute;
  top: 62%;
  left: 30%;
  rotate: 20deg;
  scale: 0.6;
}

/*===============================================SECTION4 - HERO========================================================*/
.hero-section h2 {
  position: absolute;
  top: 10%;
  left: 10%;
  color: #000000;
  font-size: 32px;
}

.hero-section p {
  position: absolute;
  top: 17%;
  left: 10%;
  color: #000000;
  font-size: 14px;
  max-width: 40%;
}

.character-showcase {
  position: absolute;
  top: 40%;
  left: 10%;
  width: 45%;
}

.character-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
}

.character-item {
  text-align: center;
  padding: 15px;
  border-radius: 10px;
  background: rgba(126, 138, 205, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.character-item:hover {
  background: rgba(126, 138, 205, 0.2);
  transform: translateY(-3px);
}

.character-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 8px;
  margin: 10px auto 0;
  display: block;
  order: 2;
}

.character-caption {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  color: #000000;
  margin: 0 0 10px 0;
  font-weight: 500;
  order: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.character-item:hover .character-caption {
  opacity: 1;
}

.sprite-sheet-display {
  position: absolute;
  top: 10%;
  right: 0%;
  width: 50%;
  text-align: center;
}

.sprite-sheet-display h3 {
  font-family: 'Micaelasfont-Regular', sans-serif;
  font-size: 28px;
  color: #000000;
  margin-bottom: 20px;
}

.sprite-sheet-image {
  width: 50%;
  max-width: 500px;
  height: auto;

  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/*===============================================SECTION6 - ENEMIES========================================================*/
.enemy-section h2 {
  position: absolute;
  top: 15%;
  left: 10%;
  color: #000000;
  font-size: 32px;
}

.enemy-section p {
  position: absolute;
  top: 22%;
  left: 10%;
  color: #000000;
  font-size: 14px;
  max-width: 30%;
}

.enemy-grid {
  position: absolute;
  top: 35%;
  left: 10%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 80%;
}

.enemy-card {
  text-align: center;
  padding: 20px;
  border-radius: 15px;
  background: rgba(126, 138, 205, 0.1);
  transition: all 0.3s ease;
}

.enemy-card:hover {
  background: rgba(126, 138, 205, 0.2);
  transform: translateY(-5px);
}

.enemy-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 auto 15px;
}

.enemy-card h3 {
  font-family: 'Micaelasfont-Regular', sans-serif;
  font-size: 18px;
  margin-bottom: 10px;
  color: #000000;
}

.enemy-card p {
  position: static;
  font-size: 12px;
  max-width: 100%;
  margin: 0;
}

.warning{
  position: absolute;
  top: 70%;
  left: 5%;
  width: 200px;
  height: auto;
  display: block;
  transform: rotateX(-35);
}
.enemy-sprite-sheet-image{
  position: absolute;
  top: 50%;
  right: 5%;
  width: 100%;
  text-align: center;
}
/*===============================================SECTION7 - OBSTACLES========================================================*/
.obstacles-section h2 {
  position: absolute;
  top: 15%;
  left: 10%;
  color: #000000;
  font-size: 32px;
}

.obstacles-section p {
  position: absolute;
  top: 22%;
  left: 10%;
  color: #000000;
  font-size: 14px;
  max-width: 40%;
}

.obstacle-gallery {
  position: absolute;
  top: 35%;
  left: 10%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  width: 80%;
}

.obstacle-card {
  text-align: center;
  padding: 20px;
  border-radius: 15px;
  background: rgba(126, 138, 205, 0.1);
  transition: all 0.3s ease;
}


.obstacle-image {
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  margin: 0 auto 15px;
}

.obstacle-card h3 {
  font-family: 'Micaelasfont-Regular', sans-serif;
  font-size: 18px;
  margin-bottom: 10px;
  color: #000000;
}

.obstacle-card p {
  position: static;
  font-size: 12px;
  max-width: 100%;
  margin: 0;
}

/*===============================================SECTION8 - ENVIRONMENTS========================================================*/
.environments-section h2 {
  position: absolute;
  top: 15%;
  left: 10%;
  color: #000000;
  font-size: 32px;
}

.environments-section p {
  position: absolute;
  top: 22%;
  left: 10%;
  color: #000000;
  font-size: 14px;
  max-width: 40%;
}

.environment-gallery {
  position: absolute;
  top: 35%;
  left: 10%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  width: 80%;
  height: 50%;
}

.env-card:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.env-card:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}

.env-card:nth-child(3) {
  grid-column: 2;
  grid-row: 1 / 3;
}

.env-card {
  text-align: center;
  padding: 20px;
  border-radius: 15px;
  background: rgba(126, 138, 205, 0.1);
  transition: all 0.3s ease;
}

.env-image {
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  margin: 0 auto 15px;
}

.env-card h3 {
  font-family: 'Micaelasfont-Regular', sans-serif;
  font-size: 18px;
  margin-bottom: 10px;
  color: #000000;
}

.env-card p {
  position: static;
  font-size: 12px;
  max-width: 100%;
  margin: 0;
}

/*===============================================SECTION9 - HUD & UI========================================================*/
.hud-ui-section h2 {
  position: absolute;
  top: 15%;
  left: 10%;
  color: #000000;
  font-size: 32px;
}

.hud-ui-section p {
  position: absolute;
  top: 22%;
  left: 10%;
  color: #000000;
  font-size: 14px;
  max-width: 40%;
}

.hud-gallery {
  position: absolute;
  top: 35%;
  left: 10%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  width: 80%;
}

.hud-card {
  text-align: center;
  padding: 20px;
  border-radius: 15px;
  background: rgba(126, 138, 205, 0.1);
  transition: all 0.3s ease;
}

.hud-image {
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  margin: 0 auto 15px;
}

.hud-card h3 {
  font-family: 'Micaelasfont-Regular', sans-serif;
  font-size: 18px;
  margin-bottom: 10px;
  color: #000000;
}

.hud-card p {
  position: static;
  font-size: 12px;
  max-width: 100%;
  margin: 0;
}

/*===============================================SECTION10 - BRANDING========================================================*/
.branding-section h2 {
  position: absolute;
  top: 15%;
  left: 10%;
  color: #000000;
  font-size: 32px;
}

.branding-section p {
  position: absolute;
  top: 22%;
  left: 10%;
  color: #000000;
  font-size: 14px;
  max-width: 40%;
}

.branding-showcase {
  position: absolute;
  top: 35%;
  left: 10%;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.logo-display, .color-palette, .Typography {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.logo-display h3, .color-palette h3, .Typography h3 {
  font-family: 'Micaelasfont-Regular', sans-serif;
  font-size: 20px;
  margin-bottom: 20px;
  color: #000000;
  text-align: center;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: left;
}

.brand-logo {
  width: 400px;
  height: auto;
  object-fit: contain;
}

.brand-type {
  width: 300px;
  height: auto;
  object-fit: contain;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.color-swatch {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.color-swatch:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.color-red { background-color: #C3667C; color: white; }
.color-navy { background-color: #272E5B; color: white; }
.color-gold { background-color: #CDB76E; color: black; }
.color-purple { background-color: #7E8ACD; color: white; }
.color-yellow { background-color: #C7B560; color: black; }
.color-light-gray { background-color: #F9F9F9; color: black; border: 2px solid #ddd; }
.color-black { background-color: #000000; color: white; }

/*===============================================SECTION11 - STYLE FRAMES========================================================*/
.walkthrough-section h2 {
  position: absolute;
  top: 15%;
  left: 10%;
  color: #000000;
  font-size: 32px;
}

.walkthrough-section p {
  position: absolute;
  top: 22%;
  left: 10%;
  color: #000000;
  font-size: 14px;
  max-width: 20%;
}

.screen{
  position: absolute;
  top: 10%;
  right: 0%;
  width: 60%;
  height: auto;
}

.AAWalk{
  position: absolute;
  top: 30%;
  right: 16.25%;
  width: 30%;
  height: auto;
  box-shadow: 0 8px 24px #272E5B;
}

@media (min-width: 1921px) {
  /* Scale up typography for large screens */
  h1 {
    font-size: clamp(4rem, 6vw, 8rem) !important;
  }
  
  h2 {
    font-size: 48px !important;
  }
  
  p {
    font-size: 20px !important;
  }
  
  /* Scale up section-specific typography */
  .section1 h1 {
    font-size: clamp(4rem, 6vw, 8rem) !important;
  }
  
  .keyword-tag {
    font-size: 18px !important;
    padding: 16px 32px !important;
  }
  
  .IA-section h2,
  .problem-section h2,
  .brief-section h2,
  .solution-section h2,
  .hero-section h2,
  .enemy-section h2,
  .obstacles-section h2,
  .environments-section h2,
  .hud-ui-section h2,
  .branding-section h2,
  .walkthrough-section h2 {
    font-size: 48px !important;
  }
  
  .IA-section p,
  .problem-section p,
  .brief-section p,
  .solution-section p,
  .hero-section p,
  .enemy-section p,
  .obstacles-section p,
  .environments-section p,
  .hud-ui-section p,
  .branding-section p,
  .walkthrough-section p {
    font-size: 20px !important;
    max-width: 25%;
  }
  
  .character-caption {
    font-size: 16px !important;
  }
  
  .sprite-sheet-display h3 {
    font-size: 36px !important;
  }
  
  .enemy-card h3,
  .obstacle-card h3,
  .env-card h3,
  .hud-card h3 {
    font-size: 24px !important;
  }
  
  .enemy-card p,
  .obstacle-card p,
  .env-card p,
  .hud-card p {
    font-size: 16px !important;
  }
  
  .logo-display h3,
  .color-palette h3,
  .Typography h3 {
    font-size: 28px !important;
  }
  
  .color-swatch {
    font-size: 14px !important;
    width: 100px !important;
    height: 100px !important;
  }
 .Control{
  left: -15%;
 }

  .problem-section h2, .problem-section p {
    left: 60%;
  }

.branding-showcase{
  align-items: center;
  left: 50%;
  transform: translateX(-50%);
  justify-content: center;
}
}