/* ===========================
   CSS RESET
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===========================
   BODY & BASE STYLES
   =========================== */
body {
  font-family: "Impact", "Arial Black", sans-serif;
  margin: 0;
  padding: 0;
  background: #967859;
}

h1,
h2 {
  font-family: "Bungee Inline", sans-serif; /* Sets special font for headings */
  font-weight: 400; /* Sets font weight to normal */
  font-style: normal; /* Ensures text is not italic */
}

/* ===========================
   PAGE LAYOUT CONTAINERS
   =========================== */
.page-container {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}

.inner-container {
  background-color: #c9a876;
  padding: 20px 20px;
  display: grid;

  border-radius: 50px;
  border: #967859;

  margin: 50px;
}

.secondary-page-container {
  margin: 100px auto 0 auto;
  max-width: 1300px;
}

/* ===========================
   NAVIGATION BAR
   =========================== */
.top-navigation {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 15px 75px;
  background: #3a3a3a;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-button {
  font-family: "Bungee Inline", sans-serif;
  background: #ffffff;
  border: 2px solid #999;
  border-radius: 10px;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  color: #000;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
  transition: all 0.2s;
}

.nav-button:hover {
  background: teal;
  border: 2px solid #f5f5dc;
  color: #f5f5dc;
  transform: translateY(-1px);
}

/* ===========================
   MAIN CONTENT AREA
   =========================== */
.main-content {
  padding: 40px;
  position: relative;
}

/* ===========================
   PROJECT HEADER SECTION
   =========================== */
.project-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  margin-bottom: 50px;
  align-items: start;
}

.header-left {
  max-width: 800px;
}

.project-title {
  font-size: 110px;
  font-weight: 900;
  color: #000000;
  letter-spacing: 3px;
  margin: 0 0 30px 0;
  line-height: 0.9;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.header-right {
  display: flex;
  align-items: flex-start;
}

.main-poster {
  width: 500px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 10px;
}

/* ===========================
   INTRODUCTION SECTION
   =========================== */
.intro-section {
  margin-top: 400px;
  position: relative;
}

.intro-text {
  font-family: "Arial", sans-serif;
  font-size: 20px;
  line-height: 1.6;
  color: #000000;
  margin-bottom: 20px;
  max-width: 600px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  right: 0px;
  bottom: -30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.scroll-text {
  font-family: "Bungee Inline", sans-serif;
  font-size: 18px;
  color: #000000;
}

.arrow-down {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* ===========================
   SECTION DIVIDER
   =========================== */
.section-divider {
  border: none;
  border-top: 3px solid #000000;
  margin: 0 0 50px 0;
}

/* ===========================
   TWO COLUMN SECTIONS
   =========================== */
.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);

  gap: 40px; /* ← this is your 20px gap */
  align-items: stretch; /* ← forces top & bottom alignment */
  margin-bottom: 50px;
}

.two-column-section-reversed {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);

  gap: 40px; /* ← this is your 20px gap */
  align-items: stretch; /* ← forces top & bottom alignment */
  margin-bottom: 50px;
}

.column-left,
.column-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* top + bottom aligned */
}

/* ===========================
   TEXT BOXES
   =========================== */
.text-box-1 {
  width: 100%;
  height: 100%; /* match image height */

  background: #3a3a3a;
  border: 8px outset #f5f5dc;
  border-radius: 20px;

  padding: 35px;

  display: flex;
  flex-direction: column;
  gap: 16px;
}

.text-box-2 {
  width: 100%;
  height: 100%; /* match image height */

  background: #3a3a3a;
  border: 8px outset #f5f5dc;
  border-radius: 20px;

  padding: 35px;

  display: flex;
  flex-direction: column;
  gap: 16px;
}

.text-box-2 {
  flex: 1;
}

.light-box {
  background: #3a3a3a;
  border: 8px outset #f5f5dc;
  border-radius: 20px;

  padding: 35px;
}

.text-box-3 {
  background: #3a3a3a;
  border: 8px outset #f5f5dc;
  border-radius: 20px;

  padding: 35px;
}

.box-title {
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1px;
  margin: 0;
}

.box-text {
  font-family: "Arial", sans-serif;
  font-size: 20px;
  line-height: 1.7;
  margin: 0;
  color: #fff;
}

/* ===========================
   COLUMN IMAGES
   =========================== */
.column-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  align-self: stretch;

  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.poster-image {
  width: 100%;
  height: auto;
  object-fit: contain;

  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* ===========================
   FULL WIDTH SECTION
   =========================== */
.full-width-section {
  margin-bottom: 50px;
}

/* ===========================
   IMAGE GALLERY
   =========================== */
.image-gallery {
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* ===========================
   BACK BUTTON SECTION
   =========================== */
.back-section {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.back-button {
  font-family: "Bungee Inline", sans-serif;
  background: linear-gradient(to bottom, #e8e8e8, #c8c8c8);
  border: 2px solid #999;
  border-radius: 25px;
  padding: 15px 50px;
  text-align: center;
  text-decoration: none;
  color: #000;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.2s;
  display: inline-block;
}

.back-button:hover {
  background: teal;
  border: 2px solid #f5f5dc;
  color: #f5f5dc;
  transform: translateY(-1px);
}

/* ===========================
   FOOTER SECTION
   =========================== */
.footer-section {
  font-family: "Bungee Inline", sans-serif;
  background-color: #2a3439;
  padding: 35px 40px;
}

.footer-navigation {
  display: grid;
  grid-template-rows: repeat(5, auto);
  gap: 12px;
  max-width: 300px;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 22px;
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}

.footer-link:hover {
  color: teal;
  padding-left: 8px;
}

.arrow {
  font-size: 18px;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* Tablet - 1200px and below */
@media (max-width: 1200px) {
  .project-title {
    font-size: 65px;
  }

  .scroll-indicator {
    right: -120px;
  }

  .main-poster {
    width: 300px;
  }
}

/* Tablet - 900px and below */
@media (max-width: 900px) {
  .top-navigation {
    grid-template-columns: repeat(3, 1fr);
    padding: 15px 30px;
  }

  .nav-button {
    font-size: 16px;
  }

  .inner-container {
    margin: 30px;
    padding: 15px;
  }

  .main-content {
    padding: 30px;
  }

  .project-header {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .header-right {
    justify-content: center;
  }

  .project-title {
    font-size: 55px;
  }

  .two-column-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .gallery-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .scroll-indicator {
    position: static;
    margin-top: 20px;
  }
}

/* Mobile - 600px and below */
@media (max-width: 600px) {
  .top-navigation {
    grid-template-columns: repeat(2, 1fr);
    padding: 15px 20px;
    gap: 8px;
  }

  .nav-button {
    font-size: 14px;
    padding: 8px 15px;
  }

  .inner-container {
    margin: 20px;
    padding: 10px;
    border-radius: 30px;
  }

  .main-content {
    padding: 20px;
  }

  .project-title {
    font-size: 40px;
  }

  .intro-text {
    font-size: 15px;
  }

  .main-poster {
    width: 100%;
    max-width: 300px;
  }

  .text-box {
    padding: 25px;
  }

  .box-title {
    font-size: 24px;
  }

  .box-text {
    font-size: 14px;
  }

  .gallery-row {
    grid-template-columns: 1fr;
  }

  .back-button {
    font-size: 18px;
    padding: 12px 35px;
  }
}
