/* ─── Public Layout - Header, Footer, Shared Styles ──────────────── */

/* ─── Header ─────────────────────────────────────────────────────── */
.public-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #EBE2D6;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.public-header.scrolled {
  box-shadow: 0 2px 16px rgba(45, 35, 25, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.header-brand {
  color: #8B2842;
  transition: color 0.2s ease;
}

.header-brand:hover {
  color: #A83250;
}

/* Desktop nav links */
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6E604A;
  border-radius: 0.5rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: #8B2842;
  background-color: #FAF8F5;
}

.nav-link--active {
  color: #8B2842;
  background-color: #FDF2F4;
}

/* Register button in header */
.btn-header-register {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #D4A017, #B8860B);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(184, 134, 11, 0.3);
}

.btn-header-register:hover {
  background: linear-gradient(135deg, #B8860B, #996F09);
  box-shadow: 0 2px 8px rgba(184, 134, 11, 0.4);
  transform: translateY(-1px);
}

/* Mobile nav links */
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6E604A;
  border-radius: 0.5rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.mobile-nav-link:hover {
  color: #8B2842;
  background-color: #FAF8F5;
}

.mobile-nav-link--active {
  color: #8B2842;
  background-color: #FDF2F4;
}

.mobile-nav-link--cta {
  color: #B8860B;
  font-weight: 600;
}

/* ─── Footer ─────────────────────────────────────────────────────── */
.public-footer {
  background: linear-gradient(180deg, #3A3228 0%, #2D2319 100%);
  color: #C4B49A;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #A89878;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #D4A017;
}

/* ─── Shared Section Styles ──────────────────────────────────────── */
.section-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #3A3228;
  margin-bottom: 0.75rem;
}

.section-subheading {
  font-size: 1rem;
  color: #8B7A5E;
  max-width: 36rem;
  margin: 0 auto;
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
