/* ===== Base ===== */
:root {
    --navy: #002b5c;
    --teal: #00b8c4;
    --dark: #1a1a1a;
    --grey-bg: #f4f4f4;
    --text: #333;
    --muted: #777;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    color: var(--text);
    line-height: 1.7;
    background: #fff;
}

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

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

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

h2, h3, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

.uppercase { text-transform: uppercase; }

/* ===== Header ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,.08);
}

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

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 38px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 28px;
}

.nav-menu a {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark);
    transition: color .2s;
}

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

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

.navbar-toggle .icon-bar {
    width: 24px;
    height: 2px;
    background: var(--dark);
    display: block;
}

/* ===== Site wrapper / hero ===== */
.site-wrapper { padding-top: 70px; }

.hero-banner {
    height: 60vh;
    min-height: 380px;
    background: linear-gradient(rgba(0,10,30,.55), rgba(0,10,30,.55)),
                url('../img/public.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 64px;
    color: #fff;
    letter-spacing: 4px;
    border-bottom: 3px solid var(--teal);
    display: inline-block;
    padding-bottom: 10px;
}

.hero-sub {
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    letter-spacing: 3px;
    margin-top: 18px;
    font-size: 16px;
}

.hero-sub span { color: var(--teal); font-weight: 700; }

/* ===== Location ===== */
.section { padding: 100px 0; }

.vertical-align {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.col-6 { flex: 1 1 45%; min-width: 300px; }

.eyebrow {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 13px;
    color: var(--teal);
    margin-bottom: 6px;
}

.section-heading h2 { font-size: 34px; margin-bottom: 24px; }

.location-text p { margin-bottom: 18px; color: #555; }

.address-block { font-size: 14px; color: var(--muted); }

.location-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ===== Feature sections ===== */
.bg-grey { background: var(--grey-bg); }

.feature-row {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

.feature-img,
.feature-text { flex: 1 1 50%; min-width: 320px; }

.feature-img img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.feature-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10%;
}

.feature-text h3 {
    font-size: 28px;
    margin-bottom: 22px;
}

.feature-text p { color: #555; }

.text-right { text-align: right; }

/* Reverse rows: keep image visually on the right on desktop */
.feature-row.reverse { flex-direction: row; }

/* ===== Footer ===== */
#footer {
    background: var(--dark);
    color: #ccc;
    text-align: center;
    padding: 80px 20px;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-logo img {
    width: 280px;
    max-width: 80%;
    margin: 0 auto;
}

#footer address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 28px;
    color: #999;
}

.footer-copyright a { font-size: 13px; color: #777; }
.footer-copyright a:hover { color: var(--teal); }

/* ===== 404 ===== */
.error-section {
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.error-code {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 140px;
    line-height: 1;
    color: var(--navy);
    border-bottom: 4px solid var(--teal);
    padding-bottom: 10px;
}

.error-title {
    font-size: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 24px;
}

.error-text {
    color: #666;
    max-width: 480px;
    margin: 18px auto 32px;
}

.error-btn {
    display: inline-block;
    background: var(--navy);
    color: #fff;
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    padding: 14px 38px;
    border-radius: 4px;
    transition: background .2s;
}

.error-btn:hover { background: var(--teal); }

@media (max-width: 860px) {
    .error-code { font-size: 96px; }
    .error-title { font-size: 24px; }
}

/* ===== Back to top ===== */
#back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 44px; height: 44px;
    background: var(--navy);
    color: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, background .2s;
    z-index: 999;
}

#back-to-top.show { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--teal); }

/* ===== Responsive ===== */
@media (max-width: 860px) {
    .navbar-toggle { display: flex; }

    .nav-menu {
        position: absolute;
        top: 70px; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        box-shadow: 0 6px 10px rgba(0,0,0,.08);
        transition: max-height .3s ease;
    }

    .nav-menu.open { max-height: 420px; padding: 10px 20px; }

    .nav-menu li { width: 100%; padding: 10px 0; }
    .nav-divider { border-left: none; padding-left: 0; }
    .feature-row,
    .feature-row.reverse { flex-direction: column; }

    .feature-text { text-align: left; padding: 50px 30px; }
    .text-right { text-align: left; }

    .hero-title { font-size: 44px; }
    .section { padding: 60px 0; }
}
