/* ============================================================
   company-our-story.css
   Raviera Ceylon Pvt Ltd — Our Story Page
   All values reference main.css design tokens only.
   ============================================================ */

/* ── Loading ────────────────────────────────────────────────── */
.loading-overlay { position: fixed; inset: 0; z-index: 9999; background: var(--bg-primary); display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease, visibility 0.5s ease; }
.loading-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-spinner { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.spinner-ring { width: 48px; height: 48px; border: 3px solid rgba(251,191,36,0.2); border-top-color: var(--primary-gold); border-radius: 50%; animation: rcSpinRing 0.8s linear infinite; }
@keyframes rcSpinRing { to { transform: rotate(360deg); } }
.loading-text { font-family: var(--font-heading); color: var(--primary-gold); font-size: 1.1rem; letter-spacing: 0.15em; }

/* ── Reveal ─────────────────────────────────────────────────── */
.reveal-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-on-scroll.revealed { opacity: 1; transform: none; }

/* ── Section Base ───────────────────────────────────────────── */
.os-section { padding: 5rem 0; background: var(--bg-primary); }
.os-section-alt { background: var(--bg-secondary); }
.os-section-dark { background: var(--gradient-primary); }
.os-eyebrow { display: inline-block; font-family: var(--font-primary); font-size: 0.75rem; font-weight: var(--font-weight-semibold); letter-spacing: 0.2em; text-transform: uppercase; color: var(--primary-gold); margin-bottom: 0.5rem; }
.os-eyebrow--light { color: var(--secondary-gold); }
.os-section-title { font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: var(--font-weight-bold); color: var(--text-primary); margin-bottom: 0.75rem; }
.os-section-title--light { color: var(--white); }
.os-section-subtitle { font-family: var(--font-primary); font-size: 1rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.os-section-subtitle--light { color: rgba(255,255,255,0.70); }
.os-body-text { font-family: var(--font-primary); font-size: 0.95rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 1rem; }

/* ── Founder Quote ──────────────────────────────────────────── */
.os-founder-quote { border-left: 3px solid var(--primary-gold); padding-left: 1.5rem; margin-top: 1.5rem; }
.os-quote-icon { font-size: 1.5rem; color: var(--primary-gold); opacity: 0.4; display: block; margin-bottom: 0.5rem; }
.os-quote-text { font-family: var(--font-heading); font-size: 1.05rem; font-style: italic; color: var(--primary-gold); line-height: 1.55; margin-bottom: 0.5rem; }
.os-quote-cite { font-family: var(--font-primary); font-size: 0.8rem; color: var(--text-muted); font-style: normal; }

/* ── Origin Card ────────────────────────────────────────────── */
.os-origin-card { background: var(--bg-secondary); border: 1px solid var(--primary-gold); border-radius: 16px; padding: 2rem; text-align: center; }
.os-origin-icon { width: 64px; height: 64px; border-radius: 16px; background: rgba(251,191,36,0.1); border: 1px solid rgba(251,191,36,0.3); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; font-size: 1.6rem; color: var(--primary-gold); }
.os-origin-card-title { font-family: var(--font-heading); font-size: 1.15rem; font-weight: var(--font-weight-bold); color: var(--text-primary); margin-bottom: 0.75rem; }
.os-origin-card-text { font-family: var(--font-primary); font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.25rem; }
.os-origin-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.os-origin-tags span { font-size: 0.72rem; font-family: var(--font-primary); color: var(--primary-gold); background: rgba(251,191,36,0.1); border: 1px solid rgba(251,191,36,0.3); border-radius: 100px; padding: 0.2rem 0.75rem; }

/* ── Timeline ───────────────────────────────────────────────── */
.os-timeline { position: relative; padding-left: 2rem; }
.os-timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--primary-gold), rgba(251,191,36,0.1)); }
.os-timeline-item { position: relative; padding: 0 0 2.5rem 2rem; }
.os-timeline-item:last-child { padding-bottom: 0; }
.os-timeline-dot { position: absolute; left: -2.4rem; top: 0.2rem; width: 14px; height: 14px; border-radius: 50%; background: var(--primary-gold); border: 2px solid var(--bg-secondary); box-shadow: 0 0 10px rgba(251,191,36,0.4); transition: transform 0.25s ease; }
.os-timeline-item:hover .os-timeline-dot { transform: scale(1.4); }
.os-timeline-year { display: inline-block; font-family: var(--font-primary); font-size: 0.72rem; font-weight: var(--font-weight-bold); letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary-gold); background: rgba(251,191,36,0.1); border: 1px solid rgba(251,191,36,0.3); border-radius: 100px; padding: 0.15rem 0.65rem; margin-bottom: 0.5rem; }
.os-timeline-title { font-family: var(--font-heading); font-size: 1.05rem; font-weight: var(--font-weight-bold); color: var(--text-primary); margin-bottom: 0.4rem; }
.os-timeline-text { font-family: var(--font-primary); font-size: 0.87rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ── Future Phase Cards ─────────────────────────────────────── */
.os-future-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10); border-radius: 14px; padding: 2rem; height: 100%; transition: border-color 0.3s ease, background 0.3s ease; }
.os-future-card:hover { border-color: var(--primary-gold); background: rgba(251,191,36,0.05); }
.os-future-phase { display: inline-block; font-family: var(--font-primary); font-size: 0.68rem; font-weight: var(--font-weight-bold); letter-spacing: 0.12em; text-transform: uppercase; color: var(--bg-primary); background: var(--primary-gold); border-radius: 100px; padding: 0.2rem 0.75rem; margin-bottom: 0.75rem; }
.os-future-title { font-family: var(--font-heading); font-size: 1rem; font-weight: var(--font-weight-bold); color: var(--white); margin-bottom: 0.75rem; }
.os-future-text { font-family: var(--font-primary); font-size: 0.87rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin: 0; }

/* ── Community Block ────────────────────────────────────────── */
.os-community-stat-block { background: var(--bg-secondary); border: 1px solid var(--primary-gold); border-radius: 16px; padding: 2.5rem; text-align: center; }
.os-community-num { font-family: var(--font-heading); font-size: clamp(3rem, 6vw, 5rem); font-weight: var(--font-weight-bold); color: var(--primary-gold); line-height: 1; margin-bottom: 0.5rem; }
.os-community-label { font-family: var(--font-primary); font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; }

/* ── CTA ────────────────────────────────────────────────────── */
.os-cta-section { background: var(--gradient-premium); padding: 5rem 0; }
.os-cta-inner { max-width: 640px; margin: 0 auto; }
.os-cta-eyebrow { font-family: var(--font-primary); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--secondary-gold); margin-bottom: 0.75rem; display: block; }
.os-cta-title { font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: var(--font-weight-bold); color: var(--white); margin-bottom: 1rem; line-height: 1.2; }
.os-cta-subtitle { font-family: var(--font-secondary); font-size: 1.05rem; font-style: italic; color: rgba(255,255,255,0.70); margin-bottom: 2rem; }
.os-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.os-btn-cta { display: inline-flex; align-items: center; font-family: var(--font-primary); font-size: 0.9rem; font-weight: var(--font-weight-semibold); color: var(--bg-primary); background: var(--gradient-gold); border-radius: 8px; padding: 0.8rem 2rem; text-decoration: none; box-shadow: var(--shadow-gold); transition: box-shadow 0.3s ease, transform 0.2s ease; }
.os-btn-cta:hover { box-shadow: 0 8px 30px rgba(251,191,36,0.5); transform: translateY(-2px); color: var(--bg-primary); }
.os-btn-cta-outline { display: inline-flex; align-items: center; font-family: var(--font-primary); font-size: 0.9rem; font-weight: var(--font-weight-semibold); color: var(--white); background: transparent; border: 1.5px solid rgba(255,255,255,0.4); border-radius: 8px; padding: 0.8rem 2rem; text-decoration: none; transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease; }
.os-btn-cta-outline:hover { border-color: var(--primary-gold); color: var(--primary-gold); background: rgba(251,191,36,0.08); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991.98px) { .os-section { padding: 4rem 0; } }
@media (max-width: 767.98px) { .os-section { padding: 3rem 0; } .os-timeline { padding-left: 1.5rem; } .os-timeline-item { padding-left: 1.5rem; } }
