/* Brand Narrative, Video, and Community Impact Styles */

/* 1. Our Food Section */
.story-banner-ourfood {
  position: relative;
  width: 100%;
  min-height: 520px;
  background-image: url('../assets/sanmiwago_about.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}

.story-overlay-content {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 44px 36px;
  max-width: 580px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.story-badge-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
}

.story-heading {
  font-family: var(--font-brand);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--panda-black);
  margin-bottom: 8px;
}

.story-subheading {
  font-family: var(--font-brand);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--panda-dark-red);
  margin-bottom: 16px;
}

.story-description {
  font-size: 0.95rem;
  color: var(--panda-gray);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* 2. Panda Promise Video Section */
.panda-promise-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  background-color: var(--panda-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.video-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 2;
}

.video-content-card {
  position: relative;
  z-index: 10;
  max-width: 620px;
  text-align: center;
  color: #FFFFFF;
  padding: 40px 24px;
}

.video-content-card .story-heading {
  color: #FFFFFF;
}

.video-content-card .story-subheading {
  color: #FBBF24;
  font-size: 1.25rem;
}

.video-controls-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 15;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.video-controls-btn:hover {
  background: var(--panda-red);
  border-color: var(--panda-red);
  transform: scale(1.1);
}

.video-controls-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.video-audio-notice {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 14px;
}

/* 3. Our Story Section */
.story-banner-ourstory {
  position: relative;
  width: 100%;
  min-height: 540px;
  background-image: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.6)), url('../assets/story-bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.story-logo-badge {
  max-width: 220px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.story-logo-badge img {
  width: 100%;
  max-height: 38px;
  object-fit: contain;
}

.story-banner-ourstory .story-overlay-content {
  background: rgba(18, 18, 18, 0.90);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.story-banner-ourstory .story-heading {
  color: #FFFFFF;
}

.story-banner-ourstory .story-subheading {
  color: #F87171;
}

.story-banner-ourstory .story-description {
  color: #D1D5DB;
}

/* 4. Community & Impact Section */
.community-section {
  padding: 80px 0;
  background-color: var(--panda-cream);
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.community-card-left {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 44px 36px;
  border: 1px solid var(--panda-border);
  box-shadow: var(--panda-card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.community-card-left .community-eyebrow {
  font-family: var(--font-brand);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--panda-dark-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.community-card-left .community-title {
  font-family: var(--font-brand);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--panda-black);
  margin-bottom: 12px;
}

.community-card-left .community-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--panda-charcoal);
  margin-bottom: 14px;
}

.community-card-left .community-body {
  font-size: 0.95rem;
  color: var(--panda-gray);
  line-height: 1.6;
  margin-bottom: 24px;
}

.community-card-right {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 44px 36px;
  border: 1px solid var(--panda-border);
  box-shadow: var(--panda-card-shadow);
  display: flex;
  flex-direction: column;
}

.impact-title {
  font-family: var(--font-brand);
  font-size: 2rem;
  font-weight: 900;
  color: var(--panda-black);
  margin-bottom: 24px;
}

.impact-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--panda-border);
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-brand);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--panda-dark-red);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--panda-gray);
}

.panda-cares-box {
  display: flex;
  flex-direction: column;
}

.pc-logo-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.pc-logo-img {
  height: 48px;
  width: auto;
}

.pc-stat-value {
  font-family: var(--font-brand);
  font-size: 2.2rem;
  font-weight: 900;
  color: #047857;
  line-height: 1;
}

.pc-stat-desc {
  font-size: 0.9rem;
  color: var(--panda-gray);
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 900px) {
  .community-grid {
    grid-template-columns: 1fr;
  }
  .story-heading {
    font-size: 1.8rem;
  }
  .story-overlay-content {
    padding: 30px 20px;
  }
}
