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

:root {
  --c1688-primary: #11A84E;
  --c1688-secondary: #22C768;
  --c1688-background: #08160F;
  --c1688-card-bg: #11271B;
  --c1688-text-main: #F2FFF6;
  --c1688-text-secondary: #A7D9B8;
  --c1688-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --c1688-border: #2E7A4E;
  --c1688-glow: #57E38D;
  --c1688-gold: #F2C14E;
  --c1688-divider: #1E3A2A;
  --c1688-deep-green: #0A4B2C;
}

.page-index-c1688-brand-story {
  background-color: var(--c1688-background);
  color: var(--c1688-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-index-c1688-brand-story__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 60px;
  background-color: var(--c1688-deep-green); /* Use a darker green for hero section background */
}

.page-index-c1688-brand-story__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px; /* Space between image and content */
  overflow: hidden;
  border-radius: 12px;
}

.page-index-c1688-brand-story__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Enforce minimum size */
}

.page-index-c1688-brand-story__hero-content {
  max-width: 900px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  color: var(--c1688-text-main);
}

.page-index-c1688-brand-story__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: var(--c1688-text-main);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-index-c1688-brand-story__description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  color: var(--c1688-text-secondary);
  margin-bottom: 30px;
}

.page-index-c1688-brand-story__btn-primary,
.page-index-c1688-brand-story__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-c1688-brand-story__btn-primary {
  background: var(--c1688-button-gradient);
  color: var(--c1688-text-main);
  border: 2px solid transparent;
  margin-right: 15px;
}

.page-index-c1688-brand-story__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px var(--c1688-glow);
}

.page-index-c1688-brand-story__btn-secondary {
  background: transparent;
  color: var(--c1688-primary);
  border: 2px solid var(--c1688-primary);
}

.page-index-c1688-brand-story__btn-secondary:hover {
  background: var(--c1688-primary);
  color: var(--c1688-text-main);
}

/* General Sections */
.page-index-c1688-brand-story__introduction-section,
.page-index-c1688-brand-story__mission-vision-section,
.page-index-c1688-brand-story__values-section,
.page-index-c1688-brand-story__cta-section {
  padding: 60px 0;
  background-color: var(--c1688-background);
  color: var(--c1688-text-main);
}

.page-index-c1688-brand-story__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: var(--c1688-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
}

.page-index-c1688-brand-story__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--c1688-primary);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-index-c1688-brand-story p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: var(--c1688-text-secondary);
  text-align: justify;
}

.page-index-c1688-brand-story__mission-vision-grid,
.page-index-c1688-brand-story__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-index-c1688-brand-story__card,
.page-index-c1688-brand-story__value-item {
  background-color: var(--c1688-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--c1688-border);
  transition: transform 0.3s ease;
}

.page-index-c1688-brand-story__card:hover,
.page-index-c1688-brand-story__value-item:hover {
  transform: translateY(-5px);
}

.page-index-c1688-brand-story__card-title,
.page-index-c1688-brand-story__value-title {
  font-size: 1.5em;
  color: var(--c1688-text-main);
  margin-bottom: 15px;
  font-weight: bold;
  text-align: center;
}

.page-index-c1688-brand-story__card p,
.page-index-c1688-brand-story__value-item p {
  font-size: 1em;
  color: var(--c1688-text-secondary);
  text-align: justify;
}

.page-index-c1688-brand-story__image-full {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-top: 40px;
  object-fit: cover;
  min-height: 200px; /* Ensure min size */
}

.page-index-c1688-brand-story__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-index-c1688-brand-story__container,
  .page-index-c1688-brand-story__hero-section,
  .page-index-c1688-brand-story__introduction-section,
  .page-index-c1688-brand-story__mission-vision-section,
  .page-index-c1688-brand-story__values-section,
  .page-index-c1688-brand-story__cta-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-index-c1688-brand-story__hero-section {
    padding-bottom: 40px;
  }

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

  .page-index-c1688-brand-story__description {
    font-size: 1em;
  }

  .page-index-c1688-brand-story__section-title {
    font-size: 1.8em;
  }

  .page-index-c1688-brand-story p {
    font-size: 1em;
  }

  .page-index-c1688-brand-story__mission-vision-grid,
  .page-index-c1688-brand-story__values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-c1688-brand-story__image-full,
  .page-index-c1688-brand-story__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-index-c1688-brand-story__btn-primary,
  .page-index-c1688-brand-story__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    padding: 12px 20px;
  }

  /* Ensure video sections also respect padding-top */
  .page-index-c1688-brand-story__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}