/* ===================================================== */
/* STORY.CSS                                             */
/* CSS riêng cho trang Our Story của Seoul Soul.         */
/* Gồm: hero, philosophy, values, journey, chef section. */
/* ===================================================== */


/* ===================================================== */
/* STORY HERO                                            */
/* Phần đầu trang Our Story.                             */
/* Desktop: chữ bên trái, ảnh lớn bên phải.              */
/* ===================================================== */

.story-hero {
  position: relative;
  min-height: max(620px, calc(100svh - var(--header-height)));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #f4e4cd;
  border-bottom: 1px solid rgba(91, 61, 44, 0.09);
}

/* Ảnh hero nằm bên phải */
.story-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  border-radius: 0;
  box-shadow: none;
  background-image: url("../assets/images/story-hero-seoul.webp");
  background-position: center;
  background-size: cover;
  transform: none !important;
}

/* Lớp phủ giúp ảnh hòa vào nền và chữ dễ đọc hơn */
.story-hero__photo::after {
  background:
    linear-gradient(
      90deg,
      rgba(249, 242, 232, 0.96) 0%,
      rgba(249, 242, 232, 0.8) 25%,
      rgba(249, 242, 232, 0.28) 48%,
      transparent 68%
    );
}

/* Khối nội dung chữ trong hero */
.story-hero__content {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 72px));
  margin: 0 auto;
  padding-block: clamp(72px, 10vh, 126px);
}

.story-hero__content > div {
  max-width: 650px;
}


/* ===================================================== */
/* PHILOSOPHY SECTION                                    */
/* Ảnh và nội dung giới thiệu triết lý nhà hàng.         */
/* ===================================================== */

.philosophy-photo {
  min-height: 330px;
  border-radius: 10px;
}


/* ===================================================== */
/* VALUE ICONS                                           */
/* Ba giá trị chính của nhà hàng.                        */
/* ===================================================== */

.value-icons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 38px;
}

/* Mỗi value item là một cột nhỏ */
.value-item {
  min-height: 138px;
  padding: 0 24px;
  border-left: 1px solid rgba(91, 61, 44, 0.12);
}

/* Item đầu tiên không cần border trái */
.value-item:first-child {
  padding-left: 0;
  border-left: 0;
}

/* Tiêu đề trong value item và values grid */
.value-item h3,
.values-grid h3 {
  margin: 14px 0 6px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Mô tả trong value item và values grid */
.value-item p,
.values-grid p {
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.7;
}


/* ===================================================== */
/* JOURNEY PANEL                                         */
/* Section hành trình / timeline của nhà hàng.           */
/* ===================================================== */

.journey-panel {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  border-radius: 18px;
  padding: 38px 54px;
}

/* Timeline gồm 4 bước trên desktop */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  text-align: center;
}

/* Ảnh tròn trong từng bước timeline */
.timeline-photo {
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  border-radius: 50%;
}

/* Tiêu đề từng mốc timeline */
.timeline strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}


/* ===================================================== */
/* VALUES + CHEF SECTION                                 */
/* Khu vực giới thiệu giá trị và hình ảnh đầu bếp.       */
/* ===================================================== */

.values-chef {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
}

/* Grid các giá trị chi tiết */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 28px;
}


/* ===================================================== */
/* CHEF CARD                                             */
/* Card ảnh đầu bếp với chữ overlay phía trên ảnh.       */
/* ===================================================== */

.chef-card {
  position: relative;
  min-height: 360px;
  border-radius: 14px;
  color: var(--color-white);
}

/* Overlay tối giúp chữ trắng dễ đọc */
.chef-card::after {
  background:
    linear-gradient(
      90deg,
      rgba(33, 17, 7, 0.86),
      rgba(33, 17, 7, 0.38)
    );
}

/* Nội dung chữ trong chef card */
.chef-card__content {
  position: relative;
  z-index: 2;
  max-width: 380px;
  padding: 48px;
}

/* Đổi các text trong chef card sang màu trắng */
.chef-card .section-title,
.chef-card .copy,
.chef-card .eyebrow {
  color: var(--color-white);
}

/* Dòng chữ ký / câu slogan trong chef card */
.signature-script {
  margin-top: 22px;
  color: rgba(255, 250, 242, 0.88);
  font-family: var(--font-display);
  font-size: 30px;
  font-style: italic;
}


/* ===================================================== */
/* TABLET RESPONSIVE                                     */
/* Tối ưu Our Story cho màn hình nhỏ hơn 980px.          */
/* Hero chuyển thành chữ trên, ảnh dưới.                 */
/* ===================================================== */

@media (max-width: 980px) {
  .story-hero {
    min-height: max(620px, calc(100svh - var(--header-height)));
  }

  .story-hero__content {
    width: min(100%, calc(100% - 34px));
    padding-block: 72px;
  }

  .story-hero__photo {
    background-position: 58% center;
  }

  .journey-panel,
  .values-chef {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ===================================================== */
/* MOBILE RESPONSIVE                                     */
/* Tối ưu Our Story trên điện thoại.                     */
/* Các grid chuyển thành 1 cột để dễ đọc.                */
/* ===================================================== */

@media (max-width: 640px) {
  .story-hero {
    min-height: max(640px, calc(100svh - var(--header-height)));
  }

  .story-hero__photo {
    background-position: 66% center;
  }

  .story-hero__photo::after {
    background:
      linear-gradient(
        180deg,
        rgba(249, 242, 232, 0.9) 0%,
        rgba(249, 242, 232, 0.72) 58%,
        rgba(249, 242, 232, 0.58) 100%
      );
  }

  .story-hero__content {
    width: min(100%, calc(100% - 34px));
    padding-block: 58px;
  }

  .value-icons,
  .timeline,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-item {
    padding: 0;
    border-left: 0;
  }

  .journey-panel,
  .chef-card__content {
    padding: 26px;
  }
}
