/* ==========================================================
   UKWUANI LGA — THE LAND & HERITAGE STYLES
   Page: about.html
   Includes: 3D Tilt & Elevation Hover Animations
   ========================================================== */

/* ---------- 1. PAGE HERO ---------- */
.about-hero {
  min-height: 70svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 70px;
}

.about-hero .hero-bg {
  position: absolute;
  inset: 0;
  background: url("../../images/heroes/farmlands-sunset-wide.jpg") center / cover no-repeat;
  filter: brightness(0.25) saturate(0.9);
  transform: scale(1.05);
  animation: bgZoom 22s ease-in-out infinite alternate;
}

.about-hero .hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 19, 12, 0.6) 0%,
    rgba(7, 19, 12, 0.92) 80%,
    var(--ink) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.about-hero h1 {
  font-size: var(--fs-h1);
  margin: 14px 0 16px;
  line-height: 1.15;
}

.hero-lead {
  font-size: var(--fs-lead);
  color: var(--text-sub);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- 2. LEAD NARRATIVE CARD ---------- */
.lead-narrative-card {
  padding: clamp(24px, 4vw, 44px);
  max-width: 1080px;
  margin: 0 auto;
  font-size: clamp(0.94rem, 1.8vw, 1.08rem);
  line-height: 1.85;
  color: #e2ede5;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.lead-narrative-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-3), 0 0 25px var(--brass-glow);
  border-color: var(--brass-soft);
}

.lead-narrative-card strong {
  color: var(--brass-soft);
}

/* ---------- 3. NINE CLANS & FOUR KINGDOMS GRID (3D TILT) ---------- */
.clans-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  perspective: 1000px;
}

@media (min-width: 680px) {
  .clans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .clans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.clan-card {
  padding: clamp(22px, 3vw, 30px) 22px;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--palm);
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease), background 0.45s var(--ease);
}

.clan-card:hover {
  transform: translateY(-8px) rotateX(2.5deg) rotateY(-2.5deg) scale(1.02);
  border-color: var(--brass);
  box-shadow: var(--shadow-3), 0 0 25px var(--brass-glow);
  background: var(--glass-hover);
}

.clan-card:nth-child(even):hover {
  transform: translateY(-8px) rotateX(2.5deg) rotateY(2.5deg) scale(1.02);
}

.clan-card.kingdom-card {
  border-top-color: var(--brass);
  background: linear-gradient(
    170deg,
    rgba(197, 155, 39, 0.08) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
}

.clan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: rgba(14, 90, 50, 0.35);
  border: 1px solid var(--palm);
  color: #92e0ab;
  margin-bottom: 12px;
  transition: transform 0.3s var(--ease);
}

.clan-card:hover .clan-badge {
  transform: scale(1.05);
}

.clan-badge.royal {
  background: rgba(197, 155, 39, 0.2);
  border-color: var(--brass);
  color: var(--brass-soft);
}

.clan-badge.energy {
  background: rgba(15, 94, 99, 0.3);
  border-color: var(--river);
  color: #79dce3;
}

.clan-badge.eco {
  background: rgba(180, 67, 46, 0.25);
  border-color: var(--laterite);
  color: #ff9b87;
}

.clan-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.clan-system {
  font-size: 0.82rem;
  color: var(--brass-soft);
  margin-bottom: 10px;
  line-height: 1.5;
}

.clan-system strong {
  color: #ffffff;
}

.clan-desc {
  font-size: 0.86rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}

.clan-villages {
  font-size: 0.76rem;
  color: #9db2a3;
  border-top: 1px dashed var(--line);
  padding-top: 10px;
  line-height: 1.5;
}

/* ---------- 4. CULTURAL EXPRESSIONS & FESTIVALS (3D TILT) ---------- */
.culture-section {
  background: linear-gradient(
    180deg,
    rgba(7, 59, 32, 0.7) 0%,
    rgba(7, 19, 12, 0.95) 100%
  ) !important;
}

.culture-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  perspective: 1000px;
}

@media (min-width: 680px) {
  .culture-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .culture-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.culture-card {
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}

.culture-card:hover {
  transform: translateY(-8px) rotateX(2.5deg) rotateY(2.5deg) scale(1.02);
  border-color: var(--brass);
  box-shadow: var(--shadow-3), 0 0 25px var(--brass-glow);
}

.culture-card:nth-child(even):hover {
  transform: translateY(-8px) rotateX(2.5deg) rotateY(-2.5deg) scale(1.02);
}

.culture-card figure {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink);
  margin: 0;
}

.culture-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.culture-card:hover figure img {
  transform: scale(1.08);
}

.culture-card .body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.culture-card h3 {
  font-size: 1.15rem;
  color: var(--text-main);
}

.culture-card p {
  font-size: 0.86rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ---------- 5. MEANING OF THE CREST (TILT & GLOW) ---------- */
.crest-grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  grid-template-columns: 1fr;
  max-width: 1150px;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .crest-grid {
    grid-template-columns: 340px 1fr;
  }
}

.crest-showcase-box {
  text-align: center;
  padding: 30px 20px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.crest-showcase-box:hover {
  transform: translateY(-8px) rotateX(3deg) scale(1.02);
  box-shadow: var(--shadow-3), 0 0 30px var(--brass-glow);
  border-color: var(--brass-soft);
}

.crest-showcase-box img {
  width: min(260px, 60vw);
  margin: 0 auto;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.7));
  transition: transform 0.5s var(--ease);
}

.crest-showcase-box:hover img {
  transform: scale(1.05) rotate(-2deg);
}

.crest-items-list {
  display: grid;
  gap: 12px;
}

.crest-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 18px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.crest-item:hover {
  transform: translateX(8px) translateY(-2px) scale(1.015);
  border-color: var(--brass);
  background: var(--glass-hover);
  box-shadow: 0 8px 24px rgba(197, 155, 39, 0.3);
}

.crest-item .c-ico {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--brass), #8a6813);
  color: #1a1405;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--brass-glow);
  transition: transform 0.3s var(--ease);
}

.crest-item:hover .c-ico {
  transform: scale(1.15) rotate(6deg);
}

.crest-item h4 {
  font-size: 0.98rem;
  color: var(--brass-soft);
  margin-bottom: 2px;
}

.crest-item p {
  font-size: 0.84rem;
  color: var(--text-sub);
  line-height: 1.55;
}

/* ---------- 6. REDUCED MOTION SAFETY ---------- */
@media (prefers-reduced-motion: reduce) {
  .about-hero .hero-bg,
  .clan-card,
  .culture-card,
  .crest-showcase-box,
  .crest-item,
  .lead-narrative-card {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}