/* 1. THE RESET - This removes the "hidden" gaps you are seeing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    background-color: #fdfdfd;
    color: #333;
}

/* 2. THE HEADER & LOGO */
header {
    background-color: #1a2a6c;
    color: white;
    padding: 30px 20px; /* Reduced from 50px to tighten the top */
    text-align: center;
}

.header-logo {
    width: 110px; /* Slightly smaller for a more elegant look */
    height: auto;
    margin-bottom: 10px;
}

header h1 {
    font-family: 'Crimson Text', serif;
    letter-spacing: 3px;
    font-size: 2rem;
    text-transform: uppercase;
}

/* 3. THE NAVIGATION */
nav {
    background-color: #333;
    padding: 12px 0;
    border-bottom: 3px solid #c5a059;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

nav a:hover {
    color: #c5a059;
}

/* 4. THE MAIN CONTENT (INDEX PAGE) */
.mission-section {
    padding: 30px 20px 80px 20px; /* Tightened the top padding significantly */
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.mission-title {
    font-family: 'Crimson Text', serif;
    font-size: 2.8rem;
    color: #1a2a6c;
    margin-bottom: 5px; /* Tiny gap to the subtitle */
}

.mission-subtitle {
    color: #c5a059;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.mission-text-box {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 40px 0;
}

.mission-quote {
    font-family: 'Crimson Text', serif;
    font-size: 1.4rem;
    line-height: 1.8;
    font-style: italic;
    color: #444;
}

/* 5. THE CURATOR FOOTER */
footer {
    background-color: #1a2a6c;
    color: white;
    padding: 50px 20px;
    margin-top: 60px;
    border-top: 5px solid #c5a059;
    text-align: center;
}

.footer-line {
    width: 60px;
    height: 1px;
    background-color: rgba(197, 160, 89, 0.4);
    margin: 20px auto;
}

.curator-name {
    color: #c5a059;
    font-weight: bold;
    font-size: 1.1rem;
}

/* 6. RESPONSIVE DESIGN (For Mobile) */
@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .mission-title {
        font-size: 2rem;
    }
}