/* =========================================================
   CHISAMBA TOWN COUNCIL
   PROFESSIONAL WEBSITE FOUNDATION
========================================================= */

:root {
    --green: #075b3a;
    --green-dark: #043c27;
    --green-light: #eaf4ef;

    --gold: #c89b3c;

    --text: #17231d;
    --muted: #66736c;

    --white: #ffffff;
    --light: #f5f7f6;
    --border: #e2e8e4;

    --container: 1200px;
}


/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button {
    font-family: inherit;
}


/* =========================
   CONTAINER
========================= */

.site-container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}


/* =========================
   TOP BAR
========================= */

.topbar {
    background: var(--green-dark);
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
}

.topbar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-separator {
    margin: 0 8px;
    opacity: 0.4;
}

.topbar-right {
    opacity: 0.8;
}


/* =========================
   HEADER
========================= */

.site-header {
    position: relative;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}


/* =========================
   LOGO
========================= */

.logo-area {
    display: flex;
    align-items: center;
    gap: 13px;
}

.logo-box {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text strong {
    font-family: "Manrope", sans-serif;
    font-size: 19px;
    letter-spacing: 0.5px;
    color: var(--green);
}

.logo-text span {
    margin-top: 5px;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--muted);
}


/* =========================
   NAVIGATION
========================= */

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.desktop-nav a {
    position: relative;
    padding: 10px 12px;
    color: #34423a;
    font-size: 13px;
    font-weight: 600;
    transition: 0.2s ease;
}

.desktop-nav a:hover {
    color: var(--green);
}

.desktop-nav a.active {
    color: var(--green);
}

.desktop-nav a.active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 1px;
    height: 2px;
    background: var(--gold);
}


/* =========================
   MOBILE MENU BUTTON
========================= */

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 7px;
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--green);
}


/* =========================
   HERO
========================= */

.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(3, 48, 31, 0.97) 0%,
            rgba(5, 76, 48, 0.92) 45%,
            rgba(5, 76, 48, 0.58) 75%,
            rgba(5, 76, 48, 0.35) 100%
        ),
        url("../images/chisamba.jpg") center / cover no-repeat;

    color: var(--white);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.04) 25%,
            transparent 25%
        );
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    max-width: 760px;
}

.hero-badge {
    display: inline-flex;
    padding: 7px 12px;
    border-left: 3px solid var(--gold);
    background: rgba(255, 255, 255, 0.08);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero h1 {
    margin-top: 20px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(42px, 5.5vw, 72px);
    line-height: 1.05;
    letter-spacing: -2px;
    font-weight: 800;
}

.hero h1 span {
    color: #e9c86c;
}

.hero p {
    max-width: 680px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 16px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}


/* =========================
   BUTTONS
========================= */

.button {
    min-height: 50px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.2s ease;
}

.button-primary {
    background: var(--gold);
    color: #182015;
}

.button-primary:hover {
    transform: translateY(-2px);
}

.button-light {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
}

.button-light:hover {
    background: var(--white);
    color: var(--green);
}


/* =========================
   HERO SIDE CARD
========================= */

.hero-side-card {
    padding: 34px;
    border-top: 3px solid var(--gold);
    background: rgba(4, 43, 29, 0.82);
    backdrop-filter: blur(8px);
}

.side-card-label {
    color: #e9c86c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.hero-side-card h2 {
    margin-top: 15px;
    font-family: "Manrope", sans-serif;
    font-size: 25px;
    line-height: 1.3;
}

.hero-side-card p {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.7;
}

.hero-side-card a {
    display: inline-flex;
    gap: 10px;
    margin-top: 25px;
    color: #e9c86c;
    font-size: 12px;
    font-weight: 700;
}


/* =========================
   QUICK ACCESS
========================= */

.quick-access {
    padding: 90px 0;
    background: var(--white);
}

.section-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.eyebrow {
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-intro h2 {
    margin-top: 9px;
    font-family: "Manrope", sans-serif;
    font-size: 34px;
    line-height: 1.2;
}

.section-intro > p {
    max-width: 320px;
    color: var(--muted);
    font-size: 14px;
}


.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.quick-card {
    position: relative;
    min-height: 210px;
    padding: 28px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: 0.25s ease;
}

.quick-card:hover {
    background: var(--green);
    color: var(--white);
}

.quick-number {
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
}

.quick-card h3 {
    margin-top: 45px;
    font-family: "Manrope", sans-serif;
    font-size: 19px;
}

.quick-card p {
    max-width: 210px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.quick-card:hover p {
    color: rgba(255, 255, 255, 0.7);
}

.card-arrow {
    position: absolute;
    right: 25px;
    bottom: 25px;
    font-size: 20px;
}


/* =========================
   WELCOME
========================= */

.welcome {
    padding: 100px 0;
    background: var(--light);
}

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

.welcome-image {
    min-height: 440px;
}

.image-placeholder {
    min-height: 440px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;

    background:
        linear-gradient(
            0deg,
            rgba(3, 48, 31, 0.9),
            rgba(3, 48, 31, 0.05)
        ),
        url("../images/chisamba.jpg") center / cover no-repeat;

    color: var(--white);
}

.image-placeholder span {
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
}

.image-placeholder strong {
    margin-top: 5px;
    font-family: "Manrope", sans-serif;
    font-size: 30px;
}


.welcome-content h2 {
    max-width: 600px;
    margin-top: 12px;
    font-family: "Manrope", sans-serif;
    font-size: 42px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.welcome-content p {
    max-width: 600px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
}


/* =========================
   PUBLIC NOTICE
========================= */

.notice-section {
    padding: 70px 0;
    background: var(--white);
}

.notice-box {
    display: grid;
    grid-template-columns: 160px 1fr auto;
    gap: 35px;
    align-items: center;
    padding: 35px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
}

.notice-label {
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.notice-content h2 {
    font-family: "Manrope", sans-serif;
    font-size: 22px;
}

.notice-content p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

.notice-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    background: var(--green);
    color: var(--white);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}


/* =========================
   FOOTER
========================= */

.footer {
    background: #062f20;
    color: var(--white);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding: 70px 0;
}

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

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-brand h3 {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
}

.footer-brand p {
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}

.footer-column h4 {
    margin-bottom: 18px;
    color: #e9c86c;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-column a {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .desktop-nav {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero {
        min-height: auto;
        padding: 100px 0;
    }

    .hero-side-card {
        max-width: 500px;
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .welcome-image {
        min-height: 400px;
    }

    .image-placeholder {
        min-height: 400px;
    }

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

}


@media (max-width: 650px) {

    .site-container {
        width: calc(100% - 30px);
    }

    .topbar-right {
        display: none;
    }

    .header-inner {
        min-height: 75px;
    }

    .logo-box {
        width: 48px;
        height: 48px;
    }

    .logo-text strong {
        font-size: 16px;
    }

    .logo-text span {
        font-size: 8px;
    }

    .hero {
        padding: 70px 0;
    }

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

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

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

    .button {
        width: 100%;
    }

    .section-intro {
        display: block;
    }

    .section-intro > p {
        margin-top: 15px;
    }

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

    .quick-card {
        min-height: 185px;
    }

    .welcome {
        padding: 70px 0;
    }

    .welcome-content h2 {
        font-size: 32px;
    }

    .notice-box {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .notice-button {
        justify-content: center;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px 25px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom-inner {
        min-height: 75px;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        padding: 15px 0;
    }

}