/* ============================================================
   NCM Theme – Global Styles
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --navy:       #1B3A5C;
  --gold:       #C8962E;
  --orange:     #E8642C;
  --dark-navy:  #0F2440;
  --white:      #ffffff;
  --light-gray: #F5F6F8;
  --gray:       #6C757D;
  --text:       #333333;
  --border:     #DEE2E6;
  --gold-light: #E8B84A;
  --teal:       #1A8A7D;

  --font-heading: 'Playfair Display', serif;
  --font-body:    'Inter', sans-serif;

  --transition: 0.3s ease;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.16);
  --radius:     8px;
  --radius-lg:  16px;
}

/* --- Global Resets & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--gold);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark-navy);
  line-height: 1.3;
  margin-top: 0;
}

/* --- Section Spacing --- */
.section-padding {
  padding: 80px 0;
}
.section-padding-sm {
  padding: 60px 0;
}

/* --- Section Eyebrow --- */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* --- Section Title --- */
.section-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-title--center {
  text-align: center;
}

/* --- Section Subtitle --- */
.section-subtitle {
  font-size: 17px;
  color: var(--gray);
  max-width: 640px;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* --- Abstract Decorative Shapes --- */
.abstract-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.abstract-shape--navy {
  background-color: var(--navy);
}
.abstract-shape--gold {
  background-color: var(--gold);
}
.abstract-shape--orange {
  background-color: var(--orange);
}

/* --- Pillar Icon Backgrounds --- */
.bg-sky {
  background-color: #E8F4FD;
  color: #2196F3;
}
.bg-cream {
  background-color: #FFF8E8;
  color: var(--gold);
}
.bg-mint {
  background-color: #E8F8F0;
  color: #4CAF50;
}
.bg-peach {
  background-color: #FFF0EB;
  color: var(--orange);
}

/* --- Buttons --- */
.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-navy:hover {
  background-color: var(--dark-navy);
  border-color: var(--dark-navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background-color: var(--gold);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-gold:hover {
  background-color: #B5842A;
  border-color: #B5842A;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-outline-navy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background-color: transparent;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-outline-navy:hover {
  background-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background-color: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* --- White Solid Button (for dark backgrounds) --- */
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background-color: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-white:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* --- Background Utility --- */
.bg-light {
  background-color: #f8f9fc !important;
}

/* --- Note Box --- */
.note-box {
  background-color: #FFF8E8;
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}
.note-box strong {
  color: var(--dark-navy);
}

/* --- Link Arrow --- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  transition: all var(--transition);
}
.link-arrow i {
  transition: transform var(--transition);
}
.link-arrow:hover {
  color: var(--gold);
}
.link-arrow:hover i {
  transform: translateX(4px);
}

/* --- Content Body (rich text) --- */
.content-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}
.content-body h2 {
  font-size: 28px;
  margin-top: 40px;
  margin-bottom: 16px;
}
.content-body h3 {
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 12px;
}
.content-body p {
  margin-bottom: 16px;
}
.content-body ul,
.content-body ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.content-body li {
  margin-bottom: 8px;
}
.content-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--light-gray);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--gray);
}
.content-body img {
  border-radius: var(--radius);
  margin: 24px 0;
}
.content-body > h2:first-child,
.content-body > h3:first-child {
  margin-top: 0;
}

/* --- Utility: Text Colors --- */
.text-gold { color: var(--gold) !important; }
.text-navy { color: var(--navy) !important; }
.text-teal { color: var(--teal) !important; }

/* --- Utility: Background Colors --- */
.bg-navy { background-color: var(--navy) !important; }
.bg-dark-navy { background-color: var(--dark-navy) !important; }
.bg-gold { background-color: var(--gold) !important; }

/* --- Smooth Scroll --- */
html {
  scroll-behavior: smooth;
}

/* --- Selection Color --- */
::selection {
  background-color: var(--navy);
  color: var(--white);
}
