/* 1. Base Styles & Typography */
* { 
    box-sizing: border-box; 
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    margin: 0;
    background: url("images/background87.png") repeat;
    color: #333;
}

/* 2. Layout Containers */
.container {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

h1 {
    color: #a73a52; /* Maroon */
    text-align: center;
    margin-top: 0;
}

/* 3. Navigation Bar (Solid Maroon) */
nav {
    text-align: center;
    padding: 15px 0;
    background-color: #a73a52; 
    margin-bottom: 20px;
    border-radius: 8px 8px 0 0; /* Rounds top to match container */
}

/* 4. Navigation Buttons (White with Maroon Text) */
nav a:not(.logo-link) {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    background-color: #ffffff; /* White buttons */
    color: #a73a52;           /* Maroon text */
    text-decoration: none;
    border-radius: 5px;
    vertical-align: middle;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

/* Hover effect for buttons */
nav a:not(.logo-link):hover {
    background-color: #f0f0f0; /* Light grey hover */
    color: #66303c;           /* Darker maroon text */
}

/* Logo specific styling */
.logo-link {
    background: none !important;
    padding: 0 !important;
    border: none !important;
    vertical-align: middle;
    margin-right: 15px;
}

.nav-logo {
    vertical-align: middle;
}

/* 5. Image Floats & Content Styling */
.img-left {
    float: left;
    margin-right: 20px;
    margin-bottom: 15px;
}

.img-right {
    float: right;
    margin-left: 20px;
    margin-bottom: 15px;
}

.intro-img {
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Clearfix: Prevents floating images from "overflowing" out of the container */
.container::after {
    content: "";
    display: table;
    clear: both;
}

/* 6. Buttons & Footer */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #a73a52;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.btn:hover {
    background-color: #66303c;
}

footer {
    margin-top: 30px;
    padding: 20px;
    background-color: #a73a52;
    color: white;
    text-align: center;
    border-radius: 0 0 8px 8px; /* Rounds the bottom corners */
}