/* ============================================
   GLOBAL STYLES FOR ALL PAGES
   ============================================ */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base Styles */
body {
  font-family: 'Instrument Sans', sans-serif;
  background: #FFFFFF;
  color: #00040D;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Google Fonts are linked via the HTML head */

/* Common Navigation Styles */
.nav-projects,
.nav-articles {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 30px;
  color: #00040D;
  text-decoration: none;
  white-space: nowrap;
  margin-left: 24px;
}

.nav-projects:first-child,
.nav-articles:first-child {
  margin-left: 0;
}

/* Logo Link */
.logo-link {
  text-decoration: none;
  display: block;
  cursor: pointer;
  flex-shrink: 0;
}

/* Logo Container */
.logo-container {
  position: relative;
  width: 121.132px;
  height: 38px;
}

.logo-svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Common Highlight Style */
.highlight {
  color: #2C5DFE;
}

/* ============================================
   SHARED HEADER STYLES
   ============================================ */

/* Site Header - shared navigation container for every page */
.site-header {
  position: relative;
  width: 100%;
  max-width: 1446px;
  margin: 0 auto;
  padding: 43px 80px 0 80px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 81px; /* 43px top + 38px logo height */
  box-sizing: border-box;
}

/* Site Navigation */
.site-nav {
    display: flex;
    align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-left: auto;
}

/* ============================================
   SHARED FOOTER STYLES
   ============================================ */

/* Footer */
.site-footer {
  width: 100%;
  background: #00040D;
  padding: 40px 0;
  margin-top: auto;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.footer-content {
  max-width: 1446px;
  width: 100%;
  margin: 0 auto;
  padding: 0 80px;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #FFFFFF;
  box-sizing: border-box;
  text-align: center;
}

.footer-content p {
  margin: 0;
  margin-bottom: 8px;
}

.footer-content p:last-child {
  margin-bottom: 0;
}

/* Responsive tweaks for header and footer */
@media (max-width: 1024px) {
  .site-header {
    padding: 20px 20px 0 20px;
    min-height: auto;
  }
  
  .site-nav {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
}

  .nav-projects,
  .nav-articles {
    font-size: 16px;
    margin-left: 0;
  }
  
  .footer-content {
    width: 100%;
    padding: 0 20px;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 16px 16px 0 16px;
    gap: 16px;
}

  .nav-projects,
  .nav-articles {
    font-size: 14px;
    margin-left: 0;
  }
  
  .site-nav {
    gap: 16px;
  }
}

