/* Town Design Rules - Official Stylesheet */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5530;
    --secondary-color: #4a7c59;
    --accent-color: #d4a574;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: var(--primary-color);
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.main-nav a:hover {
    background-color: rgba(255,255,255,0.2);
}

/* Main Content */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.section:last-child {
    border-bottom: none;
}

.section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--accent-color);
}

.section h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.section p {
    margin-bottom: 15px;
}

.section ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.section li {
    margin-bottom: 8px;
}

/* Alert Box */
.alert {
    background-color: var(--light-bg);
    border-left: 4px solid var(--accent-color);
    padding: 15px 20px;
    margin: 20px 0;
}

/* Address */
address {
    font-style: normal;
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 4px;
    margin-top: 20px;
}

/* Footer */
.site-footer {
    background-color: #222;
    color: #ccc;
    padding: 20px 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header h1 {
        font-size: 1.5rem;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .section h2 {
        font-size: 1.6rem;
    }
    
    .content {
        padding: 20px 15px;
    }
}