/* =========================================================
   Falkland Islands Census 2026
   ========================================================= */


   :root {

    --census-blue: #31589b;
    --dark-blue: #073b70;

    --light-blue: #eef4fb;
    --very-light-blue: #f7f9fc;

    --text: #252a31;
    --muted-text: #59636e;

    --border: #d9e0e8;

    --white: #ffffff;

    --max-width: 1100px;
}


/* ---------- Basic page ---------- */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    font-family:
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    font-size: 18px;
    line-height: 1.65;

    color: var(--text);

    background: var(--white);
}


.container {

    width: min(92%, var(--max-width));

    margin-left: auto;
    margin-right: auto;
}


a {
    color: var(--census-blue);
}


a:focus {

    outline: 3px solid #ffbf47;
    outline-offset: 3px;
}

.large-link {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 6px;
}

/* ---------- Header ---------- */

.site-header {

    background: var(--white);

    border-bottom: 1px solid var(--border);
}


.header-content {

    display: flex;

    justify-content: center;
    align-items: center;

    padding-top: 22px;
    padding-bottom: 22px;
}


.census-logo {

    display: block;

    width: 550px;
    max-width: 95%;

    height: auto;
}


/* ---------- Hero ---------- */

.hero {

    background:
        linear-gradient(
            135deg,
            var(--very-light-blue),
            var(--light-blue)
        );

    border-bottom: 1px solid var(--border);

    padding-top: 55px;
    padding-bottom: 60px;
}


.section-label {

    margin-top: 0;
    margin-bottom: 10px;

    color: var(--census-blue);

    font-size: 0.9rem;
    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.hero h1 {

    max-width: 900px;

    margin-top: 0;
    margin-bottom: 20px;

    color: var(--dark-blue);

    font-size: clamp(2.5rem, 5vw, 4.2rem);

    line-height: 1.08;
}


.hero-intro {

    max-width: 850px;

    margin-bottom: 35px;

    font-size: 1.3rem;
}

/* ---------- Main navigation ---------- */

.main-nav {
    background: var(--dark-blue);
    border-bottom: 4px solid var(--census-blue);
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-link {
    display: block;

    padding: 14px 20px;

    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
    background: var(--census-blue);
}


/* ---------- Hero buttons ---------- */

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

    margin-top: 28px;
}

.secondary-button {
    display: inline-block;

    padding: 14px 22px;

    background: var(--white);
    color: var(--dark-blue);

    border: 2px solid var(--dark-blue);
    border-radius: 4px;

    text-decoration: none;
    font-weight: 700;
}

.secondary-button:hover {
    background: var(--light-blue);
}


/* ---------- Contact details ---------- */

.contact-details {
    margin: 8px 0;
}

.contact-details a {
    font-weight: 700;
}

/* ---------- Dates ---------- */

.dates {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;

    max-width: 850px;

    margin-bottom: 35px;
}


.date-card {

    padding: 20px 24px;

    background: var(--white);

    border-left: 5px solid var(--census-blue);

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.07);
}


.date-title {

    display: block;

    margin-bottom: 5px;

    color: var(--muted-text);

    font-size: 0.9rem;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.04em;
}


.date-value {

    display: block;

    color: var(--dark-blue);

    font-size: 1.15rem;
    font-weight: 700;
}


/* ---------- Main button ---------- */

.primary-button {

    display: inline-block;

    padding: 15px 26px;

    background: var(--census-blue);

    color: var(--white);

    text-decoration: none;

    font-size: 1.1rem;
    font-weight: 700;

    border-radius: 4px;

    transition:
        background 0.15s ease,
        transform 0.15s ease;
}


.primary-button:hover {

    background: var(--dark-blue);

    color: var(--white);

    transform: translateY(-1px);
}


/* ---------- Content ---------- */

.content-section {

    padding-top: 55px;
    padding-bottom: 60px;
}


.content-block {

    max-width: 900px;

    margin-bottom: 50px;
}


.content-block h2,
.registration-panel h2,
.contact-box h2 {

    margin-top: 0;
    margin-bottom: 15px;

    color: var(--dark-blue);

    font-size: 1.9rem;

    line-height: 1.25;
}


.content-block p {

    max-width: 850px;
}


/* ---------- Legal notice ---------- */

.legal-notice {

    margin-top: 30px;

    padding: 20px 24px;

    background: var(--light-blue);

    border-left: 5px solid var(--census-blue);

    color: var(--dark-blue);

    font-size: 1.05rem;
}


/* ---------- Registration panel ---------- */

.registration-panel {

    max-width: 900px;

    margin-top: 20px;
    margin-bottom: 50px;

    padding: 30px;

    background: var(--very-light-blue);

    border: 1px solid var(--border);
    border-top: 5px solid var(--census-blue);
}


.registration-panel p {

    margin-bottom: 22px;
}


/* ---------- Contact ---------- */

.contact-box {

    max-width: 900px;

    padding: 30px;

    background: var(--dark-blue);

    color: var(--white);

    border-radius: 4px;
}


.contact-box h2 {

    color: var(--white);
}


.contact-box p {

    margin-top: 5px;
    margin-bottom: 5px;
}


.contact-box a {

    color: var(--white);

    font-weight: 700;

    text-decoration-thickness: 2px;
}


.email {

    font-size: 1.1rem;
}


/* ---------- Footer ---------- */

.site-footer {

    padding-top: 20px;
    padding-bottom: 20px;

    background: #092c50;

    color: var(--white);

    font-size: 0.9rem;
}


.site-footer p {

    margin: 0;
}


/* ---------- Mobile ---------- */

@media (max-width: 700px) {

    body {

        font-size: 17px;
    }


    .header-content {

        padding-top: 15px;
        padding-bottom: 15px;
    }


    .census-logo {

        width: 400px;
    }


    .hero {

        padding-top: 38px;
        padding-bottom: 42px;
    }


    .hero h1 {

        font-size: 2.4rem;
    }


    .hero-intro {

        font-size: 1.1rem;
    }

	.nav-content {
        display: block;
        width: 100%;
    }

    .nav-link {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .hero-buttons {
        display: block;
    }

    .hero-buttons a {
        display: block;
        width: 100%;
        margin-bottom: 12px;
        text-align: center;
    }

    .dates {

        grid-template-columns: 1fr;
    }


    .content-section {

        padding-top: 40px;
        padding-bottom: 40px;
    }


    .registration-panel,
    .contact-box {

        padding: 22px;
    }


    .primary-button {

        width: 100%;

        text-align: center;
    }

}