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

:root {
    --primary-color: #7F5539;
    --primary-dark: #583A26;
    --primary-light: #9C6644;
    --secondary-color: #B08968;
    --secondary-dark: #8B6547;
    --accent-color: #DDB892;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6b6b6b;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
}

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

/* Header Styles */
.header-top {
    background: var(--primary-dark);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-item:hover {
    opacity: 0.85;
}

.contact-item .icon {
    width: 16px;
    height: 16px;
}

.header-links {
    display: flex;
    gap: 20px;
}

.header-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.header-links a:hover {
    opacity: 0.85;
}

/* Navigation Styles */
.navbar {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 650px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,77,143,0.85) 0%, rgba(15,54,103,0.75) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
}

.hero h1 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 22px;
    margin-bottom: 35px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s;
    font-size: 16px;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Quick Services Section */
.quick-services {
    padding: 80px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 15px;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

.service-link:hover {
    color: var(--primary-dark);
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.about-content h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-content .lead {
    font-size: 20px;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

.about-features {
    list-style: none;
    margin: 30px 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-medium);
}

.about-features img {
    width: 24px;
    height: 24px;
}

/* Programs Section */
.programs-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

.section-header .view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

.section-header .view-all:hover {
    color: var(--primary-dark);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
}

.program-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.program-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.program-content {
    padding: 28px;
}

.program-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.program-content p {
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.7;
}

.program-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.program-link:hover {
    color: var(--primary-dark);
}

/* News Section */
.news-section {
    padding: 100px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    position: relative;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.news-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.news-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-card.featured img {
    height: 100%;
}

.news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.news-content {
    padding: 28px;
}

.news-content time {
    display: block;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.news-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.7;
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.news-link:hover {
    color: var(--primary-dark);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-box h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 38px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.contact-info-box > p {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 17px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-detail {
    display: flex;
    gap: 20px;
}

.contact-detail .icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 8px;
    padding: 12px;
    flex-shrink: 0;
}

.contact-detail h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.contact-detail p {
    color: var(--text-light);
    line-height: 1.7;
}

.contact-form-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #d0d0d0;
    padding: 60px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid #333;
}

.footer-logo {
    height: 55px;
    margin-bottom: 20px;
}

.footer-column p {
    margin-bottom: 25px;
    line-height: 1.7;
    color: #b0b0b0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #2a2a2a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.social-links img {
    width: 20px;
    height: 20px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul a:hover {
    color: white;
}

.footer-bottom {
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #888;
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
}

.footer-legal a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-legal span {
    color: #555;
}

/* Responsive Design */
@media (max-width: 968px) {
    .header-top-content {
        justify-content: center;
        text-align: center;
    }

    .contact-info,
    .header-links {
        justify-content: center;
        width: 100%;
    }

    .nav-menu {
        display: none;
    }

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

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 18px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content h2,
    .section-header h2 {
        font-size: 34px;
    }

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

    .news-card.featured {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom-content {
        justify-content: center;
        text-align: center;
    }
}

/* Additional Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 48px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
}

.content-section {
    padding: 80px 0;
}

.content-section.bg-light {
    background: var(--bg-light);
}

.services-detailed-grid {
    display: grid;
    gap: 40px;
}

.service-detailed-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    display: flex;
    gap: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.service-detailed-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-detailed-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-detailed-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.service-detailed-content h2 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-detailed-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin: 20px 0 25px;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-medium);
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-icon-small {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
}

.service-icon-small img {
    width: 100%;
    height: 100%;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 38px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-menu a.active {
    color: var(--primary-color);
    position: relative;
}

.nav-menu a.active::after {
    width: 100%;
}

/* Form Styles */
.form-section {
    padding: 60px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.form-container h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.info-box {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
}

.info-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.info-box p {
    color: var(--text-light);
    line-height: 1.7;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.content-main h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.content-main h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: var(--text-dark);
}

.content-main p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-main ul {
    margin: 20px 0;
    padding-left: 25px;
}

.content-main ul li {
    color: var(--text-medium);
    margin-bottom: 10px;
    line-height: 1.7;
}

.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.sidebar-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card ul li {
    margin-bottom: 12px;
}

.sidebar-card ul a {
    color: var(--text-medium);
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar-card ul a:hover {
    color: var(--primary-color);
}

@media (max-width: 968px) {
    .page-header h1 {
        font-size: 36px;
    }

    .service-detailed-card {
        flex-direction: column;
    }

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

    .sidebar {
        position: relative;
        top: 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .form-container {
        padding: 30px 20px;
    }
}

/* News Article Styles */
.news-article {
    margin-bottom: 50px;
}

.news-article img {
    transition: transform 0.3s;
}

.news-article:hover img {
    transform: scale(1.02);
}

.news-article h3 {
    line-height: 1.3;
}

.news-article p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 15px;
}

.news-article ul {
    color: var(--text-medium);
    line-height: 1.7;
}

/* Councillor Styles */
.councillor-profile {
    display: flex;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.mayor-profile {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.councillor-details h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.councillor-details p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 10px;
}

.councillors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.councillor-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s;
}

.councillor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.councillor-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.councillor-ward {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.councillor-role {
    color: var(--text-dark);
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .councillor-profile {
        flex-direction: column;
    }

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

@media (max-width: 640px) {
    .hero {
        height: 500px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .services-grid,
    .programs-grid {
        grid-template-columns: 1fr;
    }

    .about-content h2,
    .section-header h2 {
        font-size: 28px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .contact-form-box {
        padding: 25px;
    }
}
