/* ═══════════════════════════════════════════════════════════
   渎神圣女 — Fallen Sacred Theme
   Corrupted Golds · Blood-Red Wine · Inverted Cross
   Dark Cathedral Aesthetic on Light Ash
   ═══════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ── */
:root {
  --bg: #e8e4df;                 /* light ash */
  --bg-alt: #ede9e4;             /* slightly lighter ash */
  --card-bg: #f5f1ec;            /* card surface */
  --card-border: #d9d0c7;        /* subtle card edge */
  
  --accent: #8b1a2b;             /* blood-red wine */
  --accent-hover: #a01d32;       /* brighter blood on hover */
  --accent-light: #c44d5e;       /* faded blood for subtle accents */
  --accent-dark: #5c0f1b;        /* deep dried blood */
  
  --gold: #9b870c;               /* corrupted / tarnished gold */
  --gold-bright: #c9a830;        /* brighter gold for highlights */
  --gold-dark: #6b5c08;          /* dark tarnished gold */
  
  --bg-header: #16110f;          /* near-black cathedral stone */
  --bg-footer: #1a1512;          /* dark stone footer */
  --bg-hero-overlay: rgba(22, 17, 15, 0.75); /* dark overlay */
  
  --text: #2d2218;               /* dark warm text on ash */
  --text-light: #6b5d50;         /* muted text */
  --text-header: #d4c8b8;        /* header text — aged parchment */
  --text-header-hover: #c9a830;  /* header hover — tarnished gold */
  
  --font-heading: 'Georgia', 'Noto Serif SC', 'Songti SC', serif;
  --font-body: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  
  --radius: 4px;
  --radius-card: 6px;
  --shadow: 0 2px 8px rgba(22, 17, 15, 0.08);
  --shadow-hover: 0 4px 16px rgba(22, 17, 15, 0.13);
  --max-width: 1080px;
  --transition: 0.2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
}

/* ── Inverted Cross Body Motif ── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  background:
    /* inverted cross — vertical bar + horizontal bar near top */
    linear-gradient(90deg, transparent calc(50% - 1px), var(--accent-dark) calc(50% - 1px), var(--accent-dark) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(180deg, transparent 15%, var(--accent-dark) 15%, var(--accent-dark) calc(15% + 100px), transparent calc(15% + 100px));
  background-size: 200px 400px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.3; color: var(--text); }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; margin-bottom: 0.6rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
p { margin-bottom: 0.8rem; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

/* ── Layout ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 1; }
.section { padding: 3.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-title { 
  text-align: center; 
  margin-bottom: 2.5rem; 
  position: relative;
  padding-bottom: 1rem;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--accent), var(--gold-dark));
  border-radius: 2px;
}

/* ── Inverted Cross Divider ── */
.cross-divider {
  text-align: center;
  margin: 1.5rem 0;
  font-size: 1.2rem;
  color: var(--accent-light);
  letter-spacing: 0.5em;
  user-select: none;
}

/* ── Cathedral Accent Line ── */
.accent-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), var(--accent), var(--gold-dark), transparent);
  margin: 1.5rem 0;
}

/* ══════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════ */
header {
  background: var(--bg-header);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--accent);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 58px;
}
header .logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-header);
  letter-spacing: 0.05em;
}
header .logo a {
  color: var(--text-header);
  text-decoration: none;
}
header .logo a:hover { color: var(--text-header-hover); }
header nav { display: flex; align-items: center; gap: 1.5rem; }
header nav a {
  color: var(--text-header);
  font-size: 0.9rem;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition);
}
header nav a:hover { color: var(--text-header-hover); }
header nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}
header nav a:hover::after { transform: scaleX(1); }

/* ── Nav CTA Button ── */
.nav-cta {
  background: var(--accent) !important;
  color: #f5f1ec !important;
  padding: 0.4rem 1.2rem !important;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background var(--transition), box-shadow var(--transition) !important;
}
.nav-cta:hover {
  background: var(--accent-hover) !important;
  color: #f5f1ec !important;
  box-shadow: 0 0 12px rgba(139, 26, 43, 0.4);
}
.nav-cta::after { display: none !important; }

/* ── Mobile Menu Toggle ── */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-header);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-header);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 50%, rgba(139, 26, 43, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(155, 135, 12, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 80%, rgba(139, 26, 43, 0.2) 0%, transparent 50%);
  z-index: 1;
}
/* Cathedral arch overlay */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 180px;
  border: 1px solid rgba(155, 135, 12, 0.15);
  border-bottom: none;
  border-radius: 160px 160px 0 0;
  z-index: 2;
  pointer-events: none;
}
.hero .hero-content {
  position: relative;
  z-index: 3;
  padding: 2rem 1.5rem;
  max-width: 700px;
}
.hero h1 {
  font-size: 2.8rem;
  color: #f5f1ec;
  margin-bottom: 0.8rem;
  text-shadow: 0 2px 12px rgba(139, 26, 43, 0.5);
  background: linear-gradient(180deg, #f5f1ec 30%, #c9a830 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold-bright);
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}
.hero .hero-desc {
  color: #b8a898;
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.hero .hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.hero .hero-tags span {
  background: rgba(201, 168, 48, 0.12);
  border: 1px solid rgba(155, 135, 12, 0.3);
  color: var(--gold-bright);
  padding: 0.25rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-family: var(--font-heading);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat .stat-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-bright);
}
.hero-stat .stat-label {
  font-size: 0.75rem;
  color: #8a7a6a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn-hero {
  display: inline-block;
  background: var(--accent);
  color: #f5f1ec;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background var(--transition), box-shadow var(--transition);
  text-decoration: none;
  letter-spacing: 0.05em;
}
.btn-hero:hover {
  background: var(--accent-hover);
  color: #f5f1ec;
  box-shadow: 0 0 20px rgba(139, 26, 43, 0.5);
}

/* ── Page Hero (sub-pages) ── */
.page-hero {
  background: var(--bg-header);
  text-align: center;
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(139, 26, 43, 0.15), transparent 60%);
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  color: #f5f1ec;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.page-hero .breadcrumbs {
  font-size: 0.85rem;
  color: #8a7a6a;
  margin-bottom: 0.5rem;
}
.page-hero .breadcrumbs a { color: var(--gold-bright); }

/* ══════════════════════════════════════════════
   INFO CARDS
   ══════════════════════════════════════════════ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.info-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.info-card:hover {
  box-shadow: var(--shadow-hover);
  border-left-color: var(--gold);
}
.info-card .info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}
.info-card .info-value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 600;
}

/* ══════════════════════════════════════════════
   FEATURE CARDS
   ══════════════════════════════════════════════ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  transition: box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-hover);
}
.feature-card:hover::before { opacity: 1; }
.feature-card .feature-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  display: block;
}
.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--accent-dark);
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════
   GALLERY
   ══════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--card-border);
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--card-bg);
}
.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}
.gallery-item .gallery-label {
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
}

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(22, 17, 15, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-card);
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #f5f1ec;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity var(--transition);
}
.lightbox-close:hover { opacity: 1; }

/* ══════════════════════════════════════════════
   GUIDE STEPS
   ══════════════════════════════════════════════ */
.guide-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--card-border);
}
.guide-step:last-child { border-bottom: none; }
.guide-step .step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #f5f1ec;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}
.guide-step .step-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.guide-step .step-content p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0;
}
.guide-tip {
  background: var(--card-bg);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ══════════════════════════════════════════════
   STORY BLOCKS
   ══════════════════════════════════════════════ */
.story-block {
  padding: 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--card-bg);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  margin-bottom: 1.25rem;
}
.story-block .story-chapter {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}
.story-block h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.story-block p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ══════════════════════════════════════════════
   CHARACTER CARDS
   ══════════════════════════════════════════════ */
.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.char-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.char-card:hover { box-shadow: var(--shadow-hover); }
.char-card .char-header {
  background: var(--bg-header);
  color: #f5f1ec;
  padding: 1rem;
  text-align: center;
}
.char-card .char-header h3 {
  color: #f5f1ec;
  margin-bottom: 0.2rem;
  font-size: 1.05rem;
}
.char-card .char-header .char-role {
  font-size: 0.75rem;
  color: var(--gold-bright);
  letter-spacing: 0.05em;
}
.char-card .char-body {
  padding: 1rem;
}
.char-card .char-body p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0;
}
.char-card .char-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1rem 1rem;
}

/* ══════════════════════════════════════════════
   FAQ ACCORDION
   ══════════════════════════════════════════════ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  margin-bottom: 0.6rem;
  overflow: hidden;
  background: var(--card-bg);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-question .faq-icon {
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 0.5rem;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.25rem 1rem;
}
.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ══════════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════════ */
.cta-banner {
  background: var(--bg-header);
  text-align: center;
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 50%, rgba(139, 26, 43, 0.2), transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(155, 135, 12, 0.1), transparent 50%);
  z-index: 1;
}
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 {
  color: #f5f1ec;
  margin-bottom: 0.8rem;
}
.cta-banner p {
  color: #b8a898;
  margin-bottom: 1.5rem;
}
.cta-banner .btn-hero {
  background: var(--gold);
  border: 1px solid var(--gold-bright);
}
.cta-banner .btn-hero:hover {
  background: var(--gold-bright);
  box-shadow: 0 0 24px rgba(201, 168, 48, 0.5);
}

/* ══════════════════════════════════════════════
   DOWNLOAD CARD
   ══════════════════════════════════════════════ */
.download-card {
  background: var(--card-bg);
  border: 2px solid var(--accent);
  border-radius: var(--radius-card);
  padding: 2rem;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}
.download-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.download-card .version {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}
.download-card .btn-hero {
  margin-bottom: 1rem;
}
.download-card .platforms {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.8rem;
}
.download-card .platforms span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ══════════════════════════════════════════════
   REQUIREMENTS TABLE
   ══════════════════════════════════════════════ */
.req-table {
  width: 100%;
  max-width: 600px;
  margin: 1rem auto;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.req-table th {
  background: var(--bg-header);
  color: #f5f1ec;
  padding: 0.6rem 1rem;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
}
.req-table td {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--card-border);
  color: var(--text-light);
}
.req-table tr:nth-child(even) td { background: var(--card-bg); }

/* ══════════════════════════════════════════════
   TAGS
   ══════════════════════════════════════════════ */
.tag { 
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}
.tag-red { background: rgba(139, 26, 43, 0.1); color: var(--accent); border: 1px solid rgba(139, 26, 43, 0.2); }
.tag-gold { background: rgba(155, 135, 12, 0.1); color: var(--gold-dark); border: 1px solid rgba(155, 135, 12, 0.2); }
.tag-dark { background: rgba(22, 17, 15, 0.08); color: var(--text-light); border: 1px solid rgba(22, 17, 15, 0.15); }

/* ══════════════════════════════════════════════
   REVIEW CARDS
   ══════════════════════════════════════════════ */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
}
.review-card .review-stars {
  color: var(--gold-bright);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
.review-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 0.5rem;
}
.review-card .review-author {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ══════════════════════════════════════════════
   STATS ROW
   ══════════════════════════════════════════════ */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  text-align: center;
}
.stat-item .stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}
.stat-item .stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ══════════════════════════════════════════════
   TIP BOX & BLOCKQUOTE
   ══════════════════════════════════════════════ */
.tip-box {
  background: var(--card-bg);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 1rem 0;
}
blockquote {
  border-left: 3px solid var(--accent-light);
  padding: 0.8rem 1.25rem;
  margin: 1rem 0;
  background: var(--card-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-light);
}

/* ══════════════════════════════════════════════
   TIMELINE
   ══════════════════════════════════════════════ */
.timeline-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--card-border);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-item .timeline-badge {
  flex-shrink: 0;
  background: var(--accent);
  color: #f5f1ec;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-heading);
}
.timeline-item .timeline-content h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.timeline-item .timeline-content p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
footer {
  background: var(--bg-footer);
  color: #6b5d50;
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
  border-top: 1px solid rgba(139, 26, 43, 0.2);
}
footer p { margin-bottom: 0.3rem; color: #6b5d50; }

/* ══════════════════════════════════════════════
   UTILITY CLASSES
   ══════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-light { color: var(--text-light); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.max-w-700 { max-width: 700px; margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }
.pb-0 { padding-bottom: 0; }

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
  header nav { 
    display: none; 
    position: absolute;
    top: 58px;
    left: 0; right: 0;
    background: var(--bg-header);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0.8rem;
    border-bottom: 2px solid var(--accent);
  }
  header nav.active { display: flex; }
  .menu-toggle { display: block; }
  
  .hero { min-height: 320px; }
  .hero h1 { font-size: 2rem; }
  .hero .hero-desc { font-size: 0.9rem; }
  .hero-stats { gap: 1.25rem; }
  
  .section { padding: 2.5rem 0; }
  h2 { font-size: 1.5rem; }
  
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .info-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.6rem; }
  .hero { min-height: 260px; }
}
