/* ============================================
   BOLT ABROAD — Layout & Navigation
   ============================================ */

/* ---- HEADER / NAV ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklch, var(--color-bg), transparent 8%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header--scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header--hidden {
  transform: translateY(-100%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
  gap: var(--space-6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}

.nav-logo svg {
  width: 36px;
  height: 36px;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  text-decoration: none;
  position: relative;
}

.nav-links a:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

.nav-links a.active {
  color: var(--color-accent);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  cursor: pointer;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.nav-theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

/* Mobile hamburger */
.nav-mobile-toggle {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

@media (max-width: 768px) {
  .nav-mobile-toggle {
    display: flex;
  }

  .nav-links, .nav-actions .btn {
    display: none;
  }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-divider);
    padding: var(--space-4);
    gap: var(--space-1);
    z-index: 99;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.is-open a {
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
  }
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  margin-top: var(--space-32);
}

[data-theme='dark'] .site-footer {
  background: var(--color-surface);
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  padding-block: var(--space-16) var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

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

.footer-brand p {
  max-width: none;
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-top: var(--space-4);
  opacity: 0.75;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: var(--space-4);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col ul a {
  font-size: var(--text-sm);
  opacity: 0.8;
  text-decoration: none;
}

.footer-col ul a:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: var(--text-xs);
  opacity: 0.55;
  gap: var(--space-4);
  flex-wrap: wrap;
}

[data-theme='dark'] .footer-bottom {
  border-top: 1px solid var(--color-divider);
  opacity: 0.6;
}

.footer-bottom a {
  opacity: 0.8;
  text-decoration: none;
}

.footer-bottom a:hover {
  opacity: 1;
}

/* ---- NEWSLETTER STRIP ---- */
.newsletter-strip {
  background: var(--color-accent);
  color: #fff;
  padding-block: var(--space-12);
}

.newsletter-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.newsletter-strip h2 {
  font-size: var(--text-xl);
  color: #fff;
  max-width: 40ch;
}

.newsletter-strip p {
  font-size: var(--text-sm);
  opacity: 0.85;
  margin-top: var(--space-2);
  max-width: 45ch;
}

.newsletter-form {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.newsletter-form input[type='email'] {
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: var(--text-sm);
  min-width: 260px;
  backdrop-filter: blur(8px);
}

.newsletter-form input[type='email']::placeholder {
  color: rgba(255,255,255,0.65);
}

.newsletter-form input[type='email']:focus {
  outline: 2px solid rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.7);
}

.newsletter-form .btn-submit {
  background: #fff;
  color: var(--color-accent);
  font-weight: 700;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  border: none;
  font-size: var(--text-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}

.newsletter-form .btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .newsletter-strip-inner {
    flex-direction: column;
    text-align: center;
  }
  .newsletter-form {
    width: 100%;
    justify-content: center;
  }
  .newsletter-form input[type='email'] {
    width: 100%;
    min-width: unset;
  }
}

/* ---- SECTION HEADERS ---- */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.section-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.section-title {
  font-size: var(--text-xl);
  color: var(--color-primary);
  line-height: 1.2;
}

[data-theme='dark'] .section-title {
  color: var(--color-text);
}

.section-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}

.section-link:hover {
  color: var(--color-accent-hover);
}

.section-link svg {
  transition: transform var(--transition-interactive);
}

.section-link:hover svg {
  transform: translateX(3px);
}
