/* Color Palette from Logo */
:root {
    --navy: #1A305E;      /* Dark blue from logo text */
    --royal: #1E4D92;     /* Medium blue from mountain */
    --sky: #4A90E2;       /* Light blue from mountain peak */
    --light-gray: #f8fafd;
    --white-glass: rgba(255, 255, 255, 0.75);
}

/* FIX: Prevents "jumping" when switching pages */
html {
    overflow-y: scroll;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-gray);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* THE LOGO FIX: Positioned slightly higher to clear the solid footer */
.background-logo {
    position: fixed;
    top: 45vh; /* Moved up from 50vh to ensure tagline is visible */
    left: 50vw;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    background-image: url('OlimpusLogo.png'); 
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.3; 
    filter: saturate(1.5) contrast(1.1);
    z-index: -1;
    pointer-events: none;
}

/* NAVIGATION BAR */
header {
    background-color: var(--navy);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-name {
    color: white;
    font-weight: bold;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding-bottom: 5px;
}

nav a.active {
    border-bottom: 2px solid var(--sky);
    font-weight: 700;
}

nav a.active {
    border-bottom: 2px solid var(--sky);
    font-weight: 700;
}

/* CONTENT LAYOUT */
.content-wrapper {
    flex: 1; /* Pushes footer to bottom */
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 80px 20px; /* Added 80px bottom padding */
}

.hero-title h1 {
    text-align: center;
    color: var(--navy);
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.card {
    background: var(--white-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(26, 48, 94, 0.05);
}

h3 {
    color: var(--royal);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    border-left: 4px solid var(--sky);
    padding-left: 15px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* FOOTER: Back to solid navy but positioned carefully */
footer {
    background-color: var(--navy); /* Restored solid color */
    color: white;
    text-align: center;
    padding: 3rem 1rem;
    margin-top: auto; /* Sticky footer behavior */
    position: relative;
    z-index: 10;
}

.motto {
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 10px;
    color: var(--sky);
    text-transform: uppercase;
}

footer p {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* CONTACT LINKS */
.card a {
    color: var(--royal);
    font-weight: 600;
    transition: color 0.3s ease;
    text-decoration: none;
}

.card a:hover {
    color: var(--sky);
    text-decoration: underline;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    nav a { margin: 0 10px; }

    .hero-title h1 { font-size: 1.8rem; }
}

@media (min-width: 768px) {
    .grid { grid-template-columns: 1fr 1fr; }
}