/*
Theme Name: Namibia Safaris
Theme URI: https://namibiasafaris.com
Author: Namibia Safaris Company
Description: Premium WordPress theme for Namibia Safaris - Explore the untamed beauty of Namibia's deserts, wildlife, and adventure.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: namibia-safaris
Tags: one-column, custom-menu, featured-images, full-width-template, safari, travel

Namibia Safaris - Your Gateway to African Adventure
*/

/* === NAMIBIA DESIGN TOKENS === */
:root {
  /* Primary Palette */
  --ns-cream: #f5e9d8;
  --ns-taupe: #bbac8f;
  --ns-sienna: #9c4c1c;
  --ns-gold: #c79f74;
  --ns-terracotta: #d7a47d;
  
  /* Extended Palette */
  --ns-cream-light: #faf5ed;
  --ns-cream-dark: #e8d9c5;
  --ns-sienna-light: #b85d2a;
  --ns-sienna-dark: #7a3a14;
  --ns-gold-light: #d4b08a;
  --ns-gold-dark: #a88560;
  
  /* Neutrals */
  --ns-white: #ffffff;
  --ns-black: #1a1512;
  --ns-charcoal: #2d2520;
  --ns-stone: #4a423b;
  --ns-sand: #8a7f72;
  --ns-mist: #c5bdb3;
  
  /* Typography Scale */
  --ns-text-xs: 0.75rem;
  --ns-text-sm: 0.875rem;
  --ns-text-base: 1rem;
  --ns-text-lg: 1.125rem;
  --ns-text-xl: 1.25rem;
  --ns-text-2xl: 1.5rem;
  --ns-text-3xl: 2rem;
  --ns-text-4xl: 2.5rem;
  --ns-text-5xl: 3.5rem;
  
  /* Spacing Scale */
  --ns-space-1: 0.25rem;
  --ns-space-2: 0.5rem;
  --ns-space-3: 0.75rem;
  --ns-space-4: 1rem;
  --ns-space-5: 1.25rem;
  --ns-space-6: 1.5rem;
  --ns-space-8: 2rem;
  --ns-space-10: 2.5rem;
  --ns-space-12: 3rem;
  --ns-space-16: 4rem;
  --ns-space-20: 5rem;
  --ns-space-24: 6rem;
  
  /* Shadows */
  --ns-shadow-sm: 0 1px 2px rgba(26, 21, 18, 0.05);
  --ns-shadow-md: 0 4px 12px rgba(26, 21, 18, 0.08);
  --ns-shadow-lg: 0 8px 30px rgba(26, 21, 18, 0.12);
  --ns-shadow-xl: 0 20px 50px rgba(26, 21, 18, 0.18);
  
  /* Border Radius */
  --ns-radius-sm: 0.375rem;
  --ns-radius-md: 0.5rem;
  --ns-radius-lg: 1rem;
  --ns-radius-xl: 1.5rem;
  --ns-radius-full: 9999px;
  
  /* Transitions */
  --ns-transition-fast: 150ms ease;
  --ns-transition-base: 250ms ease;
  --ns-transition-slow: 400ms ease;
}

/* === FOUNDATION === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--ns-cream-light);
  color: var(--ns-charcoal);
  line-height: 1.7;
  font-size: var(--ns-text-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Libre Baskerville', Georgia, serif;
  color: var(--ns-sienna-dark);
  line-height: 1.3;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--ns-transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === LAYOUT WRAPPER === */
.ns-wrapper {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--ns-space-4);
}

@media (min-width: 768px) {
  .ns-wrapper { padding-inline: var(--ns-space-6); }
}

@media (min-width: 1024px) {
  .ns-wrapper { padding-inline: var(--ns-space-8); }
}

/* === TOP STRIP === */
.ns-topstrip {
  background: linear-gradient(135deg, var(--ns-sienna-dark) 0%, var(--ns-sienna) 100%);
  color: var(--ns-cream);
  padding: var(--ns-space-2) var(--ns-space-4);
  font-size: var(--ns-text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.ns-topstrip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--ns-space-4);
}

.ns-topstrip-location {
  display: none;
}

@media (min-width: 768px) {
  .ns-topstrip-location { display: block; }
}

.ns-topstrip-contact {
  display: flex;
  align-items: center;
  gap: var(--ns-space-6);
}

.ns-topstrip-contact span {
  display: flex;
  align-items: center;
  gap: var(--ns-space-2);
}

.ns-topstrip-contact svg {
  width: 12px;
  height: 12px;
  opacity: 0.8;
}

/* === MASTHEAD (HEADER) === */
.ns-masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 233, 216, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ns-cream-dark);
  transition: box-shadow var(--ns-transition-base);
}

.ns-masthead-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
}

/* Logo */
.ns-brand {
  display: flex;
  align-items: center;
  gap: var(--ns-space-3);
}

.ns-brand-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--ns-sienna) 0%, var(--ns-terracotta) 100%);
  border-radius: var(--ns-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ns-white);
  box-shadow: var(--ns-shadow-md);
}

.ns-brand-text {
  display: flex;
  flex-direction: column;
}

.ns-brand-name {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  font-size: var(--ns-text-xl);
  color: var(--ns-sienna-dark);
  line-height: 1.1;
}

.ns-brand-tagline {
  font-size: var(--ns-text-xs);
  color: var(--ns-sand);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 2px;
}

/* Desktop Navigation */
.ns-navbar {
  display: none;
}

@media (min-width: 1024px) {
  .ns-navbar {
    display: flex;
    align-items: center;
    gap: var(--ns-space-8);
  }
}

.ns-navbar a {
  color: var(--ns-stone);
  font-weight: 500;
  font-size: var(--ns-text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--ns-space-2) 0;
  position: relative;
}

.ns-navbar a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ns-sienna);
  transition: width var(--ns-transition-base);
}

.ns-navbar a:hover {
  color: var(--ns-sienna);
}

.ns-navbar a:hover::after {
  width: 100%;
}

.ns-navbar-divider {
  height: 1.5rem;
  width: 1px;
  background: var(--ns-taupe);
  margin-inline: var(--ns-space-2);
}

/* Mobile Menu Toggle */
.ns-mobile-toggle {
  display: flex;
  align-items: center;
  gap: var(--ns-space-4);
}

@media (min-width: 1024px) {
  .ns-mobile-toggle { display: none; }
}

.ns-mobile-toggle button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ns-sienna);
  padding: var(--ns-space-2);
}

/* Mobile Menu */
.ns-mobile-menu {
  display: none;
  background: var(--ns-cream);
  border-top: 1px solid var(--ns-cream-dark);
  padding: var(--ns-space-4) 0 var(--ns-space-8);
}

.ns-mobile-menu.is-active {
  display: block;
}

@media (min-width: 1024px) {
  .ns-mobile-menu { display: none !important; }
}

.ns-mobile-menu a {
  display: block;
  padding: var(--ns-space-3) var(--ns-space-4);
  color: var(--ns-sienna-dark);
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all var(--ns-transition-fast);
}

.ns-mobile-menu a:hover,
.ns-mobile-menu a.current {
  background: var(--ns-cream-dark);
  border-left-color: var(--ns-sienna);
}

/* === BUTTONS === */
.ns-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ns-space-2);
  padding: var(--ns-space-3) var(--ns-space-6);
  border-radius: var(--ns-radius-full);
  font-weight: 600;
  font-size: var(--ns-text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: all var(--ns-transition-base);
}

.ns-btn-primary {
  background: linear-gradient(135deg, var(--ns-sienna) 0%, var(--ns-sienna-light) 100%);
  color: var(--ns-white);
  box-shadow: 0 4px 15px rgba(156, 76, 28, 0.35);
}

.ns-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(156, 76, 28, 0.45);
}

.ns-btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: var(--ns-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.ns-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: var(--ns-white);
}

.ns-btn-outline {
  background: transparent;
  color: var(--ns-sienna);
  border: 2px solid var(--ns-sienna);
}

.ns-btn-outline:hover {
  background: var(--ns-sienna);
  color: var(--ns-white);
}

.ns-btn-light {
  background: var(--ns-white);
  color: var(--ns-sienna-dark);
  box-shadow: var(--ns-shadow-md);
}

.ns-btn-light:hover {
  background: var(--ns-cream);
}

/* === SHOWCASE (HERO) === */
.ns-showcase {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ns-showcase-bg {
  position: absolute;
  inset: 0;
}

.ns-showcase-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ns-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26, 21, 18, 0.75) 0%,
    rgba(26, 21, 18, 0.5) 50%,
    rgba(26, 21, 18, 0.2) 100%
  );
}

.ns-showcase-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  color: var(--ns-white);
  padding-top: var(--ns-space-20);
}

.ns-showcase-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--ns-space-2);
  color: var(--ns-terracotta);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: var(--ns-text-sm);
  margin-bottom: var(--ns-space-4);
}

.ns-showcase-tag svg {
  width: 16px;
  height: 16px;
}

.ns-showcase-title {
  font-size: var(--ns-text-4xl);
  color: var(--ns-white);
  margin-bottom: var(--ns-space-6);
  line-height: 1.1;
}

@media (min-width: 768px) {
  .ns-showcase-title {
    font-size: var(--ns-text-5xl);
  }
}

.ns-showcase-desc {
  font-size: var(--ns-text-lg);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  margin-bottom: var(--ns-space-8);
  max-width: 36rem;
}

@media (min-width: 768px) {
  .ns-showcase-desc {
    font-size: var(--ns-text-xl);
  }
}

.ns-showcase-actions {
  display: flex;
  flex-direction: column;
  gap: var(--ns-space-4);
}

@media (min-width: 640px) {
  .ns-showcase-actions {
    flex-direction: row;
  }
}

/* === STATS RIBBON === */
.ns-ribbon {
  background: linear-gradient(135deg, var(--ns-sienna-dark) 0%, var(--ns-sienna) 100%);
  color: var(--ns-white);
  padding: var(--ns-space-12) 0;
}

.ns-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--ns-space-8);
  text-align: center;
}

@media (min-width: 768px) {
  .ns-ribbon-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ns-ribbon-item {
  padding: var(--ns-space-4);
}

.ns-ribbon-number {
  font-family: 'Libre Baskerville', serif;
  font-size: var(--ns-text-3xl);
  font-weight: 700;
  color: var(--ns-terracotta);
  margin-bottom: var(--ns-space-2);
}

.ns-ribbon-label {
  font-size: var(--ns-text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

/* === SECTIONS === */
.ns-section {
  padding: var(--ns-space-20) 0;
}

.ns-section-cream { background: var(--ns-cream); }
.ns-section-light { background: var(--ns-cream-light); }
.ns-section-white { background: var(--ns-white); }

.ns-section-header {
  margin-bottom: var(--ns-space-12);
}

.ns-section-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--ns-space-3);
  color: var(--ns-sienna);
  font-weight: 700;
  font-size: var(--ns-text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--ns-space-4);
}

.ns-section-eyebrow::before {
  content: '';
  width: 3rem;
  height: 2px;
  background: linear-gradient(to right, var(--ns-sienna), var(--ns-terracotta));
}

.ns-section-title {
  font-size: var(--ns-text-3xl);
  margin-bottom: var(--ns-space-4);
}

@media (min-width: 768px) {
  .ns-section-title {
    font-size: var(--ns-text-4xl);
  }
}

.ns-section-subtitle {
  color: var(--ns-sand);
  font-size: var(--ns-text-lg);
  max-width: 40rem;
}

/* === DESTINATION CARDS === */
.ns-destinations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ns-space-6);
}

@media (min-width: 640px) {
  .ns-destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ns-destinations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ns-destination-card {
  position: relative;
  border-radius: var(--ns-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
}

.ns-destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ns-transition-slow);
}

.ns-destination-card:hover img {
  transform: scale(1.1);
}

.ns-destination-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 21, 18, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--ns-space-6);
}

.ns-destination-card-title {
  font-family: 'Libre Baskerville', serif;
  font-size: var(--ns-text-xl);
  color: var(--ns-white);
  margin-bottom: var(--ns-space-2);
}

.ns-destination-card-desc {
  font-size: var(--ns-text-sm);
  color: rgba(255, 255, 255, 0.75);
}

.ns-destination-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--ns-space-2);
  color: var(--ns-terracotta);
  font-weight: 600;
  font-size: var(--ns-text-sm);
  margin-top: var(--ns-space-4);
  transition: gap var(--ns-transition-base);
}

.ns-destination-card:hover .ns-destination-card-link {
  gap: var(--ns-space-3);
}

/* === EXPERIENCE TILES === */
.ns-experiences-flex {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ns-space-6);
}

.ns-experience-tile {
  flex: 1 1 300px;
  background: var(--ns-white);
  border-radius: var(--ns-radius-lg);
  padding: var(--ns-space-8);
  box-shadow: var(--ns-shadow-sm);
  border: 1px solid var(--ns-cream-dark);
  transition: all var(--ns-transition-base);
}

.ns-experience-tile:hover {
  box-shadow: var(--ns-shadow-lg);
  transform: translateY(-4px);
}

.ns-experience-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, var(--ns-cream) 0%, var(--ns-cream-dark) 100%);
  border-radius: var(--ns-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ns-sienna);
  margin-bottom: var(--ns-space-6);
}

.ns-experience-icon svg {
  width: 28px;
  height: 28px;
}

.ns-experience-tile h3 {
  font-size: var(--ns-text-xl);
  margin-bottom: var(--ns-space-3);
}

.ns-experience-tile p {
  color: var(--ns-sand);
  font-size: var(--ns-text-sm);
  line-height: 1.7;
  margin-bottom: var(--ns-space-4);
}

.ns-experience-link {
  display: inline-flex;
  align-items: center;
  gap: var(--ns-space-2);
  color: var(--ns-sienna);
  font-weight: 600;
  font-size: var(--ns-text-sm);
}

.ns-experience-link:hover {
  text-decoration: underline;
}

/* === VALUES GRID === */
.ns-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ns-space-6);
}

@media (min-width: 640px) {
  .ns-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ns-values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ns-value-item {
  text-align: center;
  padding: var(--ns-space-8);
}

.ns-value-icon {
  width: 4rem;
  height: 4rem;
  background: var(--ns-terracotta);
  border-radius: var(--ns-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ns-white);
  margin: 0 auto var(--ns-space-6);
}

.ns-value-icon svg {
  width: 28px;
  height: 28px;
}

.ns-value-item h4 {
  font-size: var(--ns-text-lg);
  margin-bottom: var(--ns-space-3);
}

.ns-value-item p {
  color: var(--ns-sand);
  font-size: var(--ns-text-sm);
}

/* === BLOG CARDS === */
.ns-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--ns-space-8);
}

.ns-post-card {
  background: var(--ns-white);
  border-radius: var(--ns-radius-lg);
  overflow: hidden;
  box-shadow: var(--ns-shadow-sm);
  border: 1px solid var(--ns-cream-dark);
  transition: all var(--ns-transition-base);
}

.ns-post-card:hover {
  box-shadow: var(--ns-shadow-lg);
}

.ns-post-card-image {
  height: 220px;
  overflow: hidden;
}

.ns-post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ns-transition-slow);
}

.ns-post-card:hover .ns-post-card-image img {
  transform: scale(1.08);
}

.ns-post-card-body {
  padding: var(--ns-space-6);
}

.ns-post-card-date {
  font-size: var(--ns-text-xs);
  font-weight: 700;
  color: var(--ns-sienna);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--ns-space-3);
}

.ns-post-card-title {
  font-size: var(--ns-text-lg);
  margin-bottom: var(--ns-space-3);
  line-height: 1.4;
}

.ns-post-card-title a {
  color: var(--ns-sienna-dark);
}

.ns-post-card-title a:hover {
  color: var(--ns-sienna);
}

.ns-post-card-excerpt {
  color: var(--ns-sand);
  font-size: var(--ns-text-sm);
  line-height: 1.6;
  margin-bottom: var(--ns-space-4);
}

.ns-post-card-link {
  font-size: var(--ns-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ns-sienna);
}

.ns-post-card-link:hover {
  text-decoration: underline;
}

/* === CTA BANNER === */
.ns-cta-banner {
  position: relative;
  background: linear-gradient(135deg, var(--ns-sienna-dark) 0%, var(--ns-sienna) 100%);
  padding: var(--ns-space-24) 0;
  overflow: hidden;
}

.ns-cta-banner-bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  mix-blend-mode: overlay;
}

.ns-cta-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ns-cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.ns-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--ns-space-2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: var(--ns-space-2) var(--ns-space-4);
  border-radius: var(--ns-radius-full);
  color: var(--ns-terracotta);
  font-size: var(--ns-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--ns-space-6);
}

.ns-cta-title {
  color: var(--ns-white);
  font-size: var(--ns-text-3xl);
  margin-bottom: var(--ns-space-6);
}

@media (min-width: 768px) {
  .ns-cta-title {
    font-size: var(--ns-text-4xl);
  }
}

.ns-cta-desc {
  color: var(--ns-cream);
  font-size: var(--ns-text-lg);
  margin-bottom: var(--ns-space-10);
}

.ns-cta-actions {
  display: flex;
  flex-direction: column;
  gap: var(--ns-space-4);
  justify-content: center;
}

@media (min-width: 640px) {
  .ns-cta-actions {
    flex-direction: row;
  }
}

/* === FOOTER === */
.ns-footer {
  background: var(--ns-charcoal);
  color: var(--ns-mist);
  padding: var(--ns-space-16) 0 var(--ns-space-8);
}

.ns-footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ns-space-12);
}

.ns-footer-brand {
  flex: 1 1 320px;
}

.ns-footer-brand h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: var(--ns-text-xl);
  color: var(--ns-white);
  margin-bottom: var(--ns-space-4);
}

.ns-footer-brand p {
  font-size: var(--ns-text-sm);
  line-height: 1.8;
  margin-bottom: var(--ns-space-6);
}

.ns-social-links {
  display: flex;
  gap: var(--ns-space-4);
}

.ns-social-links a {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--ns-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ns-mist);
  transition: all var(--ns-transition-fast);
}

.ns-social-links a:hover {
  background: var(--ns-sienna);
  color: var(--ns-white);
}

.ns-footer-nav {
  flex: 1 1 180px;
}

.ns-footer-nav h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: var(--ns-text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ns-white);
  margin-bottom: var(--ns-space-6);
}

.ns-footer-nav ul {
  list-style: none;
}

.ns-footer-nav li {
  margin-bottom: var(--ns-space-3);
}

.ns-footer-nav a {
  font-size: var(--ns-text-sm);
  transition: color var(--ns-transition-fast);
}

.ns-footer-nav a:hover {
  color: var(--ns-terracotta);
}

.ns-footer-newsletter {
  flex: 1 1 280px;
}

.ns-footer-newsletter h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: var(--ns-text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ns-white);
  margin-bottom: var(--ns-space-4);
}

.ns-footer-newsletter p {
  font-size: var(--ns-text-xs);
  margin-bottom: var(--ns-space-4);
  line-height: 1.6;
}

.ns-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--ns-space-2);
}

.ns-newsletter-form input[type="email"] {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--ns-white);
  padding: var(--ns-space-3) var(--ns-space-4);
  border-radius: var(--ns-radius-sm);
  font-size: var(--ns-text-sm);
}

.ns-newsletter-form input[type="email"]::placeholder {
  color: var(--ns-sand);
}

.ns-newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--ns-terracotta);
}

.ns-newsletter-form button {
  background: var(--ns-sienna);
  color: var(--ns-white);
  border: none;
  padding: var(--ns-space-3);
  border-radius: var(--ns-radius-sm);
  font-weight: 600;
  font-size: var(--ns-text-sm);
  cursor: pointer;
  transition: background var(--ns-transition-fast);
}

.ns-newsletter-form button:hover {
  background: var(--ns-sienna-light);
}

.ns-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--ns-space-12);
  padding-top: var(--ns-space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ns-space-4);
  font-size: var(--ns-text-xs);
}

@media (min-width: 768px) {
  .ns-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.ns-footer-legal {
  display: flex;
  gap: var(--ns-space-6);
}

.ns-footer-legal a:hover {
  color: var(--ns-white);
}

/* === PAGE CONTENT === */
.ns-page-content {
  padding: var(--ns-space-16) 0;
}

.ns-page-content h1 {
  font-size: var(--ns-text-4xl);
  margin-bottom: var(--ns-space-8);
}

.ns-page-content p {
  margin-bottom: var(--ns-space-6);
  color: var(--ns-stone);
}

/* === PROSE (CONTENT STYLING) === */
.ns-prose p {
  margin-bottom: var(--ns-space-6);
}

.ns-prose h2 {
  font-size: var(--ns-text-2xl);
  margin: var(--ns-space-10) 0 var(--ns-space-4);
}

.ns-prose h3 {
  font-size: var(--ns-text-xl);
  margin: var(--ns-space-8) 0 var(--ns-space-3);
}

.ns-prose ul,
.ns-prose ol {
  margin: var(--ns-space-6) 0;
  padding-left: var(--ns-space-6);
}

.ns-prose li {
  margin-bottom: var(--ns-space-2);
}

.ns-prose blockquote {
  border-left: 4px solid var(--ns-terracotta);
  padding-left: var(--ns-space-6);
  margin: var(--ns-space-8) 0;
  font-style: italic;
  color: var(--ns-sand);
}

.ns-prose img {
  border-radius: var(--ns-radius-lg);
  margin: var(--ns-space-8) 0;
}

.ns-prose a {
  color: var(--ns-sienna);
  text-decoration: underline;
}

/* === UTILITY CLASSES === */
.ns-text-center { text-align: center; }
.ns-hidden { display: none; }
.ns-flex { display: flex; }
.ns-flex-col { flex-direction: column; }
.ns-items-center { align-items: center; }
.ns-justify-center { justify-content: center; }
.ns-justify-between { justify-content: space-between; }

/* === ANIMATIONS === */
@keyframes ns-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ns-animate-in {
  opacity: 0;
  transform: translateY(20px);
}

.ns-animate-in.is-visible {
  animation: ns-fade-up 0.6s ease forwards;
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 767px) {
  .ns-showcase {
    min-height: 90vh;
  }
  
  .ns-showcase-title {
    font-size: var(--ns-text-3xl);
  }
  
  .ns-section {
    padding: var(--ns-space-12) 0;
  }
}
