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

/* Variables from shared.css: */
/* --primary-color: #CC0000; */
/* --secondary-color: #FFD700; */
/* --dark-bg-1: #0d0d0d; */
/* --text-light: #ffffff; */
/* --text-dark: #333333; */

.page-index-brand-story {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Default text color for the page, assuming dark body bg */
  background-color: var(--dark-bg-1);
  line-height: 1.6;
  padding-top: 10px; /* Desktop: Adjust based on fixed header height */
}

.page-index-brand-story__hero-banner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  min-height: 400px;
  overflow: hidden;
}

.page-index-brand-story__hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  max-width: 900px;
  margin-bottom: 30px;
}

.page-index-brand-story__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-index-brand-story__tagline {
  font-size: 20px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.page-index-brand-story__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-brand-story__cta-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-index-brand-story__section {
  padding: 60px 20px;
  background-color: var(--dark-bg-1);
  color: var(--text-light);
}

.page-index-brand-story__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-brand-story__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 40px;
  text-align: center;
}

.page-index-brand-story__content-block {
  max-width: 800px;
  margin-bottom: 30px;
  text-align: justify;
}

.page-index-brand-story__content-block p {
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-light);
}

.page-index-brand-story__content-block ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-index-brand-story__content-block li {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-light);
}

.page-index-brand-story__content-block a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-brand-story__content-block a:hover {
  text-decoration: underline;
}

.page-index-brand-story__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  margin-top: 20px;
}

.page-index-brand-story__values-section, .page-index-brand-story__commitment-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-index-brand-story__values-section .page-index-brand-story__section-title,
.page-index-brand-story__commitment-section .page-index-brand-story__section-title {
  color: var(--text-light);
}

.page-index-brand-story__values-section .page-index-brand-story__content-block p,
.page-index-brand-story__values-section .page-index-brand-story__content-block li,
.page-index-brand-story__commitment-section .page-index-brand-story__content-block p,
.page-index-brand-story__commitment-section .page-index-brand-story__content-block li {
  color: var(--text-light);
}

.page-index-brand-story__values-section .page-index-brand-story__content-block a,
.page-index-brand-story__commitment-section .page-index-brand-story__content-block a {
  color: var(--secondary-color);
}

/* FAQ Section */
.page-index-brand-story__faq-section {
  background-color: #1a1a1a;
  padding: 60px 20px;
}

.page-index-brand-story__faq-section .page-index-brand-story__section-title {
  color: var(--secondary-color);
}

.page-index-brand-story__faq-list {
  max-width: 900px;
  width: 100%;
  margin-top: 30px;
}

.page-index-brand-story__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-brand-story__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 20px;
  opacity: 0;
}

.page-index-brand-story__faq-item.active .page-index-brand-story__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #2a2a2a;
  border-radius: 0 0 8px 8px;
  color: var(--text-light);
}

.page-index-brand-story__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

.page-index-brand-story__faq-answer a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-brand-story__faq-answer a:hover {
  text-decoration: underline;
}

.page-index-brand-story__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #3a3a3a;
  border: 1px solid #4a4a4a;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index-brand-story__faq-question:hover {
  background: #4a4a4a;
  border-color: #5a5a5a;
}

.page-index-brand-story__faq-question:active {
  background: #5a5a5a;
}

.page-index-brand-story__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-light);
}

.page-index-brand-story__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-index-brand-story__faq-item.active .page-index-brand-story__faq-toggle {
  color: var(--text-light);
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-brand-story__main-title {
    font-size: 40px;
  }

  .page-index-brand-story__tagline {
    font-size: 18px;
  }

  .page-index-brand-story__section-title {
    font-size: 32px;
  }

  .page-index-brand-story__content-block p,
  .page-index-brand-story__content-block li {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-index-brand-story {
    padding-top: 10px !important; /* Mobile: Adjust based on mobile fixed header height */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index-brand-story__hero-banner {
    padding: 40px 15px;
    min-height: 300px;
  }

  .page-index-brand-story__hero-content {
    margin-bottom: 20px;
  }

  .page-index-brand-story__main-title {
    font-size: 32px;
  }

  .page-index-brand-story__tagline {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-index-brand-story__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }

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

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

  .page-index-brand-story__content-block {
    text-align: left;
  }

  .page-index-brand-story__content-block p,
  .page-index-brand-story__content-block li {
    font-size: 15px;
  }

  .page-index-brand-story__image-content {
    border-radius: 8px;
  }

  .page-index-brand-story__faq-list {
    margin-top: 20px;
  }

  .page-index-brand-story__faq-item {
    border-radius: 6px;
  }

  .page-index-brand-story__faq-question {
    padding: 15px;
    flex-wrap: wrap;
    border-radius: 6px;
  }
  
  .page-index-brand-story__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-index-brand-story__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  
  .page-index-brand-story__faq-answer {
    padding: 0 15px;
  }
  
  .page-index-brand-story__faq-item.active .page-index-brand-story__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all images are responsive */
  .page-index-brand-story img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index-brand-story__section,
  .page-index-brand-story__container,
  .page-index-brand-story__hero-banner,
  .page-index-brand-story__hero-content,
  .page-index-brand-story__content-block,
  .page-index-brand-story__faq-list,
  .page-index-brand-story__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}