﻿/* -------------------------------------------------------
   GLOBAL RESET & TYPOGRAPHY
------------------------------------------------------- */
html, body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: #f7f7f7;
    color: #222;
    line-height: 1.5;
}

/* Links */
a {
    color: #005bbb;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

html {
    scroll-behavior: smooth;
}

/* prevents headings landing under a fixed header */
.section {
    scroll-margin-top: 90px;
}

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

/* -------------------------------------------------------
   HEADER
------------------------------------------------------- */
header {
    background: #1a1a1a;
    padding: 16px 0;
    color: white;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    height: 48px;
    width: auto;
}

/* Navigation */
nav {
    display: flex;
    gap: 24px;
}

nav a {
    display: inline-block;
    padding: 8px 8px;
    background: #2a2a2a;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 600;
    color: #f2f2f2;
    transition: background 0.15s ease;
}

nav a:hover {
    background: #3a3a3a;
    color: white;
    text-decoration: none;
}    
        
nav a.is-disabled {
opacity: 0.4;
pointer-events: none;
}

/* -------------------------------------------------------
   FOOTER
------------------------------------------------------- */
footer {
    background: #000;
    color: #e0e0e0;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    padding: 20px 0 40px 0; /* increased bottom padding */
}
/* -------------------------------------------------------
   CARD LAYOUT (used across site)
------------------------------------------------------- */
.card {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    margin-bottom: 32px;
}

/* -------------------------------------------------------
   FORM LAYOUT (Contact Page)
------------------------------------------------------- */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.two-col .form-group {
    flex: 1 1 calc(50% - 20px);
}

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

    .form-group label {
        font-weight: 600;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 16px;
        width: 100%;
        box-sizing: border-box;
    }

/* Make message field full width */
.message-group {
    flex: 1 1 100%;
}

    .message-group textarea {
        min-height: 180px;
        resize: vertical;
    }

/* File upload */
.file-label {
    display: inline-block;
    background: #eee;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 6px;
}

    .file-label input {
        display: none;
    }

/* Submit button */
#contact-submit {
    padding: 12px 20px;
    font-size: 16px;
    background: #005bbb;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

    #contact-submit:hover {
        background: #004999;
    }
/* -------------------------------------------------------
   RESPONSIVE
------------------------------------------------------- */
@media (max-width: 1144px) {

    /* Existing form rule */
    .two-col .form-group {
        flex: 1 1 100%;
    }

    /* NEW: Stack logo above nav */
    .topbar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    /* NEW: Nav becomes full-width and wraps cleanly */
    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 16px;
        width: 100%;
    }

        /* NEW: Make links easier to tap */
        nav a {
            padding: 8px 0;
            font-size: 16px;
        }

    /* NEW: Slightly smaller logo */
    .brand-logo {
        height: 40px;
    }
}