/* ----------------------------------------
   Global Font and Theme Setup
---------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');

:root {
  --gold: #AC9130;
  --black: #000000;
  --bg-light: #f5f5f5;
  --text-dark: #222222;
  --font-main: 'Inter', sans-serif;
}

/* ----------------------------------------
   Body and Page Layout
---------------------------------------- */
body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  margin: 0;
  padding: 0;
  color: var(--text-dark);
}

/* ----------------------------------------
   Content Wrapper — Controls Left/Right Margin
---------------------------------------- */
.content-wrapper {
  margin-left: 40px;   /* 🔧 Adjust left margin */
  margin-right: 40px;  /* 🔧 Match right margin to logo/nav spacing */
}

/* ----------------------------------------
   Header — Full Width, Black Background, Gold Text
---------------------------------------- */
header {
  background-color: var(--black);
  color: var(--gold);
  width: 100%;
  padding: 15px 0; /* 🔧 Adjust vertical spacing */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid var(--gold);
}

/* ----------------------------------------
   Header Container — Controls Horizontal Layout
---------------------------------------- */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px; /* 🔧 Equal spacing for logo and nav from screen edge */
}

/* ----------------------------------------
   Logo — Controls Size and Position
---------------------------------------- */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  position: absolute;
  top: 13px;
  left: 40px;
  height: 25px;
  width: auto;
}

/* ----------------------------------------
   Navigation Links — Controls Layout and Spacing
---------------------------------------- */
.nav-links {
  display: flex;                  /* Horizontal layout */
  align-items: center;           /* Vertical centering */
  gap: 24px;                     /* 🔧 Space between links */
  font-size: 0.85rem;            /* 🔧 Text size */
  font-weight: 500;              /* 🔧 Font weight */

  margin-left: auto;             /* 🔧 Push nav to the right */
  margin-right: 30px;            /* 🔧 Control distance from right edge */
  padding-right: 0;              /* 🔧 Remove extra spacing */
  max-width: 300px;              /* 🔧 Optional: constrain nav width */
}

.nav-links a,
.nav-links a:visited,
.nav-links a:active,
.nav-links a:focus {
  color: var(--gold);            /* 🔧 Link color */
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--gold);            /* 🔧 Hover color */
  text-decoration: underline;    /* 🔧 Hover effect */
}

/* ----------------------------------------
   Headings — Use Dark Text for Body Titles
---------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 600;
}

/* ----------------------------------------
   Main Content — Controls Width and Padding
---------------------------------------- */
main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 40px; /* 🔧 Match header/footer horizontal spacing */
  color: var(--text-dark); /* Force dark text inside main */
  background-color: var(--bg-light);
}

/* ----------------------------------------
   Footer — Preserved As-Is
---------------------------------------- */
footer {
  background-color: var(--black);
  color: var(--gold);
  width: 100%;
  border-top: 1px solid var(--gold);
  padding: 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5px 10px;
  font-size: 0.75rem;
  text-align: center;
  line-height: 1.4;
}

/* ----------------------------------------
   Utility Classes — Spacing, Alignment, Visibility
---------------------------------------- */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-left   { text-align: left; }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }

.p-10  { padding: 10px; }
.p-20  { padding: 20px; }

.hidden  { display: none; }
.visible { display: block; }

/* ----------------------------------------
   Responsive Layout (Mobile Ready)
---------------------------------------- */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 20px; /* 🔧 Adjust mobile edge spacing */
  }

  .nav-links {
    margin-top: 10px;
    justify-content: flex-start;
  }

  .content-wrapper {
    margin-left: 15px;
    margin-right: 15px;
  }

  .logo img {
    height: 32px; /* 🔧 Smaller logo on mobile */
  }

  main {
    padding: 0 20px;
  }
}
/* ----------------------------------------
   🔧 Force-reset gold text in main content
---------------------------------------- */
main, main * {
  color: var(--text-dark) !important;
}
/* ----------------------------------------
   🔧 Force-reset gold text in main content
---------------------------------------- */
main, main * {
  color: var(--text-dark) !important;
}
