/* ==========================================================================
   NOVORA Luxury Digital Agency — About Page Styles
   File: about.css
   Language: Arabic (RTL)
   ========================================================================== */

/* 1. About Hero (.about-hero)
   -------------------------------------------------------------------------- */
.about-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--near-black);
  position: relative;
  padding-top: 8rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-aurora);
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

.about-hero-content {
  max-width: 800px;
  text-align: center;
  margin-inline: auto;
  position: relative;
  z-index: 2;
  width: 100%;
}

.about-hero h1 {
  margin-bottom: 1.5rem;
  color: var(--ice);
  letter-spacing: -0.02em;
}

.about-hero h1 span {
  color: var(--emerald);
}

.about-hero p {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.8;
  max-width: 650px;
  margin-inline: auto;
  color: var(--cool-grey);
}

/* 2. Process Section (.process-section)
   -------------------------------------------------------------------------- */
.process-section {
  background-color: var(--ice);
  padding: var(--section-padding) 0;
  position: relative;
}

.process-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.process-header h2 {
  color: var(--near-black);
  margin-bottom: 0.75rem;
}

.process-header p {
  color: var(--slate);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  max-width: 600px;
  margin-inline: auto;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

/* Connecting line across step circles */
.process-timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  right: 12.5%;
  width: 75%;
  height: 2px;
  background-color: var(--emerald);
  opacity: 0.35;
  z-index: 1;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 0.5rem;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--emerald);
  color: var(--near-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--ice), 0 4px 15px rgba(16, 185, 129, 0.25);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.process-step:hover .step-number {
  transform: scale(1.12);
  box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.2), 0 6px 20px rgba(16, 185, 129, 0.4);
}

.step-title {
  font-family: var(--font-display);
  font-size: var(--font-h3);
  color: var(--near-black);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.step-desc {
  color: var(--slate);
  font-size: var(--font-small);
  line-height: 1.7;
}

/* 3. Three.js Section (.three-section)
   -------------------------------------------------------------------------- */
.three-section {
  background-color: var(--near-black);
  padding: var(--section-padding) 0;
  text-align: center;
  position: relative;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.three-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-emerald-glow);
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
}

.three-container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#threeCanvas {
  width: 100%;
  max-width: 500px;
  height: 400px;
  margin: 0 auto;
  display: block;
  position: relative;
  z-index: 2;
  border-radius: var(--border-radius);
  outline: none;
}

.three-caption {
  font-family: var(--font-display);
  font-size: var(--font-h3);
  color: var(--cool-grey);
  margin-top: 2rem;
  position: relative;
  z-index: 2;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.three-caption span {
  color: var(--emerald);
  font-weight: 700;
}

/* 4. Values Section (.values-section)
   -------------------------------------------------------------------------- */
.values-section {
  background-color: var(--slate);
  padding: var(--section-padding) 0;
}

.values-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.values-header h2 {
  color: var(--ice);
  margin-bottom: 0.75rem;
}

.values-header p {
  color: var(--cool-grey);
  max-width: 600px;
  margin-inline: auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-block {
  padding: 2rem 2.25rem;
  text-align: right;
  display: flex;
  flex-direction: column;
}

.value-block h3 {
  font-family: var(--font-display);
  font-size: var(--font-h2);
  color: var(--ice);
  margin-bottom: 1rem;
}

.value-block p {
  color: var(--cool-grey);
  line-height: 1.8;
  font-size: var(--font-body-size);
}

/* In RTL: border-right serves as the inner divider between items */
.value-block + .value-block {
  border-right: 1px solid rgba(156, 163, 175, 0.15);
}

/* 5. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .process-timeline {
    gap: 1rem;
  }

  .values-grid {
    gap: 1.5rem;
  }

  .value-block {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding-top: 6.5rem;
    padding-bottom: 4rem;
  }

  /* Vertical timeline on mobile RTL */
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding-right: 0.5rem;
  }

  .process-timeline::before {
    top: 24px;
    right: 23px;
    width: 2px;
    height: calc(100% - 48px);
  }

  .process-step {
    text-align: right;
    padding-right: 4.5rem;
    padding-left: 0;
  }

  .step-number {
    position: absolute;
    right: 0;
    top: 0;
    margin: 0;
  }

  #threeCanvas {
    max-width: 100%;
    height: 320px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .value-block {
    padding: 2rem 0;
  }

  .value-block + .value-block {
    border-right: none;
    border-top: 1px solid rgba(156, 163, 175, 0.15);
  }
}

@media (max-width: 480px) {
  .process-step {
    padding-right: 3.75rem;
  }

  .step-number {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .process-timeline::before {
    right: 20px;
  }

  #threeCanvas {
    height: 260px;
  }

  .three-caption {
    font-size: 1.1rem;
  }
}
