/* =========================================
   Bristol Green Condominiums - Master CSS
   ========================================= */

:root {
    --primary-green: #0A5C36; /* Deep green from community sign */
    --accent-tan: #D6C5A5;    /* Tan accent from community sign */
    --text-dark: #333333;
    --text-light: #555555;
    --bg-light: #F4F6F4;      /* Soft, earthy off-white */
    --white: #FFFFFF;
    --alert-red: #B30000;
}

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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Header & Navigation */
header {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 2rem 0 1.5rem 0;
    text-align: center;
    border-bottom: 6px solid var(--accent-tan);
}

.logo h1 {
    color: var(--white);
    font-size: 2.8rem;
    font-style: italic; /* Mimics the script font on the sign */
    margin-bottom: 0.2rem;
    font-weight: normal;
}

.logo p {
    font-family: 'Georgia', serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--accent-tan);
}

nav {
    margin-top: 1.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 1rem;
}

nav a {
    color: var(--white);
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
}

nav a:hover {
    background-color: var(--accent-tan);
    color: var(--primary-green);
    text-decoration: none;
}

/* Main Content Area */
main {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 20px;
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
}

.hero img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    border: 4px solid var(--white);
}

.hero h2 {
    margin-top: 1.5rem;
    font-style: italic;
    color: var(--text-dark);
}

/* Content Cards */
section.card {
    background: var(--white);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-green);
}

section.card.alert {
    border-top: 4px solid var(--alert-red);
    background-color: #FFFDFD;
}

.alert-text {
    color: var(--alert-red);
    font-weight: bold;
}

.text-center {
    text-align: center;
}

hr {
    border: 0;
    height: 1px;
    background: #E0E0E0;
    margin: 2rem 0;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 3rem 20px;
    margin-top: 4rem;
    font-size: 0.9rem;
}

footer a {
    color: var(--accent-tan);
}

.footer-nav {
    margin-bottom: 1.5rem;
}

.footer-nav a {
    margin: 0 10px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 5px;
    }
    
    nav a {
        display: block;
        padding: 0.8rem;
        background-color: rgba(255,255,255,0.05);
    }

    .logo h1 {
        font-size: 2.2rem;
    }
    
    section.card {
        padding: 1.5rem;
    }
}