/* ─────────────────────────────────────────────────────
   SLICE LAGOS - CUSTOM DESIGN SYSTEM & TYPOGRAPHY
   NiishForge Gold v75.2 Static Compilation
───────────────────────────────────────────────────── */

/* CUSTOM BRAND FONTS */
@font-face {
  font-family: 'Atteron';
  src: url('../fonts/Atteron.ttf?v=4') format('truetype'),
       url('../fonts/AtteronClean.otf?v=4') format('opentype'),
       local('Atteron'),
       local('Atteron Personal Use Only'),
       local('Atteron Clean');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ROOT DESIGN TOKENS */
:root {
  --brand-linen:         #f8f5e7;
  --brand-linen-dark:    #ede9d4;
  --brand-moss:          #728e3b;
  --brand-moss-light:    #8aab48;
  --brand-moss-dark:     #556b2c;
  --brand-pine:          #161b14;
  --brand-pine-mid:      #2e3828;
  --brand-pine-light:    #4a5c3f;
  --brand-cream:         #FAF6EE;
  --brand-muted:         #8a9480;
  --brand-ivory:         #ede9d4;
  --brand-primary:       #728e3b;
  --brand-primary-light: #8aab48;
  --brand-primary-hover: #7fa040;
  --brand-primary-dark:  #556b2c;
  --gold:                #728e3b;
  --gold-light:          #8aab48;
  --gold-dark:           #556b2c;
  --brand-black:         #161b14;
  --brand-dark:          #1e2519;
  --brand-charcoal:      #2e3828;
  --brand-graphite:      #3d4e34;
  --brand-warm:          #f8f5e7;
}

/* GLOBAL RESET & BASE STYLES */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Skia', 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--brand-linen);
  color: var(--brand-pine);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* GLOBAL HEADINGS H1 TO H6 - ATTERON (INCREASED FONT WEIGHT) */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
h1[class*="font-"],
h2[class*="font-"],
h3[class*="font-"],
h4[class*="font-"],
h5[class*="font-"],
h6[class*="font-"],
.section-heading,
.entry-title {
  font-family: 'Atteron', 'Cormorant Garamond', 'Playfair Display', Georgia, serif !important;
  font-weight: 700 !important;
  line-height: 1.15;
  letter-spacing: -0.01em;
  -webkit-text-stroke: 0.35px currentColor;
  text-stroke: 0.35px currentColor;
}

h1, .h1 {
  font-weight: 800 !important;
  -webkit-text-stroke: 0.55px currentColor;
  text-stroke: 0.55px currentColor;
}

h2, .h2 {
  font-weight: 800 !important;
  -webkit-text-stroke: 0.45px currentColor;
  text-stroke: 0.45px currentColor;
}

h3, .h3 {
  font-weight: 700 !important;
  -webkit-text-stroke: 0.35px currentColor;
  text-stroke: 0.35px currentColor;
}

h4, h5, h6, .h4, .h5, .h6 {
  font-weight: 700 !important;
  -webkit-text-stroke: 0.25px currentColor;
  text-stroke: 0.25px currentColor;
}

/* NAVBAR SCROLLED STATE */
.navbar-scrolled {
  background-color: rgba(248, 245, 231, 0.96) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(22, 27, 20, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar-scrolled .text-brand-pine\/75 {
  color: rgba(22, 27, 20, 0.85);
}

.navbar-scrolled .text-\[\#f8f5e7\]\/85 {
  color: rgba(22, 27, 20, 0.85) !important;
  text-shadow: none !important;
}

/* BUTTONS & UI */
.btn-gold,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: 'Skia', 'Montserrat', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-color: var(--brand-moss);
  color: var(--brand-linen);
  border: 1px solid rgba(114, 142, 59, 0.5);
  box-shadow: 0 4px 18px rgba(114, 142, 59, 0.3);
  transition: all 0.3s ease-out;
  cursor: pointer;
}

.btn-gold:hover,
.btn-primary:hover {
  background-color: var(--brand-moss-dark);
  border-color: var(--brand-moss-light);
  color: #FFFFFF;
  box-shadow: 0 8px 28px rgba(114, 142, 59, 0.5);
}

.btn-gold:active,
.btn-primary:active {
  transform: scale(0.97);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: 'Skia', 'Montserrat', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--brand-moss);
  color: var(--brand-moss);
  transition: all 0.3s ease-out;
  cursor: pointer;
}

.btn-outline-gold:hover {
  background-color: var(--brand-moss);
  border-color: var(--brand-moss);
  color: var(--brand-linen);
}

.btn-outline-gold:active {
  transform: scale(0.97);
}

/* SECTION HEADINGS */
.section-label {
  font-family: 'Skia', 'Montserrat', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--brand-moss);
}

.section-heading {
  font-family: 'Atteron', 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.875rem;
  line-height: 1.25;
  color: var(--brand-pine);
}

@media (min-width: 768px) {
  .section-heading { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
  .section-heading { font-size: 3rem; }
}

.bg-brand-charcoal .section-heading,
.bg-brand-black .section-heading,
.bg-brand-dark .section-heading {
  color: var(--brand-linen);
}

/* DIVIDER */
.gold-divider {
  width: 4rem;
  height: 1px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  background-color: var(--brand-moss);
}

.gold-divider-left {
  width: 4rem;
  height: 1px;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  background-color: var(--brand-moss);
}

/* CARDS */
.card-dark {
  background-color: var(--brand-ivory);
  border: 1px solid rgba(22, 27, 20, 0.1);
  color: var(--brand-pine);
  transition: all 0.3s ease;
}

.card-dark:hover {
  border-color: rgba(114, 142, 59, 0.35);
  box-shadow: 0 20px 40px rgba(22, 27, 20, 0.12);
}

/* INPUTS */
.input-dark {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  background-color: var(--brand-ivory);
  border: 1px solid rgba(22, 27, 20, 0.2);
  color: var(--brand-pine);
  transition: border-color 0.2s ease;
}

.input-dark:focus {
  outline: none;
  border-color: var(--brand-moss);
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--brand-linen-dark, #ede9d4);
}
::-webkit-scrollbar-thumb {
  background: var(--brand-moss-dark);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-moss);
}

/* ANIMATIONS */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 0 30px rgba(37, 211, 102, 0.8); }
}

.animate-pulse-glow {
  animation: pulseGlow 2.5s infinite;
}
