/* ── Contact Page ─────────────────────────────────────────────────────── */

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f4f4f4;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #333;
}

#top-section {
    width: 100%;
    background-color: black;
    position: sticky;
    top: 0;
    z-index: 10;
    flex-shrink: 0;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

/* ── Layout ───────────────────────────────────────────────────────────── */

#contact-section {
    flex: 1;
    width: 80%;
    margin: 48px auto;
    display: flex;
    gap: 28px;
    align-items: stretch;
}

/* ── Left panel ───────────────────────────────────────────────────────── */

#contact-text-box {
    width: 40%;
    background-color: #111;
    color: #f0f0f0;
    border-radius: 4px;
    padding: 40px 36px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-tag {
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    color: #888;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

#contact-text-box h3 {
    font-size: 42px;
    font-weight: bold;
    color: #ffffff;
    margin: 0 0 12px;
    line-height: 1.1;
}

#contact-text-box #p2 {
    font-size: 17px;
    color: #aaa;
    margin: 0;
    line-height: 1.6;
}

.contact-divider {
    width: 40px;
    height: 2px;
    background-color: #444;
    margin: 28px 0;
}

.contact-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-bullets li {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    color: #bbb;
    margin-bottom: 10px;
}

.bullet-prompt {
    color: #666;
    margin-right: 8px;
}

/* ── Right panel: form ────────────────────────────────────────────────── */

#contactContianer {
    width: 60%;
    box-sizing: border-box;
}

#contact-form {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 36px 40px 40px;
    height: 100%;
    box-sizing: border-box;
}

#contact-form label {
    display: block;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    color: #222;
    text-transform: lowercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

#contact-form label::before {
    content: '// ';
    color: #bbb;
}

input[type=text],
input[type=email],
textarea {
    width: 100%;
    padding: 10px 13px;
    background-color: #fafafa;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    box-sizing: border-box;
    margin-top: 0;
    margin-bottom: 20px;
    resize: vertical;
    transition: border-color 0.15s, box-shadow 0.15s;
}

input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
    outline: none;
    border-color: #111;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

input[type=text]::placeholder,
input[type=email]::placeholder,
textarea::placeholder {
    color: #bbb;
}

input[type=submit] {
    background-color: #111;
    color: #ffffff;
    padding: 11px 28px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    float: right;
    transition: background-color 0.15s;
}

input[type=submit]:hover  { background-color: #333; }
input[type=submit]:active { background-color: #000; }

/* ── Footer: inherits global style.css ───────────────────────────────── */

/* ── Mobile ───────────────────────────────────────────────────────────── */

@media (max-width: 700px) {
    #contact-section {
        flex-direction: column;
        width: 90%;
        margin: 28px auto;
    }

    #contact-text-box,
    #contactContianer {
        width: 100%;
    }

    #contact-text-box {
        padding: 28px 24px;
    }

    #contact-text-box h3 {
        font-size: 30px;
    }

    #contact-form {
        padding: 24px;
    }
}
