/* css/styles.css */

/* Brand tokens */
:root {
  --makko-bg: #020617; /* zinc-950 */
  --makko-surface: #0b1120;
  --makko-surface-soft: #020617;
  --makko-border-subtle: rgba(148, 163, 184, 0.35);
  --makko-yellow: #facc15;
  --makko-yellow-soft: #fef3c7;
  --makko-accent: #22c55e;
  --makko-accent-soft: #dcfce7;
  --makko-text-main: #e5e7eb;
  --makko-text-muted: #9ca3af;
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at top, #020617 0, #020617 55%, #020617 100%);
  color: var(--makko-text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page-shell {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Header / nav */
.site-header {
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(24px);
  transition: background 160ms ease-out, box-shadow 160ms ease-out, transform 160ms ease-out;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.site-header.nav-scrolled {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  transform: translateY(0);
}

.brand-mark {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--makko-text-muted);
}

/* Reusable typography */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--makko-text-muted);
  background: rgba(15, 23, 42, 0.8);
}

.section-eyebrow-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--makko-yellow);
}

.section-title {
  font-size: clamp(1.8rem, 1.1rem + 1.8vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.section-lead {
  color: var(--makko-text-muted);
  max-width: 44rem;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background-color 150ms ease-out,
    color 150ms ease-out,
    box-shadow 150ms ease-out,
    transform 120ms ease-out,
    border-color 150ms ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--makko-yellow), #f97316);
  color: #111827;
  box-shadow: 0 18px 40px rgba(250, 204, 21, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 20px 48px rgba(250, 204, 21, 0.6);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--makko-text-main);
}

.btn-secondary:hover {
  background: rgba(30, 64, 175, 0.35);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--makko-text-main);
}

.btn-ghost:hover {
  border-color: rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.7);
}

/* Nav links */
.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.8);
  padding-block: 0.5rem;
  padding-inline: 0.5rem;
}

.nav-link:hover {
  color: var(--makko-yellow);
}

.nav-link-active {
  color: var(--makko-yellow);
}

/* Dropdown */
.submenu-panel {
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(
    circle at top,
    rgba(250, 204, 21, 0.1),
    rgba(15, 23, 42, 0.96)
  );
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
}

.submenu-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  text-decoration: none;
  color: var(--makko-text-main);
  font-size: 0.85rem;
}

.submenu-item:hover {
  background: rgba(15, 23, 42, 0.9);
}

/* Simple icon circle */
.icon-pill {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 1);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

/* Cards */
.card {
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(
    circle at top left,
    rgba(250, 204, 21, 0.08),
    rgba(15, 23, 42, 0.96)
  );
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.75);
}

/* Hero */
.hero-shell {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(250, 204, 21, 0.24), transparent 55%),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.23), transparent 55%);
}

/* Scroll reveal */
.reveal-section {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms ease-out,
    transform 600ms ease-out;
  will-change: opacity, transform;
}

.reveal-section.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* Utility tweaks */
.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(15, 23, 42, 0.9);
  color: var(--makko-yellow-soft);
  border: 1px solid rgba(250, 204, 21, 0.6);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.75rem;
  color: var(--makko-text-muted);
}

/* Forms */
.input-field,
.select-field,
.textarea-field {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  padding: 0.6rem 0.8rem;
  color: var(--makko-text-main);
  font-size: 0.9rem;
  outline: none;
  transition:
    border-color 150ms ease-out,
    box-shadow 150ms ease-out,
    background-color 150ms ease-out;
}

.input-field::placeholder,
.textarea-field::placeholder {
  color: rgba(148, 163, 184, 0.9);
}

.input-field:focus,
.select-field:focus,
.textarea-field:focus {
  border-color: var(--makko-yellow);
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.8);
  background: rgba(15, 23, 42, 1);
}

.textarea-field {
  min-height: 8rem;
  resize: vertical;
}

/* Contact page map wrapper */
.map-shell {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(31, 41, 55, 1);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 1), #020617);
  color: var(--makko-text-muted);
  font-size: 0.8rem;
}
