/* ===================================================================
   Gala SDE — coming soon page
   Palette derived from the Gala SDE logo (ivory / navy / gold)
=================================================================== */

:root {
  --bg: #f3f1ea;
  --navy: #10142a;
  --navy-soft: #1b2140;
  --gold: #c9a24b;
  --gold-light: #ecd9a0;
  --gold-dim: rgba(201, 162, 75, 0.35);
  --text-muted: #5a5d6e;
  --frame-gap: 14px;
  --frame-gap-mobile: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--navy);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  padding: var(--frame-gap);
}

@media (max-width: 640px) {
  body {
    padding: var(--frame-gap-mobile);
  }
}

/* Thin premium frame around the whole page */
.frame {
  position: relative;
  min-height: calc(100vh - (var(--frame-gap) * 2));
  border: 1px solid var(--gold-dim);
  outline: 1px solid rgba(16, 20, 42, 0.06);
  outline-offset: -6px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 640px) {
  .frame {
    min-height: calc(100vh - (var(--frame-gap-mobile) * 2));
    outline-offset: -4px;
  }
}

.frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at top, rgba(201, 162, 75, 0.08), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(16, 20, 42, 0.04), transparent 55%);
}

/* Corner ornaments for a formal, engraved-invitation feel */
.corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1px solid var(--gold);
  opacity: 0.6;
  pointer-events: none;
}
.corner--tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.corner--tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.corner--bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.corner--br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

/* ---------- Header ---------- */
.site-header {
  display: flex;
  justify-content: center;
  padding: 2.25rem 1.5rem 1rem;
}

.logo {
  height: 54px;
  width: auto;
  display: block;
}

/* ---------- Main / Hero ---------- */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem 3rem;
}

.hero {
  width: 100%;
  max-width: 760px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--navy);
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  animation: reveal 0.7s ease forwards;
}

h1.headline {
  font-family: "Playfair Display", "Georgia", serif;
  font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin: 1.3rem 0 0.9rem;
  color: var(--navy);
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.8s ease 0.1s forwards;
}

h1.headline .accent {
  color: var(--gold);
  font-style: italic;
}

.tagline {
  font-family: "Playfair Display", "Georgia", serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  color: var(--navy-soft);
  margin: 0 0 1.25rem;
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.8s ease 0.2s forwards;
}

.lede {
  max-width: 560px;
  margin: 0 auto 2.25rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.8s ease 0.3s forwards;
}

/* ---------- Countdown ---------- */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: 460px;
  margin: 0 auto 2.25rem;
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.8s ease 0.4s forwards;
}

.countdown__cell {
  background: var(--navy);
  color: var(--bg);
  border: 1px solid var(--gold-dim);
  border-radius: 10px;
  padding: 0.85rem 0.4rem 0.7rem;
}

.countdown__num {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: clamp(1.3rem, 4vw, 1.9rem);
  font-weight: 600;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}

.countdown__label {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 241, 234, 0.7);
}

/* ---------- Event details card ---------- */
.details {
  background: #fff;
  border: 1px solid rgba(16, 20, 42, 0.08);
  border-radius: 14px;
  padding: 1.5rem;
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto 1.75rem;
  box-shadow: 0 12px 30px -18px rgba(16, 20, 42, 0.25);
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.8s ease 0.5s forwards;
}

@media (max-width: 640px) {
  .details {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

.details__item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  text-align: left;
}

.details__icon {
  flex: none;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--navy);
  color: var(--gold-light);
}
.details__icon svg { width: 18px; height: 18px; }

.details__label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.details__value {
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1.4;
}

/* ---------- Status pills (entry / reservation) ---------- */
.status-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.8s ease 0.6s forwards;
}

.pill {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

.pill--navy {
  background: var(--navy);
  color: var(--bg);
}

.pill--outline {
  background: transparent;
  border: 1px solid var(--navy);
  color: var(--navy);
}

/* ---------- Reservation CTA ---------- */
.cta {
  display: inline-block;
  margin: 0 auto 1.75rem;
  padding: 0.8rem 2.1rem;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 10px 24px -12px rgba(201, 162, 75, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.8s ease 0.65s forwards;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -12px rgba(201, 162, 75, 0.75);
}

/* ---------- Values / tags (Vision | Leadership | Impact) ---------- */
.values {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.8s ease 0.7s forwards;
}

.values__line {
  height: 1px;
  width: 32px;
  background: var(--gold);
  opacity: 0.6;
}

.values__word {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-soft);
}

/* ---------- Notify badge ---------- */
.notify {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--navy-soft);
  border: 1px dashed var(--gold-dim);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.8s ease 0.8s forwards;
}

.notify strong {
  font-weight: 700;
}

.notify__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 1.8s ease-in-out infinite;
  flex: none;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 1.5rem 1.5rem 2rem;
  text-align: center;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.socials a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(16, 20, 42, 0.15);
  color: var(--navy);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.socials a:hover,
.socials a:focus-visible {
  background: var(--navy);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.socials svg { width: 16px; height: 16px; }

.copyright {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ---------- Animations ---------- */
@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Reveal-on-scroll utility (toggled by JS via IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
