/*!
Theme Name: ECW Theme
Theme URI: https://emmanuuelcole.com
Author: Abdul Qudoos
Author URI: https://abdulqudoos.dev
Description: Professional portfolio theme for Emmanuuel Cole Williams - Fractional CMO
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ecw-theme
Domain Path: /languages
Requires at least: 6.0
Requires PHP: 7.4
*/

/* ── CRITICAL COLOR OVERRIDES ── */
/* These ensure heading colors are not inherited from body */
.hero-heading {
  color: #fff !important;
}

.hero-heading-accent {
  color: #dbff00 !important;
}

h1, h2, h3, h4, h5, h6 {
  color: inherit;
}

/* Note: All component CSS files are enqueued via wp_enqueue_style() in functions.php */

/* ── ROADMAP MODAL ── */
.rm-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: opacity 0.25s ease;
    padding: 16px;
}

.rm-overlay[aria-hidden="true"] {
    opacity: 0;
    pointer-events: none;
}

.rm-overlay[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
}

.rm-dialog {
    position: relative;
    background: #111;
    border: 1px solid rgba(219, 255, 0, 0.2);
    border-radius: 18px;
    padding: 40px 36px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.rm-dialog::-webkit-scrollbar {
    display: none;
}

.rm-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: none;
    border: none;
    color: rgba(240, 237, 230, 0.45);
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    padding: 4px 6px;
    transition: color 0.15s;
}

.rm-close:hover {
    color: #f0ede6;
}

.rm-title {
    font-size: 22px;
    font-weight: 700;
    color: #f0ede6;
    margin: 0 0 8px;
}

.rm-sub {
    font-size: 13px;
    color: rgba(240, 237, 230, 0.6);
    margin-bottom: 28px;
    line-height: 1.55;
}

.rm-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 16px;
}

.rm-field label {
    font-size: 12px;
    font-weight: 600;
    /* text-transform: uppercase; */
    letter-spacing: 0.07em;
    color: rgba(240, 237, 230, 0.7);
}

.rm-field select,
.rm-field input[type="email"] {
    background: #1a1a1a;
    border: 1px solid rgba(240, 237, 230, 0.15);
    border-radius: 8px;
    padding: 12px 14px;
    color: #f0ede6;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
    appearance: none;
    -webkit-appearance: none;
}

.rm-field select:focus,
.rm-field input[type="email"]:focus {
    border-color: #dbff00;
}

.rm-field select option {
    background: #1a1a1a;
    color: #f0ede6;
}

.rm-error {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.35);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: #ff6b6b;
    margin-bottom: 16px;
}

.rm-submit {
    display: block;
    width: 100%;
    background: #dbff00;
    color: #0a0a0a !important;
    font-size: 13px;
    font-weight: 700;
    /* text-transform: uppercase; */
    letter-spacing: 0.08em;
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    margin-top: 4px;
}

.rm-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(219, 255, 0, 0.35);
}

.rm-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.rm-thanks-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(219, 255, 0, 0.15);
    color: #dbff00;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

#rm-step-thanks {
    text-align: center;
    padding: 16px 0;
}

