:root {
    --primary-color: #1a365d;
    --secondary-color: #2b6cb0;
    --text-color: #333;
    --bg-color: #f7fafc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

/* Keeps the site name accessible to search engines/screen readers while hiding it visually */
nav h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #bee3f8;
}

/* Hero Section (Home) */
.hero {
    background: linear-gradient(rgba(26, 54, 93, 0.8), rgba(26, 54, 93, 0.8)), url('https://images.unsplash.com/photo-1565439390118-c2245b144b20?auto=format&fit=crop&w=1200&q=80') center/cover;
    color: white;
    text-align: center;
    padding: 6rem 2rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Inner Page Banners */
.page-header {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
}

.page-header h2 {
    font-size: 2.5rem;
}

/* Layout Containers & Grids */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    flex-grow: 1;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* 3 columns on desktop */
    gap: 2rem;
}

@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

/* Content Layout for "Coming Soon" Pages */
.container.centered {
    padding: 6rem 2rem;
    text-align: center;
}

.container.centered h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Global Card Formatting */
.card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Modifier Specific to Equipment Cards */
.card.equipment h3 {
    font-size: 1.3rem;
    border-bottom: 2px solid var(--bg-color);
    padding-bottom: 0.5rem;
}

.card ul {
    list-style-position: inside;
    margin-top: 1rem;
}

.card li {
    margin-bottom: 0.5rem;
}

footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: auto;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Gives the transparent logo a clean white container */
.nav-logo {
    height: 125px;
    width: auto;
    display: block;
    background-color: #ffffff; /* Solid white background behind the transparency */
    padding: 6px 12px; /* Gives the logo text breathing room inside the white block */
    border-radius: 4px; /* Slightly softens the corners of the white block */
    transition: transform 0.2s ease;
}

/* Optional: Slight hover effect since the logo doubles as a Home button */
.nav-logo:hover {
    transform: scale(1.02);
}

@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
    }

@media (min-width: 601px) and (max-width: 1400px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}}
