/* MAMAN SIGNATURE — landing page */

:root {
  --navy-950: #060d18;
  --navy-900: #0a1526;
  --navy-800: #0f1e35;
  --navy-700: #16294a;
  --gold: #c9a45c;
  --gold-light: #e3c98d;
  --gold-dark: #a8834a;
  --cream: #f4ecdd;
  --text: #e8e4da;
  --text-dim: #b7b2a6;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Assistant', -apple-system, sans-serif;
  background: var(--navy-950);
  color: var(--text);
  line-height: 1.7;
  font-size: 1.06rem;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  color: var(--cream);
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  text-align: center;
  margin-bottom: 0.6em;
  position: relative;
  padding-bottom: 0.5em;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 22px;
}

.container.narrow { max-width: 560px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 999px;
  font-family: 'Assistant', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  color: var(--navy-950);
  box-shadow: 0 4px 22px rgba(201, 164, 92, 0.25);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 164, 92, 0.4);
}

.btn-full { width: 100%; }

.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* Hero */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(22, 41, 74, 0.55), transparent 70%),
    var(--navy-950);
  padding: 48px 20px 64px;
}

.hero-inner { max-width: 640px; }

.hero-logo {
  width: min(300px, 62vw);
  mix-blend-mode: lighten; /* dark logo background melts into the page */
  margin-bottom: 8px;
}

.hero h1 {
  font-size: clamp(2.1rem, 6vw, 3.2rem);
  letter-spacing: 0.02em;
  margin-bottom: 0.2em;
}

.hero-sub {
  color: var(--gold);
  font-size: clamp(1rem, 3vw, 1.25rem);
  letter-spacing: 0.14em;
  margin-bottom: 1.1em;
}

.hero-text {
  color: var(--text-dim);
  max-width: 460px;
  margin: 0 auto 2em;
}

/* About */
.about { padding: 90px 0 70px; background: var(--navy-900); }

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.about-card {
  background: var(--navy-800);
  border: 1px solid rgba(201, 164, 92, 0.14);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
}

.about-icon { font-size: 2rem; margin-bottom: 10px; }

.about-card h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--gold-light); }

.about-card p { font-size: 0.97rem; color: var(--text-dim); }

.about-note {
  text-align: center;
  margin-top: 36px;
  color: var(--text-dim);
  font-style: italic;
}

/* Workshops */
.workshops { padding: 90px 0; }

.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
  justify-content: center;
  gap: 22px;
  margin-top: 44px;
}

.workshop-card {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border: 1px solid rgba(201, 164, 92, 0.28);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.workshop-date {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  color: var(--gold-light);
}

.workshop-title { font-weight: 700; font-size: 1.1rem; color: var(--cream); }

.workshop-meta { color: var(--text-dim); font-size: 0.97rem; }

.workshop-spots {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--gold);
}

.workshop-spots.full { color: #c96a5c; }

.workshop-card .btn { margin-top: 16px; text-align: center; padding: 11px 20px; font-size: 1rem; }

.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold);
}

.btn-outline:hover { background: rgba(201, 164, 92, 0.12); }

.workshops-empty, .loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-dim);
}

/* Register form */
.register { padding: 90px 0; background: var(--navy-900); }

.register-sub { text-align: center; color: var(--text-dim); margin-bottom: 34px; }

#register-form { display: flex; flex-direction: column; gap: 6px; }

#register-form label {
  font-weight: 600;
  color: var(--gold-light);
  font-size: 0.95rem;
  margin-top: 14px;
}

#register-form input,
#register-form select {
  background: var(--navy-950);
  border: 1px solid rgba(201, 164, 92, 0.25);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: 'Assistant', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.15s ease;
}

#register-form input::placeholder { color: #6b6f78; }

#register-form input:focus,
#register-form select:focus { border-color: var(--gold); }

#register-form input[dir="ltr"] { text-align: left; }

#register-form .btn { margin-top: 26px; }

.form-message { text-align: center; margin-top: 16px; min-height: 1.5em; font-weight: 600; }

.form-message.ok { color: #8fd49a; }

.form-message.error { color: #e08a7d; }

/* Footer */
.footer {
  padding: 54px 0;
  text-align: center;
  border-top: 1px solid rgba(201, 164, 92, 0.15);
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-size: 0.95rem;
}

.footer-tag { color: var(--text-dim); font-size: 0.88rem; letter-spacing: 0.1em; margin: 4px 0 14px; }

.footer-links { color: var(--text-dim); font-size: 0.95rem; display: flex; gap: 10px; justify-content: center; }

.footer-links a { color: var(--text-dim); text-decoration: none; }

.footer-links a:hover { color: var(--gold-light); }

@media (max-width: 560px) {
  .hero { min-height: 86vh; }
  .about, .workshops, .register { padding: 64px 0; }
}
