/* =========================================================
   PJS COLLECTIONS – ABOUT PAGE
   Professional Luxury E-commerce About Page
========================================================= */

/* =========================================================
   CSS VARIABLES
========================================================= */
/* Page-specific variables for About page */
.about-page-container {
  --about-gold: #c6a667;
  --about-gold-dark: #a28c63;
  --about-ivory: #faf7f3;
}

/* =========================================================
   GLOBAL RESET
========================================================= */
* {
  box-sizing: border-box;
}

body {
  background: var(--white);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =========================================================
   SCROLL SNAP (APPLE STYLE)
========================================================= */
#parallaxWrapper {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.parallax-slide {
  scroll-snap-align: start;
  position: relative;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  #parallaxWrapper {
    scroll-snap-type: none;
  }

  * {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   STATEMENT IMAGE (FULL SCREEN HERO)
========================================================= */
.about-statement {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Full-bleed image */
.statement-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.statement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Subtle parallax zoom */
.about-statement:hover .statement-image img {
  transform: scale(1.1);
}

/* Overlay for better text readability */
.statement-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      transparent 100%);
}

/* Text panel */
.statement-panel {
  position: relative;
  z-index: 3;
  max-width: 700px;
  margin-left: 8%;
  padding: 80px 90px;
  background: rgba(198, 166, 103, 0.92);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
}

@keyframes fadeInUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.statement-label {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.95;
}

.statement-panel h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.3;
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.5px;
  margin: 0;
}

/* =========================================================
   EDITORIAL INTRO
========================================================= */
.about-editorial {
  min-height: 90vh;
  background: var(--white);
  padding: 180px 40px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.editorial-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.editorial-title {
  font-size: 56px;
  font-weight: 400;
  margin-bottom: 20px;
  color: var(--text-dark);
  letter-spacing: -1px;
  line-height: 1.2;
}

.editorial-lead {
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 60px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.editorial-body {
  text-align: left;
}

.editorial-body p {
  font-size: 18px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-weight: 400;
}

.editorial-footer {
  margin-top: 60px;
  font-style: italic;
  color: var(--text-muted);
  font-size: 14px;
}

.editorial-body p strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* =========================================================
   ESSENCE SECTION LAYOUT
========================================================= */
.about-essence {
  min-height: 100vh;
  padding: 160px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-ivory) 50%, var(--white) 100%);
  position: relative;
}

.about-essence::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 400px at 50% -100px,
      rgba(198, 166, 103, 0.08),
      transparent 70%);
  pointer-events: none;
}

.essence-wrap {
  max-width: 1400px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  position: relative;
  z-index: 1;
}

.essence-story,
.essence-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* =========================================================
   CARD BASE (STORY + VALUES)
========================================================= */
.story-item,
.value-box {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border-radius: 16px;
  padding: 40px 36px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);

  /* Scroll reveal */
  opacity: 0;
  transform: translateY(40px);
  transition: var(--transition);
}

.story-item.visible,
.value-box.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   ICONS
========================================================= */
.story-icon,
.value-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(198, 166, 103, 0.3);
  transition: var(--transition);
}

.story-item:hover .story-icon,
.value-box:hover .value-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 24px rgba(198, 166, 103, 0.4);
}

.story-icon svg,
.value-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
  stroke: var(--white);
}

/* =========================================================
   GOLD ACCENT LINE
========================================================= */
.story-item::before,
.value-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 16px 16px 0 0;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.story-item:hover::before,
.value-box:hover::before {
  transform: scaleX(1);
}

/* =========================================================
   TYPOGRAPHY
========================================================= */
.story-item h3,
.value-box h4 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 16px 0;
  letter-spacing: -0.3px;
}

.story-item p,
.value-box p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 400;
}

/* =========================================================
   HOVER (LUXURY LIFT)
========================================================= */
@media (hover: hover) {

  .story-item:hover,
  .value-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
  }
}

/* =========================================================
   RESPONSIVE DESIGN
========================================================= */
@media (max-width: 1200px) {
  .essence-wrap {
    gap: 80px;
  }

  .statement-panel {
    margin-left: 5%;
    padding: 60px 70px;
  }
}

@media (max-width: 1024px) {
  .essence-wrap {
    grid-template-columns: 1fr;
    gap: 100px;
  }

  .essence-story,
  .essence-values {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .statement-panel {
    margin-left: 4%;
    padding: 50px 60px;
    max-width: 600px;
  }

  .about-editorial {
    padding: 140px 30px;
  }

  .editorial-title {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .statement-panel {
    margin: 0 20px;
    padding: 50px 40px;
    max-width: 100%;
  }

  .statement-panel h2 {
    font-size: 32px;
  }

  .about-editorial {
    padding: 100px 20px;
  }

  .editorial-title {
    font-size: 36px;
  }

  .editorial-lead {
    font-size: 18px;
    margin-bottom: 40px;
  }

  .editorial-body p {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .about-essence {
    padding: 100px 20px;
  }

  .essence-story,
  .essence-values {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .story-item,
  .value-box {
    padding: 32px 28px;
  }

  .story-icon,
  .value-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
  }

  .story-icon svg,
  .value-icon svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .statement-panel {
    padding: 40px 30px;
  }

  .statement-label {
    font-size: 11px;
    margin-bottom: 16px;
  }

  .statement-panel h2 {
    font-size: 28px;
  }

  .editorial-title {
    font-size: 32px;
  }

  .story-item h3,
  .value-box h4 {
    font-size: 20px;
  }

  .story-item p,
  .value-box p {
    font-size: 15px;
  }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */
.story-item:focus-visible,
.value-box:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 16px;
}

/* =========================================================
   ANIMATIONS
========================================================= */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Intersection Observer will add .visible class */
.story-item,
.value-box {
  animation: slideUp 0.6s ease forwards;
  animation-fill-mode: both;
}

.story-item:nth-child(1),
.value-box:nth-child(1) {
  animation-delay: 0.1s;
}

.story-item:nth-child(2),
.value-box:nth-child(2) {
  animation-delay: 0.2s;
}

.story-item:nth-child(3),
.value-box:nth-child(3) {
  animation-delay: 0.3s;
}

.story-item:nth-child(4),
.value-box:nth-child(4) {
  animation-delay: 0.4s;
}