/* ═══════════════════════════════════════════════════
   MYOBITUARYAPP — about-us.css
   Page-specific styles for about-us.blade.php
   Design: Dark Mode Premium — Gold Accents
   (matches: treasure-vault, qr-memorial-cards,
    funeral-announcements, obituary-notices, digital-memories)
═══════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --dark-bg:           #0f1117;
  --dark-bg-secondary: #161b22;
  --dark-card:         #1c2128;
  --dark-border:       #30363d;
  --gold:              #d4aa4a;
  --gold-light:        #e8c76e;
  --gold-pale:         #f0dfa8;
  --text-primary:      #e6edf3;
  --text-secondary:    #8b949e;
  --text-muted:        #6e7681;
  --r:                 14px;
  --r-lg:              22px;
  --r-xl:              32px;
  --ease:              cubic-bezier(0.25,0.46,0.45,0.94);
  --shadow-soft:       0 8px 40px rgba(0,0,0,0.4);
  --shadow-deep:       0 20px 60px rgba(0,0,0,0.6);
}

/* ── Base Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ══════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════ */
.btn-gold {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--gold); color: #000;
  padding: 14px 30px; border-radius: 50px;
  font-family: 'Inter', sans-serif; font-size: 0.88rem; font-weight: 600;
  border: none; cursor: pointer;
  transition: all 0.3s var(--ease); text-decoration: none;
}
.btn-gold:hover {
  background: var(--gold-light); color: #000;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212,170,74,0.35);
}

.btn-ghost-light {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text-primary);
  padding: 13px 26px; border-radius: 50px;
  font-family: 'Inter', sans-serif; font-size: 0.88rem; font-weight: 500;
  border: 1.5px solid var(--dark-border); cursor: pointer;
  transition: all 0.3s var(--ease); text-decoration: none;
}
.btn-ghost-light:hover {
  background: var(--dark-card); border-color: var(--gold); color: var(--gold);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════
   SECTION LABELS & TITLES
══════════════════════════════════════════════════ */
.section-label {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--gold); }

.section-title {
  font-family: 'Lora', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700; line-height: 1.2;
  color: var(--text-primary); margin-bottom: 12px;
}
.section-title em { font-style: italic; color: var(--gold-pale); }

.section-sub {
  font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; max-width: 600px;
}

/* ══════════════════════════════════════════════════
   HERO SECTION — LEFT / RIGHT LAYOUT
══════════════════════════════════════════════════ */
.au-hero-new {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: stretch;
  background: var(--dark-bg);
  overflow: hidden; padding-top: 80px;
}

.au-hero-left {
  flex: 0 0 45%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 40px; z-index: 2;
}

.au-hero-content { max-width: 600px; width: 100%; }

.au-hero-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 22px;
}
.au-hero-label::before { content: ''; width: 28px; height: 1px; background: var(--gold-light); }

.au-hero-title {
  font-family: 'Lora', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.01em;
  color: #fff; margin-bottom: 16px;
}
.au-hero-title em { font-style: italic; color: var(--gold-pale); }

.au-hero-subtitle {
  font-size: 0.95rem; line-height: 1.75;
  color: var(--text-secondary); margin-bottom: 32px;
}

.au-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.au-hero-right {
  flex: 0 0 55%; position: relative; overflow: hidden;
}
.au-hero-right::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,14,20,0.45) 0%, rgba(22,27,34,0.2) 50%, transparent 100%);
  z-index: 1;
}
.au-hero-right img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
}

/* Floating stat badges */
.au-hero-stats {
  position: absolute; bottom: 40px; left: 0; right: 0;
  z-index: 15; padding: 0 40px;
  display: flex; gap: 16px; justify-content: flex-start;
}

.au-hero-stat-pill {
  display: flex; align-items: center; gap: 10px;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(10px);
  border: 1px solid rgba(212,170,74,0.25); border-radius: 50px;
  padding: 10px 18px;
}

.au-hero-stat-num {
  font-family: 'Lora', serif; font-size: 1.1rem; font-weight: 700; color: var(--gold);
}
.au-hero-stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.65); font-weight: 500; }

/* ══════════════════════════════════════════════════
   MISSION SECTION — Full-Width Dark Green
══════════════════════════════════════════════════ */
.au-mission-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0a1a10 0%, #0f2318 50%, #132b1c 100%);
  border-top: 1px solid var(--dark-border);
  position: relative; overflow: hidden;
}
.au-mission-section::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,170,74,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.au-mission-inner { max-width: 780px; }
.au-mission-inner .section-label { color: var(--gold-pale); }
.au-mission-inner .section-label::before { background: var(--gold-pale); }

.au-mission-title {
  font-family: 'Lora', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 700;
  color: #fff; line-height: 1.2; margin-bottom: 20px;
}
.au-mission-title em { font-style: italic; color: var(--gold-pale); }

.au-mission-text {
  font-size: 1rem; color: rgba(255,255,255,0.65); line-height: 1.8;
}

/* ══════════════════════════════════════════════════
   STORY SECTION — Image Left / Content Right
══════════════════════════════════════════════════ */
.au-story-section {
  padding: 100px 0; background: var(--dark-bg-secondary);
  border-top: 1px solid var(--dark-border);
}

.au-story-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}

.au-story-image { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-deep); }
.au-story-image img { width: 100%; height: 420px; object-fit: cover; display: block; }

.au-story-text .section-label { justify-content: flex-start; }
.au-story-text h3 {
  font-family: 'Lora', serif; font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 700; color: var(--text-primary); margin-bottom: 20px; line-height: 1.2;
}
.au-story-text h3 em { font-style: italic; color: var(--gold-pale); }
.au-story-text p {
  font-size: 0.9rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px;
}

/* ══════════════════════════════════════════════════
   STATS SECTION
══════════════════════════════════════════════════ */
.au-stats-section {
  padding: 80px 0; background: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
}

.au-stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
}

.au-stat-item {
  text-align: center; padding: 40px 20px;
  border-right: 1px solid var(--dark-border);
  transition: all 0.3s var(--ease);
}
.au-stat-item:last-child { border-right: none; }
.au-stat-item:hover { background: rgba(212,170,74,0.03); }

.au-stat-num {
  font-family: 'Lora', serif; font-size: 3rem; font-weight: 700;
  color: var(--gold); line-height: 1; margin-bottom: 10px; display: block;
}
.au-stat-label {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-secondary);
}

/* ══════════════════════════════════════════════════
   VALUES SECTION
══════════════════════════════════════════════════ */
.au-values-section {
  padding: 100px 0; background: var(--dark-bg-secondary);
  border-top: 1px solid var(--dark-border);
}

.au-values-header { text-align: center; margin-bottom: 56px; }
.au-values-header .section-label { justify-content: center; }

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

.au-value-card {
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: var(--r-lg); padding: 44px 32px; text-align: center;
  transition: all 0.35s var(--ease);
}
.au-value-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-deep);
  border-color: var(--gold); background: #202730;
}

.au-value-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(212,170,74,0.1);
  border: 1px solid rgba(212,170,74,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--gold); margin: 0 auto 24px;
  transition: all 0.3s var(--ease);
}
.au-value-card:hover .au-value-icon {
  background: rgba(212,170,74,0.2); transform: scale(1.1);
}

.au-value-card h4 {
  font-family: 'Lora', serif; font-size: 1.2rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 14px;
}
.au-value-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }

/* ══════════════════════════════════════════════════
   TEAM SECTION
══════════════════════════════════════════════════ */
.au-team-section {
  padding: 100px 0; background: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
}

.au-team-header { text-align: center; margin-bottom: 56px; }
.au-team-header .section-label { justify-content: center; }

.au-team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}

.au-team-member {
  text-align: center;
  transition: all 0.35s var(--ease);
}

.au-team-photo {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); margin-bottom: 22px;
  border: 1px solid var(--dark-border);
  transition: all 0.35s var(--ease);
}
.au-team-photo img {
  width: 100%; height: 300px; object-fit: cover; display: block;
  transition: transform 0.5s var(--ease);
}
.au-team-member:hover .au-team-photo { border-color: var(--gold); box-shadow: var(--shadow-deep); }
.au-team-member:hover .au-team-photo img { transform: scale(1.05); }

.au-team-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  opacity: 0; transition: all 0.35s var(--ease);
  display: flex; align-items: flex-end; justify-content: center; padding: 20px;
}
.au-team-member:hover .au-team-overlay { opacity: 1; }
.au-team-social { display: flex; gap: 10px; }
.au-team-social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(212,170,74,0.9); color: #000;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; transition: all 0.3s var(--ease);
}
.au-team-social a:hover { background: #fff; }

.au-team-member h4 {
  font-family: 'Lora', serif; font-size: 1.1rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 4px;
}
.au-team-member-role {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.au-team-member-bio {
  font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5;
}

/* ══════════════════════════════════════════════════
   FINAL CTA SECTION
══════════════════════════════════════════════════ */
.au-cta-section {
  position: relative; padding: 100px 0; overflow: hidden;
  background: linear-gradient(135deg, #0a0e14 0%, #161b22 50%, #1c2128 100%);
  border-top: 1px solid var(--dark-border);
}

.au-cta-bg { position: absolute; inset: 0; z-index: 0; }
.au-cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.au-cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,14,20,0.65) 0%, rgba(22,27,34,0.6) 100%);
}

.au-cta-inner { position: relative; z-index: 2; text-align: center; color: #fff; }

.au-cta-title {
  font-family: 'Lora', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 700;
  color: #fff; margin-bottom: 16px; line-height: 1.15;
}
.au-cta-title em { font-style: italic; color: var(--gold-pale); }

.au-cta-sub {
  font-size: 0.92rem; color: var(--text-secondary);
  max-width: 460px; margin: 16px auto 40px; line-height: 1.7;
}

.au-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════ */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.au-hero-label    { animation: slideInLeft  0.7s var(--ease) 0.05s both; }
.au-hero-title    { animation: slideInLeft  0.7s var(--ease) 0.15s both; }
.au-hero-subtitle { animation: slideInLeft  0.7s var(--ease) 0.25s both; }
.au-hero-actions  { animation: slideInLeft  0.7s var(--ease) 0.35s both; }
.au-hero-right    { animation: slideInRight 0.8s var(--ease) 0.20s both; }
.au-hero-stats    { animation: fadeUp       0.7s var(--ease) 0.50s both; }

/* scroll reveal */
.au-reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.au-reveal.visible { opacity: 1; transform: translateY(0); }
.au-reveal-delay-1 { transition-delay: 0.1s; }
.au-reveal-delay-2 { transition-delay: 0.2s; }
.au-reveal-delay-3 { transition-delay: 0.3s; }

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .au-hero-new     { min-height: auto; flex-direction: column; }
  .au-hero-left    { flex: 1; padding: 60px 40px; }
  .au-hero-right   { flex: 1; min-height: 400px; }
  .au-hero-stats   { position: static; padding: 20px 28px 0; flex-wrap: wrap; }
  .au-story-content { grid-template-columns: 1fr; gap: 48px; }
  .au-stats-grid   { grid-template-columns: repeat(3, 1fr); }
  .au-values-grid  { grid-template-columns: 1fr; gap: 16px; }
  .au-team-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .au-hero-left    { padding: 40px 28px; }
  .au-mission-section,
  .au-story-section,
  .au-values-section,
  .au-team-section,
  .au-cta-section  { padding: 70px 0; }
  .au-stats-section { padding: 60px 0; }
  .au-stats-grid   { grid-template-columns: repeat(3, 1fr); }
  .au-stat-num     { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .au-hero-title   { font-size: 2rem; }
  .au-hero-actions { flex-direction: column; }
  .au-hero-actions a { width: 100%; justify-content: center; }
  .au-stats-grid   { grid-template-columns: 1fr; }
  .au-stat-item    { border-right: none; border-bottom: 1px solid var(--dark-border); }
  .au-stat-item:last-child { border-bottom: none; }
  .au-values-grid  { grid-template-columns: 1fr; }
  .au-team-grid    { grid-template-columns: 1fr; }
  .au-cta-actions  { flex-direction: column; align-items: center; }
  .au-cta-actions a { width: 100%; justify-content: center; }
}