/* ============================================================
   ROOPSIRAT SEKHON — SPEAKER & THOUGHT LEADER PORTFOLIO
   Premium personal brand site for speaking, training, mentoring.
   
   Palette: Deep navy (authority, trust) + rose gold (warmth,
   premium feel) + ivory (breathing room). Typography: Playfair
   Display for headlines (editorial, bold, unmissable), Inter for
   body (modern, clear, approachable).
   ============================================================ */

:root {
  /* Colour */
  --navy:      #0f1f2e;   /* deep ink, headings, dark bands      */
  --navy-soft: #1a2f42;   /* softer navy for panels              */
  --rose:      #d4a574;   /* warm rose gold, accents & highlights*/
  --rose-dark: #a67c52;   /* rose gold darker for hover          */
  --ivory:     #faf8f3;   /* page background                     */
  --panel:     #fcfbf7;   /* card background                     */
  --text:      #2c3e50;   /* body text                           */
  --muted:     #7a8896;   /* secondary text                      */
  --line:      #e8e3d8;   /* subtle borders                      */

  /* Type */
  --font-display: "Playfair Display", Georgia, serif;    /* headlines    */
  --font-body:    "Inter", "Helvetica Neue", sans-serif; /* body text    */

  /* Layout */
  --max-w: 1140px;
}

/* ============================================================
   BASE STYLES
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.25s ease;
}
a:hover { color: var(--rose); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.1;
}
h1 { font-size: clamp(3rem, 8vw, 5.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 0.6em; }
h3 { font-size: 1.65rem; margin-bottom: 0.5em; }
h4 { font-size: 1.2rem; margin-bottom: 0.4em; }

p { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 820px; margin: 0 auto; }

.section { padding: 110px 0; }
.section--tight { padding: 70px 0; }

/* Dark navy band */
.band--dark {
  background: linear-gradient(135deg, var(--navy) 0%, #0a1620 100%);
  color: #faf8f3;
}
.band--dark h2, .band--dark h3 { color: #faf8f3; }
.band--dark p { color: rgba(250, 248, 243, 0.8); }
.band--dark a { color: var(--rose); }

/* Keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 4px;
}

/* ============================================================
   EDITORIAL ACCENTS
   ============================================================ */
.accent-line {
  height: 3px;
  width: 60px;
  background: linear-gradient(90deg, var(--rose), transparent);
  margin: 0 0 28px;
}
.band--dark .accent-line { background: linear-gradient(90deg, var(--rose), rgba(212, 165, 116, 0.3)); }

.label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 16px 40px;
  border: 2px solid transparent;
  background: var(--navy);
  color: #faf8f3;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.btn:hover {
  background: var(--navy-soft);
  transform: translateY(-2px);
}

.btn--rose {
  background: var(--rose);
  color: var(--navy);
}
.btn--rose:hover {
  background: var(--rose-dark);
  color: var(--navy);
}

.btn--outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: #faf8f3;
}

.btn--outline-light {
  background: transparent;
  border-color: #faf8f3;
  color: #faf8f3;
}
.btn--outline-light:hover {
  background: #faf8f3;
  color: var(--navy);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 243, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.nav__brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.nav__brand span { color: var(--rose); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 42px;
  list-style: none;
}
.nav__links a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.nav__links a:hover { color: var(--navy); border-bottom-color: var(--rose); }
.nav__links a.is-active { color: var(--navy); border-bottom-color: var(--rose); }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  margin: 6px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 140px 0 100px;
  background:
    radial-gradient(1000px 600px at 80% 0%, rgba(212, 165, 116, 0.12), transparent 70%),
    var(--ivory);
  text-align: center;
}
.hero__label { margin-bottom: 16px; }
.hero h1 { margin: 20px 0 30px; }
.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 500;
  font-style: italic;
  color: var(--rose);
  max-width: 44em;
  margin: 0 auto 18px;
}
.hero__intro {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 42em;
  margin: 0 auto 10px;
}
.hero__subtext {
  font-size: 0.95rem;
  color: var(--rose);
  font-weight: 600;
  margin-bottom: 36px;
}
.hero__actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}
.hero__quicklinks {
  display: flex;
  justify-content: center;
  gap: 38px;
  margin-top: 12px;
}
.hero__quicklinks a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.hero__quicklinks a:hover { color: var(--navy); }
.hero__quicklinks svg { width: 16px; height: 16px; fill: currentColor; }

/* ============================================================
   GRID LAYOUTS
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }

/* ============================================================
   CARDS (services, topics, testimonials)
   ============================================================ */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 40px 36px;
  transition: all 0.3s ease;
}
.card:hover {
  border-color: var(--rose);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(15, 31, 46, 0.1);
}

.card__number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--rose);
  line-height: 1;
  margin-bottom: 16px;
}
.card__label { margin-bottom: 10px; }
.card h3 { margin-bottom: 8px; }
.card__tagline {
  font-style: italic;
  color: var(--rose);
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.card p { font-size: 0.95rem; color: var(--muted); }

/* Image placeholder */
.card__img-placeholder {
  border: 2px dashed var(--rose);
  background: rgba(212, 165, 116, 0.08);
  min-height: 180px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  margin-bottom: 24px;
  border-radius: 8px;
}
.card__img-placeholder span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
  line-height: 1.6;
}
.card img { border-radius: 8px; margin-bottom: 24px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial {
  background: var(--panel);
  border-left: 4px solid var(--rose);
  padding: 32px;
  border-radius: 4px;
}
.testimonial__quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 16px;
}
.testimonial__author {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}
.testimonial__role {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head .label { justify-content: center; display: flex; margin-bottom: 12px; }
.section-head .accent-line { margin: 16px auto 0; }
.section-head p { color: var(--muted); max-width: 46em; margin: 18px auto 0; }

.band--dark .section-head p { color: rgba(250, 248, 243, 0.75); }

/* ============================================================
   FORMS
   ============================================================ */
.form {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 48px;
  max-width: 720px;
  margin: 0 auto;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form__group { margin-bottom: 22px; }
.form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.form input, .form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 14px 16px;
  border-radius: 4px;
  transition: border-color 0.25s ease;
}
.form input:focus, .form textarea:focus {
  border-color: var(--rose);
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.12);
}
.form textarea { min-height: 150px; resize: vertical; }
.form__note { font-size: 0.8rem; color: var(--muted); margin-top: 12px; }
.form__success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #4caf50;
  color: #2e7d32;
  padding: 14px 16px;
  font-size: 0.9rem;
  border-radius: 4px;
  margin-top: 16px;
}
.form__success.is-visible { display: block; }

/* ============================================================
   TIMELINE / EXPERIENCE
   ============================================================ */
.timeline { list-style: none; }
.timeline li {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.timeline li:first-child { border-top: 1px solid var(--line); }
.timeline__year {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--rose);
}
.timeline__year small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.timeline h3 { margin-bottom: 6px; }
.timeline .org {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 10px;
}
.timeline p { font-size: 0.95rem; color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 80px 0 40px; }
.footer a { color: rgba(250, 248, 243, 0.8); }
.footer a:hover { color: var(--rose); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(250, 248, 243, 0.14);
}
.footer h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 18px;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 11px; font-size: 0.92rem; }
.footer__brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #faf8f3;
  margin-bottom: 14px;
}
.footer__brand span { color: var(--rose); }
.footer__tag { font-size: 0.92rem; max-width: 28em; color: rgba(250, 248, 243, 0.65); line-height: 1.7; }
.footer__bottom {
  padding-top: 30px;
  font-size: 0.8rem;
  color: rgba(250, 248, 243, 0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .timeline li { grid-template-columns: 160px 1fr; gap: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 32px; }
  .timeline li { grid-template-columns: 1fr; gap: 8px; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__quicklinks { flex-direction: column; gap: 16px; }

  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 80px; left: 0; right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 32px 24px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; padding: 14px 0; }

  .nav__toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
  .hero { padding: 80px 0 60px; }
  .hero__tagline { font-size: 1.2rem; }
  .card { padding: 28px 20px; }
}
