/* ========================================
   About Page Styles
   ======================================== */

/* ========================================
   Section 2: 品牌簡介
   ======================================== */
.brand-intro {
  padding: 0 40px 80px;
  background-color: #fff;
  text-align: center;
}

.brand-intro__subtitle {
  font-size: 18px;
  margin: 20px 0 40px 0;
}

.brand-intro__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand-intro__item {
  text-align: center;
}

.brand-intro__image {
  width: 100%;
  aspect-ratio: 9 / 5;
  margin: 0 auto 16px;
  border-radius: 10px;
  overflow: hidden;
}

.brand-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-intro__text {
  font-size: 14px;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.8;
}


/* ========================================
   Section 3: McCormick 介紹
   ======================================== */
.mccormick-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: #F6F2EE;
}

.mccormick-intro__content {
  padding: 20px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mccormick-intro__title {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 24px;
  color: var(--text-dark);
}

.mccormick-intro__text {
  font-size: 18px;
  line-height: 1.8;
  margin: 0 0 16px;
  color: var(--text-dark);
}

.mccormick-intro__text:last-child {
  margin-bottom: 0;
}

.mccormick-intro__map {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mccormick-intro__map img {
  width: 100%;
  height: auto;
}


/* ========================================
   Section 4: 品牌優勢
   ======================================== */
.brand-advantage {
  padding: 0 20px 80px 20px;
  background-color: #fff;
  text-align: center;
}

.brand-advantage__title {
  margin-bottom: 40px;
}

.brand-advantage__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 60px;
  max-width: 900px;
  margin: 0 auto;
}

.brand-advantage__item {
  text-align: center;
}

.brand-advantage__image {
  width: 200px;
  height: 200px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
}

.brand-advantage__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-advantage__text {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  margin: 0;
}


/* ========================================
   Section 5: 建築物大圖 + 品牌故事 Banner
   ======================================== */
.building-image {
  position: relative;
  width: 100%;
  height: 800px;
  line-height: 0;
  overflow: hidden;
}

.building-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-story-banner {
  position: absolute;
  bottom: 200px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.brand-story-banner__label {
  display: block;
  color: #fff;
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.brand-story-banner__title {
  display: block;
  font-family: 'Antonio', sans-serif;
  font-size: 100px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
  margin: 0;
  line-height: 1.5;
}


/* ========================================
   Section 7: 交錯圖文區塊
   ======================================== */
.brand-stories {
  background-color: #fff;
  padding: 80px 20px;
}

.brand-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1000px;
  height: 220px;
  margin: 0 auto 20px;
  overflow: hidden;
}

.brand-story:first-child {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.brand-story:last-child {
  margin-bottom: 0;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.brand-story__image {
  line-height: 0;
  overflow: hidden;
}

.brand-story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-story__content {
  padding: 30px 40px;
  background-color: #B49C3A;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-story__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 2;
  color: #fff;
}

.brand-story__text {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Reverse layout (image on right) */
.brand-story--reverse {
  direction: rtl;
}

.brand-story--reverse>* {
  direction: ltr;
}

/* Alternate background colors */
.brand-story:nth-child(2) .brand-story__content {
  background-color: #C27E25;
}

.brand-story:nth-child(3) .brand-story__content {
  background-color: #B46F3A;
}

.brand-story:nth-child(4) .brand-story__content {
  background-color: #B4543A;
}

@media (max-width: 1024px) {
  .mccormick-intro {
    grid-template-columns: 1fr;
  }

  .mccormick-intro__content {
    padding: 40px;
    order: 2;
  }

  .mccormick-intro__map {
    order: 1;
  }

  .brand-story-banner__title {
    font-size: 60px;
  }
}

@media (max-width: 768px) {
  .about__title {
    padding-top: 40px;
  }

  /* 品牌簡介 */
  .brand-intro__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 400px;
  }

  .brand-intro__image {
    width: 100%;
  }

  .mccormick-intro__title {
    font-size: 20px;
  }

  .mccormick-intro__text {
    font-size: 13px;
  }

  .mccormick-intro__title {
    font-size: 20px;
  }

  .mccormick-intro__text {
    font-size: 13px;
  }

  .brand-advantage__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
    max-width: 320px;
  }

  .brand-advantage__image {
    width: 150px;
    height: 150px;
  }

  .brand-advantage__text {
    font-size: 16px;
  }

  .brand-story-banner {
    bottom: 100px;
  }

  .brand-story-banner__title {
    font-size: 40px;
    letter-spacing: 2px;
  }

  .brand-story-banner__title span {
    display: block;
  }

  .building-image {
    height: 600px;
  }

  /* 交錯圖文區塊 */
  .brand-stories {
    padding: 40px 40px 80px;
  }

  .brand-story {
    grid-template-columns: 1fr;
    height: auto;
    margin-bottom: 16px;
  }

  .brand-story--reverse {
    direction: ltr;
  }

  .brand-story__image {
    height: 180px;
  }

  .brand-story__content {
    padding: 24px 20px;
  }
}