/* =========================================================
   2019.et — Ethiopian New Year (Enkutatash) landing page
   Palette draws on the Ethiopian flag: green, gold, red.
   ========================================================= */
:root {
  --green: #078930;
  --green-deep: #046a25;
  --gold: #fcdd09;
  --gold-soft: #ffd24d;
  --red: #da121a;

  --ink: #1a1305;
  --ink-soft: #4a3f2a;
  --cream: #fff9ec;
  --cream-dim: #f3e9d2;

  --bg: #0e0a04;
  --glass: rgba(255, 249, 236, 0.08);
  --glass-line: rgba(255, 249, 236, 0.18);

  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
  --radius: 20px;

  --font-display: "Fraunces", "Noto Sans Ethiopic", Georgia, serif;
  --font-body: "Outfit", "Noto Sans Ethiopic", system-ui, sans-serif;
  --font-eth: "Noto Sans Ethiopic", "Outfit", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 0.75rem;
}

/* ---------- Flag accent bar ---------- */
.flag-bar {
  position: fixed; inset: 0 0 auto 0;
  height: 5px; z-index: 100;
  display: flex;
}
.flag-bar span { flex: 1; }
.flag-bar span:nth-child(1) { background: var(--green); }
.flag-bar span:nth-child(2) { background: var(--gold); }
.flag-bar span:nth-child(3) { background: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 600; font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: var(--ink);
  box-shadow: 0 12px 30px -8px rgba(252, 221, 9, 0.55);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px rgba(252, 221, 9, 0.7); }
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid var(--glass-line);
}
.btn--ghost:hover { background: var(--glass); transform: translateY(-3px); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 1.5rem clamp(1.2rem, 5vw, 4rem) 3rem;
  color: var(--cream);
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("images/hero.png") center/cover no-repeat;
  transform: scale(1.05);
  animation: slowZoom 24s ease-in-out infinite alternate;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(14,10,4,0.15) 0%, rgba(14,10,4,0.55) 55%, rgba(14,10,4,0.9) 100%),
    linear-gradient(180deg, rgba(14,10,4,0.35) 0%, rgba(14,10,4,0.1) 35%, rgba(14,10,4,0.75) 100%);
}
@keyframes slowZoom { from { transform: scale(1.05); } to { transform: scale(1.16); } }

/* ---- nav ---- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.nav__brand {
  font-family: var(--font-display);
  font-weight: 900; font-size: 1.6rem;
  color: var(--cream); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.55rem;
  letter-spacing: -0.02em;
}
.nav__dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(252,221,9,0.25);
}
.nav__tld { color: var(--gold); }
.nav__links { display: flex; align-items: center; gap: 1.8rem; }
.nav__links a {
  color: var(--cream); text-decoration: none; font-weight: 500;
  opacity: 0.85; transition: opacity 0.2s;
}
.nav__links a:hover { opacity: 1; }
.nav__cta {
  border: 1.5px solid var(--glass-line);
  padding: 0.55rem 1.1rem; border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* ---- hero content ---- */
.hero__content {
  margin: auto 0;
  max-width: 900px;
  padding: 4rem 0 2rem;
  text-align: center;
  align-self: center;
}
.hero__eyebrow {
  font-family: var(--font-eth);
  letter-spacing: 0.35em; text-transform: uppercase;
  font-size: 0.85rem; font-weight: 600;
  color: var(--gold-soft);
  margin-bottom: 1.2rem;
}
.hero__title { line-height: 1.02; margin-bottom: 1.4rem; }
.hero__amharic {
  font-family: var(--font-eth);
  display: block;
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 5rem);
  background: linear-gradient(120deg, #fff7df 0%, var(--gold) 55%, var(--gold-soft) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 40px rgba(252,221,9,0.25);
}
.hero__roman {
  display: block;
  font-family: var(--font-display);
  font-weight: 600; font-style: italic;
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  color: var(--cream-dim);
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}
.hero__sub {
  max-width: 620px; margin: 0 auto 2.6rem;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,249,236,0.85);
}
.hero__sub strong { color: var(--cream); }

/* ---- countdown ---- */
.countdown {
  display: flex; align-items: stretch; justify-content: center;
  gap: clamp(0.4rem, 1.5vw, 1rem);
  margin: 0 auto 1.6rem;
  flex-wrap: nowrap;
}
.unit {
  flex: 1 1 0; max-width: 150px;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(0.8rem, 2vw, 1.5rem) clamp(0.3rem, 1.5vw, 1rem);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.unit__value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 8vw, 4.5rem);
  line-height: 1;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}
.unit__value.tick { transform: translateY(-6px) scale(1.06); }
.unit__label {
  margin-top: 0.6rem;
  font-size: clamp(0.65rem, 1.4vw, 0.8rem);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 600;
}
.unit__sep {
  display: flex; align-items: center;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.6rem, 5vw, 3rem);
  color: rgba(252,221,9,0.5);
  align-self: center;
}
.hero__date {
  font-size: 0.95rem; color: var(--gold-soft);
  letter-spacing: 0.05em; margin-bottom: 2.2rem; font-weight: 500;
}
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- scroll hint ---- */
.scroll-hint {
  position: absolute; bottom: 1.3rem; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--glass-line);
  border-radius: 999px; display: flex; justify-content: center; padding-top: 7px;
}
.scroll-hint span {
  width: 4px; height: 8px; border-radius: 2px; background: var(--gold);
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot { 0%,100% { opacity: 0; transform: translateY(0); } 50% { opacity: 1; transform: translateY(8px); } }

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(252,221,9,0.10), transparent 60%),
    var(--cream);
  color: var(--ink);
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
  padding: clamp(4rem, 10vw, 8rem) clamp(1.2rem, 6vw, 6rem);
}
.about__media { position: relative; }
.about__media img {
  width: 100%; border-radius: 28px; aspect-ratio: 1; object-fit: cover;
  box-shadow: 0 40px 80px -30px rgba(7,137,48,0.4);
  border: 6px solid #fff;
}
.about__badge {
  position: absolute; bottom: -18px; left: -18px;
  background: var(--green); color: #fff;
  font-family: var(--font-eth); font-weight: 700; font-size: 1.4rem;
  padding: 0.8rem 1.3rem; border-radius: 16px;
  display: flex; flex-direction: column; line-height: 1.1;
  box-shadow: var(--shadow);
}
.about__badge small { font-family: var(--font-body); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.85; }
.about__text h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.05;
  margin-bottom: 1.3rem; letter-spacing: -0.02em;
}
.about__text h2 span { color: var(--green); font-style: italic; }
.about__text p { color: var(--ink-soft); margin-bottom: 1rem; font-size: 1.05rem; }
.about__text em { color: var(--red); font-style: italic; font-weight: 500; }
.facts { list-style: none; margin-top: 1.8rem; display: grid; gap: 0.7rem; }
.facts li {
  display: flex; align-items: center; gap: 0.8rem;
  font-weight: 500; color: var(--ink);
  padding: 0.7rem 1rem; background: #fff;
  border-radius: 12px; border: 1px solid var(--cream-dim);
}
.facts li span { font-size: 1.2rem; }

/* =========================================================
   TRADITIONS
   ========================================================= */
.traditions {
  background: linear-gradient(180deg, #0f1c12 0%, #0a1109 100%);
  color: var(--cream);
  padding: clamp(4rem, 10vw, 8rem) clamp(1.2rem, 6vw, 6rem);
}
.traditions__head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.traditions__head .kicker { color: var(--gold-soft); }
.traditions__head h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.02em;
}
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem; max-width: 1100px; margin: 0 auto;
}
.card {
  background: rgba(255,249,236,0.04);
  border: 1px solid rgba(255,249,236,0.1);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--gold); background: rgba(255,249,236,0.07); }
.card__icon {
  width: 58px; height: 58px; display: grid; place-items: center;
  font-size: 1.8rem; border-radius: 16px; margin-bottom: 1.1rem;
  background: linear-gradient(135deg, rgba(252,221,9,0.18), rgba(7,137,48,0.18));
}
.card h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin-bottom: 0.5rem; }
.card p { color: rgba(255,249,236,0.72); font-size: 0.96rem; }
.card em { color: var(--gold-soft); font-style: italic; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative; color: var(--cream);
  background:
    linear-gradient(180deg, rgba(14,10,4,0.55), rgba(14,10,4,0.92)),
    url("images/hero.png") center/cover fixed;
  text-align: center;
}
.footer__inner { padding: clamp(4rem, 10vw, 7rem) 1.5rem; }
.footer__greeting { font-size: clamp(1.4rem, 4vw, 2.4rem); margin-bottom: 1rem; }
.footer__inner h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.02em; margin-bottom: 0.8rem;
}
.footer__sub { color: rgba(255,249,236,0.8); margin-bottom: 2rem; }
.footer__base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding: 1.4rem clamp(1.2rem, 6vw, 4rem);
  border-top: 1px solid rgba(255,249,236,0.12);
  font-size: 0.9rem; color: rgba(255,249,236,0.7);
  font-family: var(--font-display); font-weight: 600;
}

/* =========================================================
   Falling petals
   ========================================================= */
.petals { position: fixed; inset: 0; pointer-events: none; z-index: 50; overflow: hidden; }
.petal {
  position: absolute; top: -6vh;
  width: 14px; height: 14px;
  background: radial-gradient(circle at 30% 30%, var(--gold-soft), var(--gold) 70%);
  border-radius: 60% 0 60% 0;
  opacity: 0.85;
  animation: fall linear forwards;
}
@keyframes fall {
  to { transform: translateY(110vh) rotate(540deg); opacity: 0; }
}

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }
.reveal[data-delay="6"] { transition-delay: 0.48s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 760px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 360px; margin: 0 auto; }
  .unit__sep { display: none; }
  .countdown { gap: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg, .scroll-hint span, .petal { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
