@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Roboto+Mono:wght@400;700&display=swap');

/* --- Global Reset & Variables --- */
:root {
    /* Color Palette */
    --color-background-dark: #121212;
    --color-surface-dark: #1e1e1e;
    --color-text-light: #e0e0e0;
    --color-accent-blue: #00bfff; /* Deep Sky Blue, for a 'high altitude' feel */
    --color-accent-orange: #ff4500; /* Orange Red, for 'sun' and 'thermal' */

    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto Mono', monospace;
    --spacing-unit: 1.5rem;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--color-background-dark);
    color: var(--color-text-light);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Centralized content container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* --- Typography & Headings --- */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-top: var(--spacing-unit);
    margin-bottom: calc(var(--spacing-unit) / 2);
}

h1 {
    font-size: 3rem;
    color: var(--color-accent-blue);
    /* A bold underline representing the horizon/flight level */
    border-bottom: 2px solid var(--color-accent-orange);
    padding-bottom: 0.5rem;
    margin-bottom: var(--spacing-unit);
}

h2 {
    font-size: 2rem;
    color: var(--color-accent-orange);
}

p {
    margin-bottom: var(--spacing-unit);
}

/* --- Links & Buttons --- */
a {
    color: var(--color-accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-text-light);
    text-decoration: underline;
}

.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.primary-button {
    background-color: var(--color-accent-orange);
    color: var(--color-surface-dark);
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
}

.primary-button:hover {
    background-color: #ff7f50; /* Lightened orange on hover */
    color: var(--color-surface-dark);
    transform: translateY(-2px); /* Lift button on hover */
    text-decoration: none;
}

/* --- Header & Navigation --- */
.main-header {
    background-color: var(--color-surface-dark);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-links ul {
    list-style: none;
    /* Use Flexbox for horizontal layout */
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-unit);
    justify-content: center;
}

.nav-links a {
    color: var(--color-text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: var(--color-accent-blue);
    border-bottom: 2px solid var(--color-accent-blue);
    text-decoration: none;
}

/* --- Main Content Sections --- */
.content-section {
    padding: calc(2 * var(--spacing-unit)) 0;
}

.main-content > section {
    background-color: var(--color-surface-dark);
    padding: var(--spacing-unit);
    border-radius: 8px;
    margin-bottom: var(--spacing-unit);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* --- Lists (Beliefs & Rules) --- */
ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    background-color: var(--color-background-dark);
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    /* Visual accent bar */
    border-left: 4px solid var(--color-accent-blue);
    font-family: var(--font-secondary); /* Monospace font for the commandments/beliefs */
    border-radius: 2px;
}

.rules ul li {
    /* Different accent color for rules */
    border-left: 4px solid var(--color-accent-orange);
}

/* --- Image & Contact --- */
.main-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: var(--spacing-unit) auto;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.contact {
    text-align: center;
    padding: calc(2 * var(--spacing-unit)) 0;
}

/* --- Footer (Legal) --- */
.legal-section {
    background-color: var(--color-surface-dark);
    padding: var(--spacing-unit) 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-section h2 {
    color: var(--color-text-light);
    font-size: 1.5rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
}

.legal-text ul li {
    border-left: none;
    background-color: transparent;
    font-family: var(--font-primary);
    padding: 0.25rem 0;
    margin-bottom: 0;
}

/* --- Media Queries for Responsiveness --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .nav-links ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}