/* ============================================
   Over Ons Page — Stylesheet
   ============================================ */

.page-over-ons {
  background: var(--dark);
  color: var(--white);
}

/* --- Shared --- */
.oo-section {
  padding: 100px 0;
  position: relative;
}

.oo-section-header {
  text-align: center;
  margin-bottom: 64px;
}

.oo-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 14px;
}

.oo-section-header h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

/* ============================================
   Section 1: Hero
   ============================================ */
.oo-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.oo-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.oo-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.oo-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(13, 13, 13, 0.92) 0%,
      rgba(13, 13, 13, 0.75) 35%,
      rgba(13, 13, 13, 0.55) 55%,
      rgba(13, 13, 13, 0.7) 100%
    ),
    linear-gradient(
      180deg,
      rgba(13, 13, 13, 0.6) 0%,
      transparent 25%,
      transparent 65%,
      rgba(13, 13, 13, 0.98) 100%
    ),
    radial-gradient(
      ellipse at 15% 50%,
      rgba(27, 60, 45, 0.25) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 80% 30%,
      rgba(196, 165, 90, 0.06) 0%,
      transparent 50%
    );
}

.oo-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

/* Staggered hero reveal animation */
.oo-hero-anim {
  opacity: 0;
  transform: translateY(20px);
  animation: ooReveal 0.7s ease-out forwards;
}

.oo-hero-content .oo-tag {
  display: block;
}

.oo-hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.oo-hero-content > p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 56px;
}

.oo-hero-scroll {
  display: flex;
  align-items: center;
  gap: 12px;
}

.oo-hero-scroll span {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.oo-scroll-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  animation: ooBounce 2s ease-in-out infinite;
}

.oo-scroll-arrow svg {
  width: 16px;
  height: 16px;
}

@keyframes ooBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

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

/* ============================================
   Section 2: Story + Timeline
   ============================================ */
.oo-story {
  background: var(--dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.oo-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}

/* Story left column */
.oo-story-year-block {
  margin-bottom: 32px;
}

.oo-big-year {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  letter-spacing: -2px;
}

.oo-gold-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 2px;
  margin-top: 16px;
}

.oo-story-content .oo-tag {
  display: block;
}

.oo-story-content h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 24px;
}

.oo-story-content > p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.75;
  margin-bottom: 16px;
}

.oo-story-content > p:last-of-type {
  margin-bottom: 0;
}

/* Mini Timeline right column */
.oo-timeline-mini {
  position: relative;
  padding-left: 32px;
}

.oo-tl-line {
  position: absolute;
  left: 7px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
}

.oo-tl-item {
  display: flex;
  gap: 20px;
  position: relative;
  padding-bottom: 32px;
}

.oo-tl-item:last-child {
  padding-bottom: 0;
}

.oo-tl-dot {
  position: absolute;
  left: -32px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--dark);
  border: 2px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.oo-timeline-mini.visible .oo-tl-item:nth-child(1) .oo-tl-dot { transition-delay: 0.1s; }
.oo-timeline-mini.visible .oo-tl-item:nth-child(2) .oo-tl-dot { transition-delay: 0.25s; }
.oo-timeline-mini.visible .oo-tl-item:nth-child(3) .oo-tl-dot { transition-delay: 0.4s; }
.oo-timeline-mini.visible .oo-tl-item:nth-child(4) .oo-tl-dot { transition-delay: 0.55s; }
.oo-timeline-mini.visible .oo-tl-item:nth-child(5) .oo-tl-dot { transition-delay: 0.7s; }

.oo-timeline-mini.visible .oo-tl-dot {
  border-color: var(--gold);
  background: rgba(196, 165, 90, 0.1);
  box-shadow: 0 0 12px rgba(196, 165, 90, 0.15);
}

.oo-tl-year {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.oo-tl-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.oo-tl-content p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.5;
}

/* ============================================
   Section 3: Animated Stats
   ============================================ */
.oo-stats {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 80px 0;
}

.oo-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.oo-stat {
  text-align: center;
  padding: 40px 16px;
  border-radius: 16px;
  transition: background 0.4s ease;
}

.oo-stat:hover {
  background: rgba(255, 255, 255, 0.02);
}

.oo-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.oo-stat-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ============================================
   Section 4: Values
   ============================================ */
.oo-values {
  background: var(--dark);
}

.oo-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.oo-value-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 48px 36px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.oo-value-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, rgba(196, 165, 90, 0) 50%, transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.oo-value-card:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(196, 165, 90, 0.2);
  box-shadow: 0 0 40px rgba(196, 165, 90, 0.08), 0 0 80px rgba(196, 165, 90, 0.04);
  transform: translateY(-4px);
}

.oo-value-card:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, transparent 20%, rgba(196, 165, 90, 0.3) 50%, transparent 80%);
}

.oo-value-icon {
  width: 56px;
  height: 56px;
  color: rgba(255, 255, 255, 0.15);
  margin-bottom: 28px;
  transition: color 0.5s ease;
}

.oo-value-card:hover .oo-value-icon {
  color: var(--gold);
}

.oo-value-card h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.oo-value-card p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
}

/* ============================================
   Section 5: How We're Different
   ============================================ */
.oo-different {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.oo-diff-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.oo-diff-item:last-child {
  margin-bottom: 0;
}

.oo-diff-text h3 {
  color: var(--white);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 16px;
}

.oo-diff-text p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.75;
  margin-bottom: 20px;
}

.oo-diff-detail {
  display: flex;
  align-items: center;
  gap: 8px;
}

.oo-diff-detail svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.oo-diff-detail span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.3px;
}

/* Abstract decorative shapes */
.oo-diff-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.oo-abstract-shape {
  width: 260px;
  height: 260px;
  position: relative;
}

.oo-abstract-shape svg {
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.oo-shape-1:hover svg {
  transform: rotate(15deg) scale(1.05);
}

.oo-shape-2:hover svg {
  transform: rotate(-10deg) scale(1.05);
}

/* Slow idle animation for shapes */
.oo-shape-1 svg {
  animation: ooFloat1 8s ease-in-out infinite;
}

.oo-shape-2 svg {
  animation: ooFloat2 8s ease-in-out infinite;
}

@keyframes ooFloat1 {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(3deg) scale(1.02); }
}

@keyframes ooFloat2 {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(-3deg) scale(1.02); }
}

/* ============================================
   Section 6: Testimonial
   ============================================ */
.oo-testimonial {
  background: var(--dark);
  padding: 120px 0;
}

.oo-testimonial-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding-top: 40px;
}

.oo-quote-mark {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(5rem, 10vw, 8rem);
  line-height: 1;
  color: var(--gold);
  opacity: 0.15;
  pointer-events: none;
  user-select: none;
}

.oo-testimonial blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 32px;
}

.oo-testimonial blockquote footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.oo-testimonial blockquote cite {
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.oo-testimonial blockquote footer span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
}

.oo-testimonial blockquote footer span::before {
  content: '\2014\00a0';
}

/* ============================================
   Section 7: CTA
   ============================================ */
.oo-cta {
  padding: 80px 0 100px;
}

.oo-cta-box {
  position: relative;
  text-align: center;
  padding: 80px 48px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--green) 0%, #0f2a1e 100%);
  overflow: hidden;
}

.oo-cta-glow {
  position: absolute;
  top: -60%;
  right: -20%;
  width: 60%;
  height: 220%;
  background: radial-gradient(ellipse, rgba(196, 165, 90, 0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: ooCtaGlow 8s ease-in-out infinite;
}

@keyframes ooCtaGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.oo-cta-box .oo-tag {
  position: relative;
}

.oo-cta-box h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 16px;
  position: relative;
}

.oo-cta-box p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.05rem;
  max-width: 460px;
  margin: 0 auto 36px;
  position: relative;
}

.oo-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.oo-cta-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.oo-cta-actions .btn-outline:hover {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}

/* ============================================
   Responsive — 1024px
   ============================================ */
@media (max-width: 1024px) {
  .oo-story-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

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

  .oo-diff-item {
    gap: 40px;
  }

  .oo-abstract-shape {
    width: 200px;
    height: 200px;
  }
}

/* ============================================
   Responsive — 768px
   ============================================ */
@media (max-width: 768px) {
  .oo-section {
    padding: 72px 0;
  }

  .oo-hero {
    min-height: 75vh;
  }

  .oo-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .oo-stat {
    padding: 28px 12px;
  }

  .oo-values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .oo-value-card {
    padding: 36px 28px;
  }

  .oo-diff-item {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 56px;
  }

  /* On mobile, text always comes first */
  .oo-diff-right {
    direction: ltr;
  }

  .oo-diff-right .oo-diff-visual {
    order: 2;
  }

  .oo-diff-right .oo-diff-text {
    order: 1;
  }

  .oo-abstract-shape {
    width: 180px;
    height: 180px;
  }

  .oo-testimonial {
    padding: 80px 0;
  }

  .oo-cta-box {
    padding: 56px 24px;
  }

  .oo-cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .oo-cta-actions .btn {
    width: 260px;
  }
}

/* ============================================
   Responsive — 480px
   ============================================ */
@media (max-width: 480px) {
  .oo-hero-content h1 {
    font-size: 2rem;
  }

  .oo-big-year {
    font-size: 3.5rem;
  }

  .oo-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .oo-stat-number {
    font-size: 2.2rem;
  }

  .oo-quote-mark {
    font-size: 4rem;
  }

  .oo-testimonial blockquote p {
    font-size: 1.05rem;
  }

  .oo-abstract-shape {
    width: 150px;
    height: 150px;
  }
}
