/* ============================================
   ABOUT PAGE — Q Fashion
   CSS specific to template-about.php
   ============================================ */

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  height: 45vh;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--green-deep);
}
.page-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,75,36,0.95) 0%, rgba(9,149,71,0.88) 40%, rgba(244,121,32,0.65) 100%);
}
.page-hero__noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 128px 128px; pointer-events: none;
}
.page-hero__content {
  position: relative; z-index: 2; text-align: center; color: var(--white);
}
.page-hero__breadcrumb {
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 16px; opacity: 0.7;
  animation: fadeUp 0.7s 0.2s both;
}
.page-hero__breadcrumb a { border-bottom: 1px solid rgba(255,255,255,0.3); transition: border-color 0.3s; }
.page-hero__breadcrumb a:hover { border-color: var(--white); }
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 300; line-height: 1.1;
  animation: fadeUp 0.7s 0.4s both;
}
.page-hero__title em { font-style: italic; font-weight: 500; color: var(--orange-light); }
.page-hero__subtitle {
  font-size: 1rem; max-width: 540px; margin: 16px auto 0; opacity: 0.75; line-height: 1.7;
  animation: fadeUp 0.7s 0.6s both;
}

/* ===== STORY ===== */
.story { padding: 100px 0; }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story__images { position: relative; }
.story__img-main {
  width: 85%; aspect-ratio: 3/4; object-fit: cover; object-position: top; border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.story__img-float {
  position: absolute; bottom: -40px; right: 0; width: 50%; aspect-ratio: 1; object-fit: cover; object-position: top;
  border-radius: 4px; border: 6px solid var(--white); box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}
.story__tag {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px;
}
.story__title {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 400; line-height: 1.2; margin-bottom: 24px;
}
.story__title em { font-style: italic; color: var(--green); }
.story__text { color: var(--gray-700); font-size: 0.92rem; line-height: 1.85; margin-bottom: 16px; }
.story__highlight {
  display: flex; gap: 12px; align-items: flex-start; padding: 20px; background: var(--cream); border-left: 3px solid var(--green); border-radius: 0 4px 4px 0; margin-top: 28px;
}
.story__highlight-icon { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.story__highlight-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.story__highlight-text { font-size: 0.88rem; color: var(--gray-700); font-style: italic; line-height: 1.7; }

/* ===== STATS ===== */
.stats {
  padding: 64px 0; background: var(--green-deep); color: var(--white);
  position: relative; overflow: hidden;
}
.stats__pattern {
  position: absolute; inset: 0; opacity: 0.06;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255,255,255,0.1) 40px, rgba(255,255,255,0.1) 41px);
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; position: relative; }
.stat { text-align: center; }
.stat__number {
  font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.5rem); font-weight: 300; color: var(--orange-light);
  line-height: 1;
}
.stat__label {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 8px; opacity: 0.7;
}

/* ===== PILLARS SECTION ===== */
.pillars-section { padding: 100px 0; background: var(--cream); }
.pillars-section .section-header { text-align: center; margin-bottom: 60px; }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.pillar-card {
  background: var(--white); border-radius: 6px; padding: 40px 28px; text-align: center;
  border: 1px solid var(--gray-200); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; overflow: hidden;
}
.pillar-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--orange)); transform: scaleX(0); transition: transform 0.4s;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.08); }
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-card__number {
  font-family: var(--font-display); font-size: 3rem; font-weight: 300; color: var(--gray-200); line-height: 1; margin-bottom: 16px;
}
.pillar-card__icon { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--green); }
.pillar-card__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.2; }
.pillar-card__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin-bottom: 4px; }
.pillar-card__sub { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin-bottom: 16px; }
.pillar-card__desc { font-size: 0.85rem; color: var(--gray-500); line-height: 1.7; }

/* ===== TIMELINE ===== */
.timeline-section { padding: 100px 0; }
.timeline-section .section-header { text-align: center; margin-bottom: 60px; }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--green), var(--orange)); transform: translateX(-50%);
}
.timeline-item { display: flex; margin-bottom: 48px; position: relative; }
.timeline-item:nth-child(odd) { flex-direction: row; padding-right: calc(50% + 40px); }
.timeline-item:nth-child(even) { flex-direction: row-reverse; padding-left: calc(50% + 40px); }
.timeline-item__dot {
  position: absolute; left: 50%; top: 8px; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%; background: var(--green); border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--green);
  z-index: 2;
}
.timeline-item__content {
  background: var(--cream); padding: 24px; border-radius: 6px; border: 1px solid var(--gray-200);
}
.timeline-item__year { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--orange); line-height: 1; margin-bottom: 6px; }
.timeline-item__title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.timeline-item__desc { font-size: 0.85rem; color: var(--gray-500); line-height: 1.7; }

/* ===== VALUES ===== */
.values { padding: 80px 0; background: var(--gray-100); }
.values .section-header { text-align: center; margin-bottom: 48px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.value-card { text-align: center; padding: 32px 24px; }
.value-card__icon { width: 56px; height: 56px; margin: 0 auto 20px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.value-card__icon svg { width: 24px; height: 24px; stroke: var(--white); fill: none; stroke-width: 1.5; }
.value-card__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.value-card__desc { font-size: 0.85rem; color: var(--gray-500); line-height: 1.7; }

/* ===== CTA SECTION ===== */
.cta-section { padding: 80px 0; text-align: center; }
.cta-section__tag { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.cta-section__title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 400; margin-bottom: 16px; }
.cta-section__title em { font-style: italic; color: var(--green); }
.cta-section__desc { font-size: 0.92rem; color: var(--gray-500); max-width: 500px; margin: 0 auto 32px; }

/* ===== RESPONSIVE — ABOUT SPECIFIC ===== */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .story__grid { gap: 48px; }
}
@media (max-width: 768px) {
  .story__grid { grid-template-columns: 1fr; gap: 40px; }
  .story__img-float { position: relative; bottom: auto; right: auto; width: 60%; margin-top: -60px; margin-left: auto; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .pillars-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .timeline::before { left: 20px; }
  .timeline-item:nth-child(odd), .timeline-item:nth-child(even) { flex-direction: row; padding-right: 0; padding-left: 60px; }
  .timeline-item__dot { left: 20px; }
  .values-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
}
