/*
Theme Name: VE Compliance
Theme URI:
Author: VE Compliance
Description: Coming soon page for VE Compliance electrical compliance services
Version: 1.0
Requires at least: 5.8
Tested up to: 6.5
*/

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Tokens ── */
:root {
    --navy:      #0d1b2e;
    --navy-mid:  #152340;
    --navy-light:#1e3057;
    --gold:      #c9a84c;
    --gold-dark: #a8832a;
    --text:      #e8e8e8;
    --text-muted:#a8b4c4;
    --radius:    6px;
}

/* ── Base ── */
html, body {
    min-height: 100vh;
    background-color: var(--navy);
    color: var(--text);
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

/* ── Page wrapper ── */
.vec-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 60px 20px 80px;
}

/* ════════════════════════════════════════
   SECTION 1 — Logo
════════════════════════════════════════ */
.vec-logo-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.vec-logo-wrap img {
    max-width: 220px;
    width: 100%;
    height: auto;
}

/* ════════════════════════════════════════
   SECTION 2 — Hero text
════════════════════════════════════════ */
.vec-hero {
    max-width: 720px;
    width: 100%;
    text-align: center;
    margin-bottom: 70px;
}

.vec-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.02em;
    margin-bottom: 24px;
    line-height: 1.25;
}

.vec-divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto 28px;
    border-radius: 2px;
}

.vec-hero p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
}

/* ════════════════════════════════════════
   SECTION 3 — Contact form
════════════════════════════════════════ */
.vec-contact {
    max-width: 600px;
    width: 100%;
    background: var(--navy-mid);
    border: 1px solid var(--navy-light);
    border-radius: 10px;
    padding: 48px 40px;
}

.vec-contact h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 28px;
    text-align: center;
    letter-spacing: 0.03em;
}

/* CF7 field styling */
.vec-contact .wpcf7-form p { margin-bottom: 16px; }

.vec-contact .wpcf7-form input[type="text"],
.vec-contact .wpcf7-form input[type="email"],
.vec-contact .wpcf7-form input[type="tel"],
.vec-contact .wpcf7-form textarea {
    width: 100%;
    background: var(--navy);
    border: 1px solid var(--navy-light);
    border-radius: var(--radius);
    color: var(--text);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    padding: 12px 16px;
    transition: border-color 0.2s;
    outline: none;
}

.vec-contact .wpcf7-form input[type="text"]:focus,
.vec-contact .wpcf7-form input[type="email"]:focus,
.vec-contact .wpcf7-form input[type="tel"]:focus,
.vec-contact .wpcf7-form textarea:focus {
    border-color: var(--gold);
}

.vec-contact .wpcf7-form textarea { min-height: 130px; resize: vertical; }

.vec-contact .wpcf7-form input[type="submit"] {
    width: 100%;
    background: var(--gold);
    color: var(--navy);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius);
    padding: 14px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

.vec-contact .wpcf7-form input[type="submit"]:hover {
    background: var(--gold-dark);
}

/* CF7 validation messages */
.vec-contact .wpcf7-not-valid-tip { color: #ff7070; font-size: 0.82rem; }
.vec-contact .wpcf7-mail-sent-ok  { color: #7dde92; font-size: 0.9rem; margin-top: 12px; }
.vec-contact .wpcf7-mail-sent-ng  { color: #ff7070; font-size: 0.9rem; margin-top: 12px; }

/* ── Footer text ── */
.vec-footer {
    margin-top: 48px;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
}

/* ── Responsive ── */
@media (max-width: 520px) {
    .vec-contact { padding: 32px 24px; }
}
