/* ============================
   Font's download for onward use
============================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@500;600;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* ============================
   ShoeStore Case Study Styles
============================ */
body {
	font-family: 'Inter', sans-serif;
  /*background: linear-gradient(135deg, #FAF0E6, #FFE4E1);*/
   background-image: url("../imgs/bg/visual-stripe.png");
  background-repeat: repeat;          /* repeat vertically */
	line-height: 1.6;
}
.case-study-layout {
  display: flex;
  min-height: 100vh;
  background: #f5f7fa;
}
.case-nav {
  width: 250px;
  background: linear-gradient(180deg, #0f172a, #020617);
  border-right: 3px solid rgba(255,255,255,0.05);
  padding: 15px 10px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  justify-content: center; /* horizontal alignment */
}
/* 5️⃣ Right Panel */
.case-content {
  flex: 1;
   padding: 100px 80px;
  text-align: left; /* IMPORTANT */
}
/* HERO SECTION */
.hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  background: #eef3f8;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(
      circle at center,
      rgba(200, 220, 235, 0.35),
      transparent 60%
    );
}
/* Center overlay text */
.hero-text {
  position: absolute;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}
.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: #2f4f6f; /* muted blue */
}
.hero-text p {
  font-family: 'Inter', sans-serif;
  font-size: 2.1rem;
  font-weight: bold;
  opacity: 0.75;
  color: #8B0000;
}
/* Visual wrapper */
.hero-visual {
  position: relative;
  z-index: 1;
  pointer-events: none;
}
/* Shoe image */
.shoe {
  width: 720px;
  max-width: 120vw;
  transform-style: preserve-3d;
  will-change: transform;
}
/* Shoe shadow */
.shoe-shadow {
  position: absolute;
  width: 220px;
  height: 40px;
  background: rgba(0, 0, 0, 0.18);
  filter: blur(18px);
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  will-change: transform;
}
.shoe-shadow {
  transition: transform 0.12s ease-out;
}
/* ===== Section Meta ===== */

/* LEFT PANEL */
.shoe-nav {
	list-style: none;
  width: 100%;
  padding: 30px 0;
  margin: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: space-evenly; /* ⭐ KEY LINE */
  align-items: center;
}
.shoe-nav img {
  width: 96px;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.7;
}
.shoe-nav li img {
  width: 96px;
  cursor: pointer;
  opacity: 0.65;
  transition: all 0.3s ease;
  filter: grayscale(40%);
}
.shoe-nav li img:hover {
  opacity: 1;
  filter: grayscale(0%);
 /* transform: scale(1.08); */
  transform: scale(1.1);
 }
.shoe-nav img.active {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.15);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
   filter: drop-shadow(0 0 8px rgba(255,255,255,0.25));
  border-radius: 10px;
}
/* SECTIONS */
.case-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
   background-color: #f7f9fb;
  background-image: url("../imgs/bg/visual-stripe.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 360px auto;
}
.case-section-text {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.case-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 36px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.06),
    0 2px 6px rgba(0, 0, 0, 0.04);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.08),
    0 4px 10px rgba(0, 0, 0, 0.05);
}
.case-card-content {
  width: 700px;
  height: 220px;           /* 🔒 fixed */
  background: #ffffff;
  border-radius: 18px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
}
.case-card-title {
  width: 700px;
  height: 200px;           /* 🔒 fixed */
  background: #ffffff;
  border-radius: 18px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
}
.case-section-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
  /*min-height: 100vh;
  overflow: hidden;*/
}
.case-section-visual::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 240px;
  height: 100%;
  background-image: url("../imgs/bg/visual-stripe.png");
  background-repeat: repeat-y;
  background-size: 240px auto;
  opacity: 0.35;
  z-index: 0;
}
.case-section-media {
  display: flex;
  justify-content: center;
  align-items: center;
}
.case-section-media img {
  max-width: 420px;
  transform: translateY(30px);
}
.case-section-text,
.case-section-media {
  position: relative;
  z-index: 2;
}

/* ===== Mobile ===== */
@media (max-width: 1024px) {

  .case-content {
    padding: 4rem 3rem;
  }

  .case-section-visual {
    grid-template-columns: 1fr;   /* stack */
    gap: 2.5rem;
  }

  .case-card-title,
  .case-card-content {
    width: 100%;
    max-width: 100%;
    height: auto;                 /* 🔑 unlock height */
  }

  .case-section-media img {
    max-width: 80%;
    transform: none;
  }
}


@media (max-width: 768px) {

  /* Layout */
  .case-study-layout {
    flex-direction: column;
  }

  .case-nav {
    width: 100%;
    height: auto;
    position: relative;
    padding: 1rem 0;
  }

  .shoe-nav {
    flex-direction: row;
    height: auto;
    justify-content: center;
    gap: 1rem;
  }

  .shoe-nav img {
    width: 3.5rem;
  }

  .case-content {
    padding: 3rem 1.2rem;
  }

  /* Case Sections */
  .case-section {
    min-height: auto;
    padding: 4rem 1rem;
    background-size: 200px auto;
  }

  .case-section-text {
    gap: 1.5rem;
  }

  .case-card {
    padding: 1.5rem;
  }

  .case-card-title,
  .case-card-content {
    padding: 1.5rem;
    width: 100%;
    height: auto;
  }

  .case-section-media img {
    max-width: 90%;
  }

  /* Hero */
  .shoe {
    width: 18rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1.2rem;
  }
}

