/* style/index-brand-story.css */

/* Cài đặt màu sắc và font chữ cơ bản */
.page-index-brand-story {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #FFF3E6); /* Đảm bảo tương phản trên nền tối */
  background-color: var(--background-color, #0D0E12);
}

.page-index-brand-story__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-index-brand-story__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 0;
  padding-top: 10px; /* Nhỏ gọn hơn, tránh trùng lặp với body padding-top */
  overflow: hidden;
  background-color: #0D0E12;
}

.page-index-brand-story__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-index-brand-story__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  display: block;
}

.page-index-brand-story__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(13, 14, 18, 0.7); /* Nền tối nhẹ để chữ nổi bật */
  border-radius: 10px;
}

.page-index-brand-story__main-title {
  font-size: clamp(2em, 3.5vw, 3.5em);
  color: #FFB04D; /* Glow color for main title */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-index-brand-story__hero-description {
  font-size: 1.1em;
  color: #FFF3E6;
  margin-bottom: 30px;
}

.page-index-brand-story__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-brand-story__btn-primary,
.page-index-brand-story__btn-secondary {
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-index-brand-story__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-index-brand-story__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  box-shadow: 0 0 15px #FFB04D;
}

.page-index-brand-story__btn-secondary {
  background: transparent;
  color: #FFA53A;
  border: 2px solid #A84F0C;
}

.page-index-brand-story__btn-secondary:hover {
  background: #FFA53A;
  color: #17191F;
  border-color: #FFA53A;
}

/* General Section Styling */
.page-index-brand-story__section {
  padding: 60px 0;
  background-color: var(--background-color, #0D0E12);
  color: var(--text-main-color, #FFF3E6);
}

.page-index-brand-story__dark-section {
  background-color: var(--card-bg-color, #17191F);
}

.page-index-brand-story__section-title {
  font-size: clamp(1.8em, 2.5vw, 2.5em);
  color: #FFB04D;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-index-brand-story__sub-title {
  font-size: clamp(1.4em, 2vw, 2em);
  color: #FFA53A;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

.page-index-brand-story__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-index-brand-story__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-index-brand-story {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index-brand-story__hero-section {
    padding: 40px 0;
    padding-top: 10px !important; /* body đã xử lý padding-top */
  }

  .page-index-brand-story__main-title {
    font-size: 2em;
  }

  .page-index-brand-story__hero-description {
    font-size: 1em;
  }

  .page-index-brand-story__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-index-brand-story__btn-primary,
  .page-index-brand-story__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-index-brand-story__section {
    padding: 40px 0;
  }

  .page-index-brand-story__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-index-brand-story__sub-title {
    font-size: 1.2em;
  }

  .page-index-brand-story__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-index-brand-story__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-index-brand-story__main-title {
    font-size: 1.8em;
  }
  .page-index-brand-story__section-title {
    font-size: 1.6em;
  }
}