/* ============================================
   FIFE.CO.ZA — Global Stylesheet
   Warm · Personal · Spiritual · Professional
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Primary palette */
  --deep-indigo: #1a1a3e;
  --midnight: #12122b;
  --warm-gold: #c9943e;
  --gold-light: #e8c87a;
  --gold-glow: rgba(201, 148, 62, 0.15);

  /* Neutrals */
  --cream: #faf7f2;
  --warm-white: #fff9f0;
  --soft-grey: #e8e4de;
  --text-dark: #2c2c3a;
  --text-medium: #5a5a6e;
  --text-light: #8a8a9a;

  /* Accents */
  --teal: #3a8a8a;
  --teal-light: #5ab0b0;
  --sage: #7a9a7a;
  --warm-rose: #c47a6a;

  /* Spacing */
  --section-pad: clamp(3rem, 8vw, 6rem);
  --container-width: 1140px;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--warm-gold);
  text-decoration: none;
  transition: color 0.3s var(--ease-smooth);
}

a:hover {
  color: var(--teal);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--deep-indigo);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-medium);
}

.section-subtitle {
  font-family: var(--font-accent);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--warm-gold);
  font-style: italic;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.section-intro {
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: var(--text-medium);
}

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--warm-gold), var(--teal));
  border: none;
  margin: 1.5rem auto;
  border-radius: 2px;
}

.quote-block {
  font-family: var(--font-accent);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--deep-indigo);
  border-left: 3px solid var(--warm-gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--gold-glow);
  border-radius: 0 8px 8px 0;
}

.quote-block cite {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.5rem;
  font-style: normal;
  font-family: var(--font-body);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 62, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 148, 62, 0.15);
  transition: all 0.3s var(--ease-smooth);
}

.nav.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo-img {
  height: 38px;
  width: auto;
  filter: invert(1) brightness(2);
  opacity: 0.95;
}

.nav-logo span {
  color: var(--warm-gold);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: all 0.3s var(--ease-smooth);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(201, 148, 62, 0.2);
}

.nav-links a.active {
  color: var(--warm-gold);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s var(--ease-smooth);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--midnight) 0%, var(--deep-indigo) 50%, #2a2a5e 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(201, 148, 62, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--cream), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 8rem clamp(1.25rem, 4vw, 2.5rem) 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.hero-text .tagline {
  font-family: var(--font-accent);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--gold-light);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.hero-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-frame {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 3px solid rgba(201, 148, 62, 0.4);
  padding: 6px;
  position: relative;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201, 148, 62, 0.3), rgba(58, 138, 138, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.6);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--warm-gold), #d4a44e);
  color: var(--midnight);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 148, 62, 0.35);
  color: var(--midnight);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--warm-gold);
  color: var(--warm-gold);
}

.btn-secondary {
  background: var(--deep-indigo);
  color: #fff;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 26, 62, 0.25);
  color: #fff;
}

.btn-small {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

/* --- Section Layout --- */
.section {
  padding: var(--section-pad) 0;
}

.section-dark {
  background: var(--deep-indigo);
  color: #fff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.75);
}

.section-alt {
  background: var(--warm-white);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* --- Card Styles --- */
.card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s var(--ease-smooth);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: var(--gold-glow);
  color: var(--warm-gold);
}

/* --- Timeline (Career page) --- */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--warm-gold), var(--teal), var(--sage));
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--warm-gold);
  border: 3px solid var(--cream);
  transform: translateX(-5px);
}

.timeline-date {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--warm-gold);
  margin-bottom: 0.25rem;
}

.timeline-company {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--deep-indigo);
  margin-bottom: 0.15rem;
}

.timeline-role {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.timeline-desc {
  color: var(--text-medium);
  font-size: 0.95rem;
}

/* --- Testimonials --- */
.testimonial {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 2.5rem;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--warm-gold);
}

.testimonial::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--gold-glow);
  position: absolute;
  top: -10px;
  left: 20px;
  line-height: 1;
  color: rgba(201, 148, 62, 0.2);
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-medium);
  margin-bottom: 1rem;
  position: relative;
}

.testimonial-author {
  font-weight: 700;
  color: var(--deep-indigo);
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* --- Recommendation Cards --- */
.rec-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s var(--ease-smooth);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.rec-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.rec-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  background: var(--gold-glow);
}

.rec-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.rec-content p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.rec-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  background: var(--gold-glow);
  color: var(--warm-gold);
  margin-right: 0.35rem;
}

/* --- Footer --- */
.footer {
  background: var(--midnight);
  color: rgba(255, 255, 255, 0.6);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--warm-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: var(--warm-gold);
}

/* --- Pill/Badge Styles --- */
.pill {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 24px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pill-gold {
  background: var(--gold-glow);
  color: var(--warm-gold);
}

.pill-teal {
  background: rgba(58, 138, 138, 0.12);
  color: var(--teal);
}

/* --- Values / Philosophy Grid --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.value-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s var(--ease-smooth);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: linear-gradient(135deg, var(--midnight), var(--deep-indigo));
  padding: 10rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(201, 148, 62, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Coaching Cards --- */
.coaching-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.3s var(--ease-smooth);
}

.coaching-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.coaching-card-header {
  background: linear-gradient(135deg, var(--deep-indigo), #2a2a5e);
  padding: 2rem;
  color: #fff;
  text-align: center;
}

.coaching-card-body {
  padding: 2rem;
}

.coaching-card-body ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.coaching-card-body li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-medium);
  font-size: 0.95rem;
}

.coaching-card-body li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--warm-gold);
  font-size: 0.75rem;
}

/* --- Discovery Cards --- */
.discovery-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s var(--ease-smooth);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.discovery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.discovery-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--deep-indigo), #2a2a5e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.discovery-card-body {
  padding: 1.5rem;
}

.discovery-card-body h3 {
  font-size: 1.1rem;
}

.discovery-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 9rem;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-image-frame {
    width: 220px;
    height: 220px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(26, 26, 62, 0.98);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    border-top: 1px solid rgba(201, 148, 62, 0.15);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-image-frame {
    width: 180px;
    height: 180px;
  }

  .card {
    padding: 1.5rem;
  }
}
