/* =========================
   GLOBAL
========================= */

body {
  font-family: din-condensed, sans-serif;
  color: #111;
}

.case-study {
  max-width: 1200px;
  margin: 80px auto;
  padding: 40px 80px;
}

/* =========================
   BACK BUTTON
========================= */

.back-button {
  display: inline-block;
  margin-top: 50px;
  padding: 20px 48px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: 0.3s ease;
}

.back-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* =========================
   HERO
========================= */

.cs-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 80px;
  padding-bottom: 6rem;
}

.cs-hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.95;
}

.hero-sub {
  font-family: "bebas-neue-pro", sans-serif;
  font-size: 1.5rem;
  max-width: 500px;
  line-height: 1.6;
}

.hero-meta {
  margin-top: 30px;
  font-size: 2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  gap: 20px;
}

.hero-content img {
  margin-top: 30px;
  margin-bottom: 30px;
  width: 75px;
  height: 75px;
  object-fit: contain;
}

.hero-image img {
  position: relative;
  left: -150px;
  width: 150%;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 50px 40px rgba(0, 0, 0, 0.5));
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* =========================
   TYPOGRAPHY
========================= */

h2 {
  font-size: 2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

p {
  font-family: "bebas-neue-pro", sans-serif;
  font-size: 1.5rem;
  line-height: 1.8;
  max-width: 650px;
}

/* =========================
   TWO COLUMN HERO STYLE (optional use)
========================= */

.cs-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

/* =========================
   PROCESS IMAGE SYSTEM (IMPORTANT FIX)
========================= */

.process-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* PROCESS IMAGES (BALANCED CASE STUDY SIZE) */
.process-gallery img {
  width: 100%;
  height: auto;
  max-height: 260px;   /* BIGGER = readable */
  object-fit: contain;  /* keeps full image visible */
  border-radius: 12px;
  background: #f5f5f5;
  padding: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

/* hover effect (optional but nice) */
.process-gallery img:hover {
  transform: scale(1.02);
}

/* images automatically go right via markup */
.process-gallery {
  margin-top: 0;
}

/* =========================
   VIDEO SECTION
========================= */

.cs-video {
  margin-bottom: 120px;
}

/* =========================
   NAVBAR (CLEAN + RESPONSIVE)
========================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 2px solid black;
  z-index: 1000;
}

/* inner wrapper controls layout */
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2.5rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* LOGO */
.nav-logo img {
  height: 28px;
  width: auto;
}

/* CENTER LINKS */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

/* NAV LINKS STYLE */
.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: black;
  padding: 0.4rem 0.6rem;
  transition: 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.6;
}

/* RIGHT TEXT */
.nav-extra {
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

/* =========================
   MOBILE NAV FIX
========================= */

@media screen and (max-width: 768px) {

  .nav-container {
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .nav-extra {
    display: none; /* keeps mobile clean */
  }
}

/* =========================
   BACK BUTTON CTA (duplicate safe)
========================= */

.cta-button,
.cta-button2 {
  display: inline-block;
  margin-top: 50px;
  padding: 20px 48px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: 0.3s ease;
}

.cta-button:hover,
.cta-button2:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* =========================
   MOBILE FIX
========================= */

@media screen and (max-width: 768px) {

  .case-study {
    padding: 40px 24px;
    margin: 60px auto;
  }

  .cs-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image img {
    left: 0;
    width: 100%;
  }

  .cs-brand,
  .cs-research,
  .cs-planning,
  .cs-challenge {
    grid-template-columns: 1fr;
  }

  .process-gallery img {
    height: auto;
  }

  p {
    font-size: 1.3rem;
  }

  h2 {
    font-size: 1.6rem;
  }
}

/* =========================
   CASE STUDY 2-COLUMN LAYOUT (FIXED)
========================= */

.cs-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

/* LEFT COLUMN (TEXT) */
.text-column p {
  max-width: 1550px;
  margin-bottom: 20px;
}

/* RIGHT COLUMN (IMAGES) */
.image-column {
  display: flex;
  justify-content: flex-end;
}

/* IMAGE STACK */
.process-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
}

/* IMAGE SIZE (READABLE BUT CLEAN) */
.process-gallery img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  border-radius: 12px;
  background: #f5f5f5;
  padding: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* MOBILE STACK */
@media screen and (max-width: 768px) {
  .cs-layout {
    grid-template-columns: 1fr;
  }

  .image-column {
    justify-content: flex-start;
  }
}

