:root {
    --primary-color: #333;
    --secondary-color: #f4f4f4;
    --accent-color: #a8794d;
    --text-color: #555;
    --font-family: "Spartan",Sans-Serif;
    --letter-spacing: 0.15em;
}

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

html, body {
    height: 100%; /* Important: Make html and body take up full viewport height */
}

body {
    font-family: var(--font-family);
    letter-spacing: var(--letter-spacing);
    line-height: 1.6;
    background-color: #fff;
    color: var(--text-color);
    display: flex; /* Use Flexbox for the body */
    flex-direction: column; /* Stack children vertically */
}

.site-header {
    background: var(--secondary-color);
    color: #fff;
    padding: 1rem 2rem;
}

.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-logo {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 200;
    text-transform: uppercase;
}

/* Hamburger Menu Styling */
.hamburger-menu {
    cursor: pointer;
    display: block; /* Always visible */
    z-index: 100;
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: 0.4s;
}

.nav-links-container {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Position below the header */
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 99;
}

.nav-links-container.active {
    display: block; /* Show when active */
}

.nav-links {
    list-style: none;
    padding: 1rem 0;
    text-transform: lowercase;
}

.nav-links li {
    text-align: center;
    padding: 0.5rem 0;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
    transition: background-color 0.3s;
}

.nav-links a:hover {
    background-color: var(--accent-color);
}

/* Horizontal line separator */
hr {
    border: 0;
    height: 1px;
    background-color: var(--primary-color);
    margin: 0.5rem 2rem;
}

main {
    flex: 1; /* This makes the main content area grow and fill available space */
}

.site-footer {
    text-align: center;
    padding: 1rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    margin-top: auto; /* Pushes the footer to the bottom */
}