/* Shared Variables and Typography */
:root {
    --primary: #3e7876;  /* Dusty Blue */
    --accent: #8c69c1;   /* Gold */
    --text: #333;
    --border1: #505050;
    --border2: #c3c3c3;
    --light-bg: #f8f8f8;
    --white: #ffffff;
    --font-serif: 'Georgia', serif;
    --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text);
    background-color: var(--light-bg);
    line-height: 1.6;
}

/* Global Navigation */
nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.2rem;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary);
}

nav a.active {
    border-bottom: 2px solid var(--primary);
}

@media (max-width: 480px) {
    nav {
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
        padding: 0.8rem 1.2rem;
        gap: 0;
    }

    .menu-toggle {
        display: flex;
    }

    nav a {
        display: none;
        width: 100%;
        text-align: center;
        padding: 0.8rem 0;
        border-top: 1px solid #eee;
        order: 2;
    }

    nav.open a {
        display: block;
    }

    nav a.active {
        border-bottom: none;
        color: var(--primary);
    }
}

/* Shared Components */
.section-container {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 20px;
    text-align: center;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: normal;
}

h1 {
    margin-bottom: 1rem;
}

.btn {
    display: flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: normal;
    border: none;
}

.btn:hover {
    background-color: var(--accent);
}

footer {
    text-align: center;
    padding: 3rem;
    font-size: 0.8rem;
    color: #999;
    border-top: 1px solid #eee;
}

.open-in-new {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('../images/icons/open_in_new.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-left: 5px;
}