:root {
    --forest-green: #2d5016;
    --moss-green: #4a7028;
    --sage: #8b9474;
    --earth-brown: #6b5d4f;
    --cream: #f5f3ed;
    --white: #ffffff;
    --dark-text: #2a2a2a;
    --light-text: #5a5a5a;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--dark-text);
    background-color: var(--cream);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Crimson Pro', Georgia, serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--forest-green);
    margin-bottom: 0.8em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

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

a:hover {
    color: var(--forest-green);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--moss-green) 100%);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.navbar-logo-img {
    height: 60px;
    width: auto;
    margin-right: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.logo {
    font-family: 'Crimson Pro', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    text-decoration: none !important;
    display: flex;
    align-items: center;
}

.logo:hover {
    color: #e8f5e9 !important;
    text-decoration: none !important;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    flex-wrap: wrap;
}

.nav-menu li a {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    padding: 12px 14px;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Header */
.site-header {
    margin-bottom: 40px;
}

.header-image {
    width: 100%;
    height: auto;
    display: block;
}

.page-banner {
    margin-bottom: 30px;
}

.page-banner img,
.page-logo {
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content */
.page-content {
    padding: 40px 0;
}

.content-block {
    background: var(--white);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.content-block h2 {
    margin-top: 0;
}

.content-block h3 {
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

.content-block ul {
    margin: 15px 0 15px 30px;
    line-height: 1.8;
}

.content-block p {
    margin-bottom: 1em;
}

/* Disclaimer */
.disclaimer-notice {
    background: linear-gradient(135deg, #fff9e6 0%, #fffbf0 100%);
    border-left: 5px solid var(--earth-brown);
    padding: 25px;
    margin: 30px 0;
    border-radius: 6px;
    text-align: center;
}

/* Wildlife Gallery */
.wildlife-gallery-section {
    margin: 50px 0;
}

.wildlife-gallery-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.wildlife-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.wildlife-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wildlife-grid img:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* About Section */
.about-preserve {
    margin: 50px 0;
}

/* Alert Boxes */
.alert-box {
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
    border-left: 5px solid;
}

.alert-box.warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left-color: #f57c00;
}

.alert-box.critical {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border-left-color: #d32f2f;
}

.alert-box.info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left-color: #1976d2;
}

.alert-box h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

/* Contact Info */
.contact-info-box {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 5px solid var(--forest-green);
}

.contact-info-box h2 {
    margin-top: 0;
}

/* Poll */
.poll-box {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin: 30px 0;
}

.poll-options {
    margin: 20px 0;
}

.poll-option {
    padding: 15px;
    margin: 10px 0;
    background: var(--cream);
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.poll-option input[type="radio"] {
    width: 20px;
    height: 20px;
}

.poll-option label {
    cursor: pointer;
    flex: 1;
}

/* Events */
.event-item {
    background: var(--white);
    padding: 25px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.event-date {
    background: var(--forest-green);
    color: white;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    min-width: 80px;
    flex-shrink: 0;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin: 5px 0;
}

.event-date .year {
    display: block;
    font-size: 0.85rem;
}

.event-details h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

/* Document List */
.document-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.document-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.document-list li:last-child {
    border-bottom: none;
}

.document-list a {
    font-weight: 500;
}

.download-link {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Video Container */
.video-container {
    margin: 30px 0;
}

.video-container h3 {
    margin-bottom: 15px;
}

.video-container iframe {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* HOA Posts */
.hoa-post {
    background: var(--white);
    padding: 30px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--forest-green);
}

.hoa-post .post-date {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 10px;
    font-weight: 600;
}

.hoa-post h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--forest-green);
}

.hoa-post .post-content {
    line-height: 1.8;
}

/* Admin Section */
.admin-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 40px;
    margin: 60px 0 40px 0;
    border-radius: 8px;
    border: 2px dashed var(--sage);
}

.admin-section h2 {
    margin-top: 0;
    margin-bottom: 25px;
    color: var(--earth-brown);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-text);
}

/* Event Cards */
.events-container {
    margin: 30px 0;
}

.event-card {
    background: var(--white);
    padding: 30px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--forest-green);
}

.event-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.event-date-badge {
    background: var(--forest-green);
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    min-width: 80px;
    flex-shrink: 0;
}

.event-date-badge .event-month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.event-date-badge .event-day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.event-title-area {
    flex: 1;
}

.event-title-area h2 {
    margin: 0 0 10px 0;
    color: var(--forest-green);
}

.event-datetime {
    color: var(--light-text);
    font-weight: 600;
    margin: 0;
}

.event-image {
    margin: 20px 0;
}

.event-image img {
    max-width: 100%;
    width: 600px;
    max-height: 400px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.event-description {
    line-height: 1.8;
    color: var(--dark-text);
}

/* Local Posts */
.local-post {
    background: var(--white);
    padding: 30px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.local-post h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--forest-green);
}

.local-image {
    margin: 0 0 20px 0;
}

.local-image img {
    max-width: 100%;
    width: 600px;
    max-height: 400px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.local-description {
    line-height: 1.8;
    color: var(--dark-text);
}

/* Poll Results */
.poll-results {
    margin: 20px 0;
}

.poll-result-item {
    margin: 15px 0;
}

.poll-result-label {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-text);
}

.poll-result-bar {
    background: #e0e0e0;
    height: 30px;
    border-radius: 15px;
    overflow: hidden;
    margin: 5px 0;
}

.poll-result-fill {
    background: linear-gradient(90deg, var(--forest-green) 0%, var(--moss-green) 100%);
    height: 100%;
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: white;
    font-weight: 600;
    min-width: 30px;
}

.poll-result-stats {
    font-size: 0.9em;
    color: var(--light-text);
    margin-top: 5px;
}

/* Poll Management */
.poll-manage-item {
    background: var(--cream);
    padding: 20px;
    margin: 20px 0;
    border-radius: 6px;
    border-left: 4px solid var(--forest-green);
}

.poll-manage-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--forest-green);
}

.poll-manage-item ul {
    margin: 10px 0 15px 20px;
}

.poll-manage-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--forest-green) 0%, #1a3d0f 100%);
    color: white;
    padding: 50px 0 20px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #c8e6c9;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--forest-green);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        padding: 20px 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        display: block;
        padding: 15px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }

    .wildlife-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .event-item {
        flex-direction: column;
    }

    .event-date {
        width: 100%;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .logo {
        font-size: 1.1rem;
    }

    .wildlife-grid {
        grid-template-columns: 1fr;
    }

    .content-block {
        padding: 20px;
    }
}
