/* ==========================================================================
   Electric Ace Design — Complete Visual Styling
   Design slug: design-electric-ace
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Font Declarations
   -------------------------------------------------------------------------- */
@font-face {
    font-family: 'ElectricaceHeading';
    src: url('../fonts/rajdhani-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ElectricaceBody';
    src: url('../fonts/roboto-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   2. GP Remnant Safety Rule (ONLY allowed !important usage)
   -------------------------------------------------------------------------- */
.site-header,
.main-navigation,
.site-footer,
.site-info,
.top-bar {
    display: none !important;
}

/* --------------------------------------------------------------------------
   3. Body / Page Background
   -------------------------------------------------------------------------- */
.design-electric-ace {
    background-color: #ffffff;
    
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22200%22%20height%3D%22200%22%3E%3Cdefs%3E%3Cstyle%3Epath%7Bfill%3Anone%3Bstroke%3Argba%28202%2C24%2C242%2C0.05%29%3Bstroke-width%3A1%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M40%2010%20Q60%2030%2080%2020%20T120%2030%20T160%2020%22%2F%3E%3Cpath%20d%3D%22M20%2050%20Q50%2070%2080%2055%20T140%2065%20T180%2050%22%2F%3E%3Cpath%20d%3D%22M10%2090%20Q40%20110%2070%2095%20T130%20105%20T190%2085%22%2F%3E%3Cpath%20d%3D%22M30%20130%20Q60%20150%2090%20135%20T150%20145%20T180%20130%22%2F%3E%3Cpath%20d%3D%22M15%20170%20Q45%20190%2075%20175%20T135%20185%20T175%20170%22%2F%3E%3C%2Fsvg%3E"); background-size: 200px 200px;
}

/* --------------------------------------------------------------------------
   4. Skip Link
   -------------------------------------------------------------------------- */
.elehdr-skip {
    position: absolute;
    top: -100%;
    left: 0;
    background: #ca18f2;
    color: #fff;
    padding: 8px 16px;
    z-index: 9999;
    font-size: 14px;
    text-decoration: none;
}

.elehdr-skip:focus {
    top: 0;
}

/* --------------------------------------------------------------------------
   5. Content Area
   -------------------------------------------------------------------------- */
.elehdr-site-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    min-height: 50vh;
}

/* --------------------------------------------------------------------------
   6. Content Typography (scoped with body class)
   -------------------------------------------------------------------------- */
.design-electric-ace h1,
.design-electric-ace h2,
.design-electric-ace h3,
.design-electric-ace h4,
.design-electric-ace h5 {
    font-family: 'ElectricaceHeading', Arial, sans-serif;
    color: #110c18;
    line-height: 1.3;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.design-electric-ace h1 { font-size: 2.1rem; }
.design-electric-ace h2 { font-size: 1.7rem; }
.design-electric-ace h3 { font-size: 1.4rem; }
.design-electric-ace h4 { font-size: 1.2rem; }
.design-electric-ace h5 { font-size: 0.95rem; }

.design-electric-ace body,
.design-electric-ace p,
.design-electric-ace li,
.design-electric-ace td,
.design-electric-ace th {
    font-family: 'ElectricaceBody', Arial, sans-serif;
    color: #333333;
    line-height: 1.65;
}

.design-electric-ace p {
    margin-bottom: 1.2em;
    font-size: 17px;
}

/* Links */
.design-electric-ace a {
    color: #ca18f2;
    text-decoration: none;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.design-electric-ace a:hover {
    color: #b307da;
}

/* Lists */
.design-electric-ace ul,
.design-electric-ace ol {
    padding-left: 1.5em;
    margin-bottom: 1.2em;
}

.design-electric-ace li {
    margin-bottom: 0.4em;
}

/* Images */
.design-electric-ace .entry-content img,
.design-electric-ace .page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1em 0;
}

/* Dividers */
.design-electric-ace hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 2em 0;
}

/* --------------------------------------------------------------------------
   7. CTA Button (in header)
   -------------------------------------------------------------------------- */
.elehdr-cta {
    display: none;
    padding: 12px 28px;
    background: #ca18f2;
    color: #fff;
    border: none;
    border-radius: 0;
    font-family: 'ElectricaceBody', Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.2s;
    margin-left: 12px;
}

.elehdr-cta:hover {
    background: #b307da;
    color: #fff;
    text-decoration: none;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.9);
    transform: translate(-2px,-2px);
}

/* ── Search Bar ────────────────────────────────────────── */
.elehdr-search {
    margin-left: 12px;
    position: relative;
}
.elehdr-search-form {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 0;
    overflow: hidden;
    transition: border-color 0.2s;
}
.elehdr-search-form:focus-within {
    border-color: #ca18f2;
}
.elehdr-search-input {
    background: transparent;
    border: none;
    padding: 6px 10px;
    color: #dbdbdb;
    font-family: 'ElectricaceBody', Arial, sans-serif;
    font-size: 0.85rem;
    width: 160px;
    outline: none;
}
.elehdr-search-input::placeholder {
    color: rgba(255,255,255,0.4);
}
.elehdr-search-btn {
    background: transparent;
    border: none;
    padding: 6px 10px;
    color: #dbdbdb;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
.elehdr-search-btn:hover {
    color: #ca18f2;
}


/* --------------------------------------------------------------------------
   Header — Solid Bar
   -------------------------------------------------------------------------- */
.elehdr-wrap {
    background: #110c18;
    padding: 0;
    position: relative;
    z-index: 100;
    border-bottom: 4px solid #ca18f2;
    box-shadow: 0 4px 0 rgba(0,0,0,0.9);
}

.elehdr-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 69px;
}

.elehdr-brand {
    flex-shrink: 0;
}

.elehdr-brand a {
    text-decoration: none;
}

.elehdr-brand img {
    max-height: 45px;
    width: auto;
    display: block;
}

.elehdr-sitename {
    font-family: 'ElectricaceHeading', Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.elehdr-sitename:hover {
    color: #ca18f2;
}

/* Navigation */
.elehdr-nav {
    display: flex;
    align-items: center;
}

.elehdr-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
}

.elehdr-menu li {
    position: relative;
}

.elehdr-menu > li > a {
    display: block;
    padding: 0 18px;
    line-height: 69px;
    color: #dbdbdb;
    text-decoration: none;
    font-family: 'ElectricaceBody', Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.elehdr-menu > li > a:hover,
.elehdr-menu > li.current-menu-item > a {
    color: #ffffff;
    background: rgba(202, 24, 242, 0.2);
    border-radius: 0;
}

/* Dropdown */
.elehdr-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #050307;
    border-top: 2px solid #ca18f2;
    border-radius: 0 0 0 0;
    box-shadow: 8px 8px 0 rgba(0,0,0,0.9);
    display: none;
    z-index: 200;
}

.elehdr-menu li:hover > .sub-menu {
    display: block;
}

.elehdr-menu .sub-menu a {
    display: block;
    padding: 10px 20px;
    color: #c8c8c8;
    text-decoration: none;
    font-family: 'ElectricaceBody', Arial, sans-serif;
    font-size: 0.9rem;
    transition: color 0.2s, background 0.2s;
}

.elehdr-menu .sub-menu a:hover {
    color: #ffffff;
    background: rgba(202, 24, 242, 0.2);
}

/* Mobile Menu Toggle (hidden on desktop) */
.elehdr-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    z-index: 150;
}

.elehdr-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    transition: transform 0.3s, opacity 0.3s;
}

.elehdr-toggle[aria-expanded="true"] .elehdr-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.elehdr-toggle[aria-expanded="true"] .elehdr-toggle-bar:nth-child(2) {
    opacity: 0;
}

.elehdr-toggle[aria-expanded="true"] .elehdr-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* --------------------------------------------------------------------------
   Tables — Minimal Style
   -------------------------------------------------------------------------- */
.design-electric-ace .entry-content table,
.design-electric-ace .page-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 1.5em;
    font-size: 0.95rem;
    border: none;
    border-radius: 0;
    overflow: hidden;
}

.design-electric-ace .entry-content th,
.design-electric-ace .page-content th {
    background: transparent;
    color: #110c18;
    padding: 8px 12px;
    text-align: left;
    font-family: 'ElectricaceHeading', Arial, sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    border-bottom: 2px solid #110c18;
}

.design-electric-ace .entry-content td,
.design-electric-ace .page-content td {
    padding: 8px 12px;
    border-bottom: 1px solid #e8e8e8;
    text-align: left;
}

.design-electric-ace .entry-content tr:hover td,
.design-electric-ace .page-content tr:hover td {
    background: #fbedfe;
}


/* --------------------------------------------------------------------------
   Footer — Inline Three-Column
   -------------------------------------------------------------------------- */
.eleft-wrap {
    background: #110c18;
    color: #b0b0b0;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 4px solid #ca18f2;
}

.eleft-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.eleft-copyright p {
    margin: 0;
    font-family: 'ElectricaceBody', Arial, sans-serif;
    font-size: 0.85rem;
    color: #999999;
}

.eleft-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.eleft-menu a {
    color: #b0b0b0;
    text-decoration: none;
    font-family: 'ElectricaceBody', Arial, sans-serif;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.eleft-menu a:hover {
    color: #ca18f2;
}

.eleft-small {
    margin: 0;
    font-family: 'ElectricaceBody', Arial, sans-serif;
    font-size: 0.8rem;
    color: #777777;
}


/* --------------------------------------------------------------------------
   Responsive — Tablet (768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    /* Show hamburger */
    .elehdr-toggle {
        display: flex;
    }

    /* Hide desktop nav, show when toggled */
    .elehdr-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #050307;
        border-top: 2px solid #ca18f2;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        z-index: 200;
    }

    .elehdr-nav.is-open {
        display: block;
    }

    .elehdr-menu {
        flex-direction: column;
        padding: 10px 0;
    }

    .elehdr-menu > li > a {
        line-height: 1.4;
        padding: 12px 20px;
    }

    .elehdr-search {
        margin: 0;
        padding: 10px 20px;
    }
    .elehdr-search-input {
        width: 100%;
    }

    /* Dropdown on mobile: always visible */
    .elehdr-menu .sub-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        background: rgba(0, 0, 0, 0.15);
        padding-left: 15px;
        display: block;
        transform: none;
    }

    /* Footer adjustments */
    .eleft-inner {
        flex-direction: column;
        text-align: center;
    }

    .eleft-menu {
        justify-content: center;
    }

    /* Content */
    .elehdr-site-content {
        padding: 25px 15px 40px;
    }
}

/* --------------------------------------------------------------------------
   Responsive — Mobile (480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .elehdr-inner {
        height: 60px;
        padding: 0 15px;
    }

    .elehdr-sitename {
        font-size: 1.15rem;
    }

    .elehdr-brand img {
        max-height: 35px;
    }

    .design-electric-ace h1 { font-size: 1.6rem; }
    .design-electric-ace h2 { font-size: 1.35rem; }
    .design-electric-ace h3 { font-size: 1.15rem; }

    .design-electric-ace p {
        font-size: 0.95rem;
    }

    .elehdr-site-content {
        padding: 20px 12px 30px;
    }
}
