@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Courier+Prime:ital,wght@0,400;0,700;1,400&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    text-align: center;
    font-family: 'Courier Prime', Courier, monospace;
    background-color: #3b421a; /* Dyb army green */
    color: #e5e4d2; /* Kaki tekst */
    max-width: 900px;
    margin: 0 auto;
    padding: 20px; 
    padding-top: 0px;
    font-size: 1.15em;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Topmenu (Desktop) i Militær Stil --- */
nav {
    width: 100vw;
    position: sticky;
    top: 0;
    z-index: 1000;
    left: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-top: 0; 
    background-color: #272c10; /* Mørk militærgrøn */
    padding: 10px 20px; 
    margin-bottom: 30px; 
    border-bottom: 3px solid #8c855b; /* Kaki kant */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 8px; 
    align-items: center;
}

nav > ul > li {
    position: relative;
}

nav a {
    display: inline-block;
    background-color: #485122; /* Army green knap */
    color: #e5e4d2;
    padding: 8px 16px;
    border: 2px solid #8c855b;
    text-decoration: none;
    font-family: 'Oswald', sans-serif !important;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.95em; 
    letter-spacing: 1px;
    line-height: 1.4;
    white-space: nowrap;
    margin: 0;
    transition: all 0.2s ease;
}

nav a:hover {
    color: #ffffff;
    background-color: #5d672d;
    border-color: #b3ab82;
}

/* Logoknap (Never High Ranch) øverst til venstre i menuen */
nav a.military-logo-btn {
    background-color: #8c855b !important; /* Kaki baggrund */
    color: #1a1e0b !important;
    font-family: 'Oswald', sans-serif !important;
    font-weight: 700;
    letter-spacing: 1.5px;
    border: 2px solid #ffffff !important;
}

nav a.military-logo-btn:hover {
    background-color: #a39b70 !important;
    color: #000000 !important;
}

nav a.aktiv {
    background-color: #8c855b !important;
    border-color: #ffffff !important;
    color: #1a1e0b !important;
    font-weight: 700;
}

/* --- Overskrifter og Tekst --- */
h1 {
    font-family: 'Oswald', sans-serif !important;
    font-size: 3.2em;
    color: #8c855b;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 40px;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2em;
    color: #b3ab82;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 50px;
    margin-bottom: 15px;
}

h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5em;
    color: #8c855b;
    text-transform: uppercase;
    margin-top: 25px;
    margin-bottom: 10px;
}

hr {
    margin: 40px 0;
    border: 0;
    border-top: 2px solid #8c855b;
}

/* --- Mobil / Burger Menu --- */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 100000;
}

.hamburger-btn img {
    width: 45px;
    height: auto;
    filter: invert(1);
}

.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #3b421a;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.fullscreen-menu.open {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 1100px) {
    nav {
        display: none !important;
    }
    .hamburger-btn {
        display: block !important;
    }
}

/* --- Footer --- */
footer {
    padding: 40px 0 50px 0;
    font-size: 0.95rem;
    color: #8c855b;
    border-top: 2px solid #8c855b;
    margin-top: 60px;
}

footer a {
    color: #e5e4d2;
    text-decoration: underline;
}

footer b {
    color: #b3ab82;
    text-transform: uppercase;
    letter-spacing: 1px;
}