/* ============================================
   Shared Navigation Header Styles
   ============================================ */

:root {
    --color-ink: #1a1a1a;
    --color-terra: #8b7355;
    --color-border: #d4d4d4;
    --font-serif: 'Crimson Text', 'Georgia', 'Times New Roman', serif;
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
}

.site-nav {
    background: black;
    border-bottom: 1px solid var(--color-ink);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-xl);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    text-decoration: none;
    color: white;
    transition: opacity 0.2s;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.3em;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.logo-subtitle {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    line-height: 1.3;
    max-width: 500px;
}

footer {
    background-color: #000000; /* Same as header for consistency */
    color: #fff;
    padding: 10px 10px;
    text-align: center; /* Center the text content horizontally */
    left: 10px;
    margin: 50px 0 0 0;
    
}
.footer-icon {
    vertical-align: middle;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-xl);

    flex-wrap: wrap;
    /*flex-direction: column;*/
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 20px;
}


.footer-container div {
    align-items: center;
    flex: 1 1 200px; /* Each section takes up space flexibly */
    
}

.footer-container a {
    color: rgba(255,255,255,0.8);
    font-weight: bold;
}

.footer-container h4 {
    font-weight: lighter;
    padding-bottom: 5px;
}

footer ul, footer ol {
  list-style-type: none;
  padding-left: 0;
  margin-left: 0;
}

nav ul {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    padding: 0;
    list-style-type: none;
}


nav ul li {
    display: inline;
    margin: 3px;
}
  
a:link { 
    text-decoration: none; 
  } 
  a:visited { 
    text-decoration: none; 
  } 
  a:hover { 
    text-decoration: underline; 
  } 
  a:active { 
    text-decoration: underline;
  }

@media (max-width: 768px) {
    .logo-subtitle {
        display: none;
    }
}

.nav-logo:hover {
    opacity: 0.7;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family:'Courier New', Courier, monospace;
    font-size: 1.3em;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #008C9E;
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 0.95em;
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover {
    color: white;
}

.nav-link.active {
    color: white;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-terra);
}

@media (max-width: 768px) {
    .nav-container {
        padding: var(--space-sm) var(--space-md);
    }
    
    .logo-text {
        display: none;
    }
    
    .nav-links {
        gap: var(--space-md);
    }
    
    .nav-link {
        font-size: 0.9em;
    }
}