/* --- 🏞️ Modern Reset & General Styling --- */

/* Use a modern, clean font, with fallbacks */
body {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, sans-serif;
    line-height: 1.6;
    margin: 300;
    margin-top: 50;
    padding: 0;
    background-color: #f8f8f8; /* Light gray/off-white background */
    color: #333; /* Dark gray text */
}

/* Make links look like modern buttons/elements */
a {
    color: #2a6496; /* A nice blue */
    text-decoration: none; /* Remove default underline */
    transition: color 0.3s ease;
}

a:hover {
    color: #1a4d70; /* Darker blue on hover */
    text-decoration: underline;
}

/* --- 📝 Typography & Headings --- */

h1, h2, h3 {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, sans-serif;
    color: #333;
    text-align: center;
    margin-top: 1.5em;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

/* --- 🏠 Header / Navigation (Assumes 'h1' is the title) --- */

/* Create a header bar look */
.header-bar {
    background-color: #38424a; /* Dark, professional background */
    color: white;
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-bar h1 {
    color: white;
    margin: 0;
    padding: 0;
}

/* Styling for the list of links (main navigation) */
ul:first-of-type { /* Target the first list of links, likely the main navigation */
    list-style: none;
    padding: 0;
    text-align: center;
    margin: 10px 0 0 0;
}

ul:first-of-type li {
    display: inline-block;
    margin: 0 15px;
}

ul:first-of-type li a {
    color: #f0f0f0; /* Light text for dark background */
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

ul:first-of-type li a:hover {
    background-color: #4CAF50; /* Green highlight on hover */
    color: white;
    text-decoration: none;
}

/* --- 💻 Main Content Container --- */

/* Use a maximum width for readability and center the content */
.main-content, table {
    max-width: 900px;
    margin: 20px auto;
    padding: 25px;
    background-color: white;
    border-radius: 10px; /* Subtle rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Soft shadow for depth */
}

/* --- 🖼️ Images & Multimedia --- */

/* Make images responsive and styled */
img {
    align: center;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;
    border-radius: 50px;
    /*
    box-shadow: 0 10px 4px rgba(0, 0, 0, 0.1);
    */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* --- 📜 Lists & Paragraphs --- */

p {
    margin-bottom: 1em;
}

ul, ol {
    margin-left: 20px;
    padding: 0;
}

/* --- 📅 Tables (e.g., historical dates or data) --- */

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.95em;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #f0f0f0;
    color: #333;
    font-weight: bold;
}

/* Stripe the rows for readability */
tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* --- ⬇️ Footer (Assumes a simple footer exists) --- */

footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    color: #777;
    font-size: 0.9em;
    border-top: 1px solid #eee;
}
