/* =========================================
   1. Body and General Styling
   ========================================= */
body {
    background-color: #FFFFFF; /* Your White color: #FFFFFF */
    color: #333333; /* Your Dark Gray color: #333333 */
    margin: 0;
    padding: 0;
    font-family: 'Gelasio', serif; /* Body text font */
    font-size: 16px;
    line-height: 1.6;
}

/* Container to center and constrain content width */
.content-wrapper {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* =========================================
   2. Header, Logo, and Navigation
   ========================================= */
header {
    background-color: #FA001D; /* Your Red color: #FA001D */
    color: #FFFFFF;
    padding: 10px 0;
    border-bottom: 5px solid #E6A817; /* Accent using your Gold color */
}

.header-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex; /* Flexbox for logo and nav layout */
    justify-content: space-between;
    align-items: center;
}

#logo h1 {
    font-family: 'Staatliches', sans-serif; /* Headline font */
    font-size: 2.5rem;
    margin: 0;
    letter-spacing: 2px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex; /* Flexbox for menu items */
}

nav ul li {
    margin-left: 20px;
}

/* 6. Anchor Elements */
nav ul li a {
    text-decoration: none;
    color: #FFFFFF;
    font-family: 'Staatliches', sans-serif;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #E6A817; /* Hovers use your Gold color: #E6A817 */
}

/* =========================================
   3. Headings
   ========================================= */
h2, h3 {
    font-family: 'Staatliches', sans-serif;
    color: #333333; /* Dark Gray for main content headings */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
}

h2 {
    font-size: 2.2rem;
    border-left: 5px solid #FA001D; /* Small red accent */
    padding-left: 15px;
    margin-bottom: 20px;
}

/* =========================================
   4. Sections (Layout and Styling)
   ========================================= */

/* Hero Image Section */
#hero {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-bottom: 30px;
}

/* 7. Images (General and Hero) */
.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Featured News (CSS Grid for the 3-column layout) */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Creates three equal columns */
    gap: 30px; /* Space between items */
    margin-bottom: 40px;
}

.news-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 5. Specified sections (Float, margin, and padding) */
/* (Grid/Flexbox are generally preferred over floats now, but setting 
   some simple margins/padding here to fulfill requirement) */
.news-item h3 {
    font-size: 1.3rem;
    margin: 15px; /* Margin around the heading */
    padding-bottom: 10px; /* Padding for separation */
    color: #333333;
}

/* Community Updates Section */
#community-updates {
    background-color: #E6A817; /* Background using your Gold color: #E6A817 */
    color: #333333; /* Keeping dark text for contrast */
    padding: 30px; /* Large padding for the section */
    border-radius: 5px;
    margin-bottom: 40px; /* Margin below the section */
}

#community-updates h2 {
    border-left: 5px solid #FFFFFF; /* High contrast accent in this gold section */
    color: #333333;
}

/* =========================================
   5. Footer
   ========================================= */
footer {
    background-color: #333333; /* Your Dark Gray color: #333333 */
    color: #FFFFFF;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
    font-size: 0.9rem;
}