/* AMALI IRL — Shared Nav & Footer */

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  height: 68px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s;
}

.nav.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-family: var(--font);
  font-weight: 700;
  font-size: 22px;
  color: var(--green);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  color: var(--charcoal);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
}

.nav-links a.active {
  font-weight: 600;
}

.nav-cta {
  background: var(--coral);
  color: white;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}

.nav-cta:hover {
  background: #c94420;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: transform 0.2s, opacity 0.2s;
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--cream);
}

.mobile-menu.open {
  max-height: 400px;
}

.mobile-menu a {
  display: block;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 15px;
  color: var(--charcoal);
  font-weight: 500;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--green);
}

.mobile-menu a.active {
  font-weight: 600;
}

.mobile-menu .nav-cta {
  display: block;
  width: calc(100% - 48px);
  margin: 16px 24px 24px;
  text-align: center;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .nav-links,
  .nav-inner > .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* Minimal nav (waitlist page) */
.nav-minimal .nav-links,
.nav-minimal .nav-cta,
.nav-minimal .hamburger,
.nav-minimal .mobile-menu {
  display: none;
}

/* Footer */
.footer {
  background: var(--green);
  padding: 64px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

.footer-brand-logo {
  color: white;
  font-weight: 700;
  font-size: 22px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.6;
}

.footer-heading {
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-link {
  color: white;
  opacity: 0.65;
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
  transition: opacity 0.2s;
}

.footer-link:hover {
  opacity: 1;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 40px 0 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom span {
  color: white;
  opacity: 0.4;
  font-size: 13px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Shared animations */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Shared buttons */
.btn-coral {
  background: var(--coral);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
  font-family: var(--font);
}

.btn-coral:hover {
  background: #c94420;
}

.btn-green {
  background: var(--green);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 999px;
  transition: opacity 0.2s;
  display: inline-block;
  font-family: var(--font);
}

.btn-green:hover {
  opacity: 0.9;
}

/* App preview badge */
.preview-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.preview-badge--dark {
  background: var(--off-white);
  color: var(--green);
  border-color: rgba(0, 0, 0, 0.08);
}

/* Section label */
.section-label {
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
