/* =========================================================
   ABOUT PAGE — Luxury Styles
   Unified with the ELEVATE REALTY Design System v6
   ========================================================= */

/* =========================================================
   HERO — CINEMATIC
   ========================================================= */
.hero-cinematic {
  min-height: 100svh;
  min-height: 100vh;
  background:
    linear-gradient(to bottom, rgba(5,8,17,0.4) 0%, rgba(5,8,17,0.95) 100%),
    url('../images/lucknow-skyline.jpg') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: white;
  position: relative;
  overflow: hidden;
  padding: var(--sp-7) 0 var(--sp-6);
}

@keyframes auroraBreathe {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.3;
  }
  33% {
    transform: scale(1.15) translate(4%, -6%);
    opacity: 0.6;
  }
  66% {
    transform: scale(0.9) translate(-4%, 4%);
    opacity: 0.4;
  }
  100% {
    transform: scale(1) translate(0, 0);
    opacity: 0.3;
  }
}

.hero-cinematic::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(29, 78, 216, 0.3) 0%, rgba(234, 179, 8, 0.08) 40%, transparent 65%);
  z-index: 1;
  animation: auroraBreathe 20s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
  filter: blur(60px);
}

.hero-cinematic > .container {
  position: relative;
  z-index: 2;
}

.hero-cinematic .eyebrow {
  color: var(--gold);
  justify-content: flex-start;
  margin-bottom: var(--sp-2);
  opacity: 0;
  animation: fadeUp 1s var(--ease) forwards 0.3s;
}

.hero-cinematic h1 {
  color: white;
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  line-height: 1.08;
  max-width: 780px;
  margin: 0 0 var(--sp-2);
  opacity: 0;
  animation: fadeUp 1s var(--ease) forwards 0.6s;
}

.hero-cinematic h3 {
  color: var(--gold);
  font-style: italic;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.9rem);
  margin-bottom: var(--sp-3);
  opacity: 0;
  animation: fadeUp 1s var(--ease) forwards 0.75s;
  text-align: left !important;
}

.hero-cinematic > .container > p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 640px;
  color: rgba(255,255,255,0.78);
  opacity: 0;
  animation: fadeUp 1s var(--ease) forwards 0.9s;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) forwards 1.2s;
}

.scroll-indicator::after {
  content: '';
  width: 1px;
  height: 40px;
  background: var(--gold);
  animation: scrollDown 2s infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================================================
   STORY LAYOUT (Who We Are + Founder)
   ========================================================= */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  align-items: center;
}

@media (min-width: 768px) {
  .story-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
}

.story-image {
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
  background: linear-gradient(160deg, var(--card), var(--ivory));
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.story-image:hover img {
  transform: scale(1.04);
}

.story-content h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  margin-bottom: 8px;
}
.story-content h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  color: var(--gold);
  margin-bottom: var(--sp-3);
  font-style: italic;
}
.story-content p {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--stone);
  margin-bottom: var(--sp-3);
  line-height: 1.8;
}

/* =========================================================
   CORE VALUES GRID
   ========================================================= */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}

@media (min-width: 540px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .values-grid { grid-template-columns: repeat(4, 1fr); }
}

.value-box {
  background: var(--card-2);
  padding: var(--sp-4);
  transition: all 0.4s var(--ease);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius-m);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.value-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.value-box:hover {
  border-color: rgba(234,179,8,0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.7), 0 0 20px rgba(234,179,8,0.1);
}

.value-box:hover::before { opacity: 1; }

.value-box::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.08), transparent);
  transform: skewX(-20deg);
  transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 1;
  pointer-events: none;
}

.value-box:hover::after {
  left: 200%;
}

.value-box h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: var(--sp-2);
  color: var(--gold);
}

.value-box p {
  color: var(--stone);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* =========================================================
   STATS SECTION
   ========================================================= */
.stats-section {
  background: var(--card);
  color: white;
  padding: var(--section-pad) 0;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item h3 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--gold);
  margin-bottom: var(--sp-2);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stat-item p {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 0;
}

/* =========================================================
   JOURNEY TIMELINE
   ========================================================= */
.timeline-container {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding: var(--sp-5) 0;
}

.timeline-line {
  position: absolute;
  left: 50px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

.timeline-item {
  position: relative;
  padding-left: 100px;
  margin-bottom: var(--sp-5);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 46px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(234,179,8,0.15);
}

.timeline-year {
  font-size: 1.4rem;
  font-family: var(--font-display);
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}

.timeline-item h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  margin-bottom: 10px;
  color: var(--ink);
}

.timeline-item p {
  color: var(--stone);
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .timeline-line { left: 20px; }
  .timeline-item { padding-left: 52px; }
  .timeline-item::before { left: 16px; }
}

/* =========================================================
   SERVICE GRID (What We Do)
   ========================================================= */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}

@media (min-width: 640px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--card);
  padding: var(--sp-4);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius-m);
  transition: all 0.4s var(--ease);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(234,179,8,0.06), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.service-card:hover {
  border-color: rgba(234,179,8,0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.7), 0 0 20px rgba(234,179,8,0.1);
}

.service-card:hover::before { opacity: 1; }

.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.08), transparent);
  transform: skewX(-20deg);
  transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 1;
  pointer-events: none;
}

.service-card:hover::after {
  left: 200%;
}

.service-card h3 {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  margin-bottom: var(--sp-2);
  color: var(--gold);
}

.service-card p {
  color: var(--stone);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* =========================================================
   MISSION & VISION
   ========================================================= */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

@media (min-width: 768px) {
  .mission-vision-grid { grid-template-columns: 1fr 1fr; }
}

.mv-box h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: var(--sp-3);
  color: var(--gold);
}
.mv-box p {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.8;
  color: var(--stone);
}

/* =========================================================
   TEAM LEADERSHIP
   ========================================================= */
.team-grid-v2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

@media (min-width: 600px) {
  .team-grid-v2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .team-grid-v2 { grid-template-columns: repeat(3, 1fr); }
}

/* Team card overrides for about page (uses action bar layout variant) */
.action-bar.about-style {
  margin-top: auto;
  display: flex;
  border: 1px solid var(--stone-line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: rgba(0,0,0,0.2);
}

.action-btn.about-style {
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-2) 8px;
  color: var(--stone);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-right: 1px solid var(--stone-line);
  border-radius: 0;
  gap: 6px;
  min-height: 60px;
}

.action-btn.about-style:last-child { border-right: none; }
.action-btn.about-style svg { opacity: 0.8; margin: 0; }

/* =========================================================
   PROCESS HORIZONTAL TIMELINE
   ========================================================= */
.process-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: var(--sp-5) 0;
  gap: var(--sp-2);
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: rgba(234,179,8,0.2);
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
  padding: 0 8px;
  /* Reset inherited styles from styles.css .process-step */
  padding-left: 8px;
  padding-bottom: 0;
  transition: transform 0.4s var(--ease);
}

.process-step:hover {
  transform: translateY(-5px);
}

.process-icon {
  width: 24px;
  height: 24px;
  background: var(--ivory);
  border: 3px solid var(--gold);
  border-radius: 50%;
  margin: 0 auto var(--sp-2);
  position: relative;
  transition: all 0.6s var(--ease-bounce);
  z-index: 2;
}

.process-step.completed .process-icon {
  background: var(--gold);
  box-shadow: 0 0 20px rgba(234,179,8,0.6);
  transform: scale(1.2);
}

.process-step:hover .process-icon {
  transform: scale(1.3);
}

.process-step::after {
  content: '';
  position: absolute;
  top: 11px; /* Center of the 24px icon */
  left: calc(50% + 12px); /* Start from edge of icon */
  width: calc(100% - 24px); /* Span to next icon */
  height: 2px;
  background: var(--gold);
  z-index: 1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.process-step.completed::after {
  transform: scaleX(1);
}

.process-step:last-child::after {
  display: none;
}

.process-step h4 {
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-display);
  font-weight: 500;
  transition: all 0.5s ease;
  margin-top: 12px;
}

.process-step.completed h4 {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

/* Remove the idx circle from about page process steps */
.process-timeline .process-step .idx { display: none; }
.process-timeline .process-step .process-line { display: none; }

@media (max-width: 768px) {
  .process-timeline {
    flex-direction: column;
    gap: var(--sp-4);
    padding: var(--sp-3) 0 var(--sp-3) var(--sp-4);
  }
  .process-timeline::before {
    display: none;
  }
  .process-step {
    text-align: left;
    display: flex;
    align-items: flex-start;
    padding: 0;
  }
  .process-icon {
    flex-shrink: 0;
    margin: 0 var(--sp-3) 0 0;
  }
  .process-step h4 {
    margin: 0;
    padding-top: 2px;
    font-size: 1.15rem;
  }
  
  .process-step::after {
    top: 24px;
    left: 11px;
    width: 2px;
    height: calc(100% + var(--sp-4) - 24px);
    transform: scaleY(0);
    transform-origin: top;
  }
  .process-step.completed::after {
    transform: scaleY(1);
    transform-origin: top;
  }
}

/* =========================================================
   PROMISE SECTION (Quote)
   ========================================================= */
.promise-section {
  background: var(--card);
  color: white;
  text-align: center;
  padding: var(--section-pad) var(--sp-3);
}

.promise-section blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.35;
  max-width: 900px;
  margin: 0 auto;
  color: var(--gold);
  font-style: italic;
}

/* =========================================================
   OFFICE SPLIT
   ========================================================= */
.office-grid {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--card);
  overflow: hidden;
  border: 1px solid var(--stone-line);
  border-radius: var(--radius-l);
}

@media (min-width: 768px) {
  .office-grid { grid-template-columns: 1fr 1fr; }
}

.office-image {
  background: url('../images/office.jpg') center / cover no-repeat;
  min-height: 280px;
}

@media (min-width: 768px) {
  .office-image { min-height: 500px; }
}

.office-content {
  padding: clamp(var(--sp-5), 6vw, var(--sp-7));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.office-content h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: var(--sp-3);
}

.office-content p {
  color: var(--stone);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  margin-bottom: var(--sp-4);
  line-height: 1.75;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

@media (max-width: 480px) {
  .contact-details-grid { grid-template-columns: 1fr; }
}

.contact-box h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 6px;
  font-weight: 600;
}

.contact-box p {
  color: var(--stone);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

/* =========================================================
   BOTTOM BADGE
   ========================================================= */
.bottom-badge {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border: 1px solid rgba(234,179,8,0.2);
  border-radius: 100px;
  font-size: 0.92rem;
  color: var(--stone);
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
  gap: 10px;
}

/* =========================================================
   LINKEDIN BADGE
   ========================================================= */
.linkedin-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.75);
  color: var(--gold);
  padding: 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(234,179,8,0.3);
  transition: all 0.3s var(--ease);
  width: 36px;
  height: 36px;
}

.linkedin-badge:hover {
  background: #0077B5;
  color: #fff;
  border-color: #0077B5;
  transform: scale(1.1);
}

/* =========================================================
   LUXURY BUTTONS (about.php uses btn-luxury)
   Remapped to design system styles
   ========================================================= */
.btn-luxury {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: transparent;
  color: white;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.4s var(--ease);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-s);
  min-height: 48px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.btn-luxury:hover {
  background: white;
  color: var(--ivory);
  border-color: white;
}

.btn-luxury:active { transform: scale(0.97); }

/* =========================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================= */
@media (max-width: 992px) {
  .story-grid { gap: var(--sp-4); }
}

@media (max-width: 640px) {
  .hero-cinematic {
    text-align: left;
    padding-top: var(--sp-6);
    padding-bottom: var(--sp-5);
  }

  .contact-details-grid { grid-template-columns: 1fr; }
}
