/*
Theme Name: EV Charger Pro
Theme URI: https://example.com/ev-charger-pro
Author: Your Name
Author URI: https://example.com
Description: A clean, Bootstrap-powered WordPress theme for EV charging businesses. Built as an Elementor-compatible placeholder theme with a minimal shell — drop full Elementor pages in with zero friction.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ev-charger-pro
Tags: elementor, bootstrap, business, clean, one-column, wide-blocks
*/

/* =========================================================
   EV Charger Pro — Minimal Shell Styles
   Bootstrap handles layout; this file handles WP integration
   ========================================================= */

/* Reset WP body margin */
body {
    margin: 0;
    padding: 0;
}

/* Hide default site header/footer when Elementor full-width page is used */
body.elementor-page .site-header,
body.elementor-page .site-footer-wrapper {
    display: none;
}

/* WordPress core block alignment helpers */
.alignfull {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}

.alignwide {
    margin-left: -80px;
    margin-right: -80px;
    max-width: calc(100% + 160px);
}

/* ── Default Site Header ─────────────────────────────── */
.site-header {
    background-color: #0d1117;
    padding: 16px 0;
    border-bottom: 2px solid #00d084;
}

.site-header .navbar-brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: #00d084 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-header .navbar-nav .nav-link {
    color: #e0e0e0 !important;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    transition: color 0.2s;
}

.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-link:focus {
    color: #00d084 !important;
}

.navbar-toggler {
    border-color: #00d084;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2300d084' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Default Main Content ────────────────────────────── */
.site-main {
    min-height: 60vh;
    padding: 60px 0;
}

/* ── Default Site Footer ─────────────────────────────── */
.site-footer {
    background-color: #0d1117;
    color: #9ca3af;
    padding: 40px 0 20px;
    border-top: 2px solid #00d084;
    font-size: 0.875rem;
}

.site-footer a {
    color: #00d084;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: #00d084;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-divider {
    border-color: #1f2937;
}

/* ── WP Admin Bar Offset ─────────────────────────────── */
.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* ── Elementor full-width canvas support ─────────────── */
body.elementor-page-template-canvas .site-header,
body.elementor-page-template-canvas .site-footer-wrapper {
    display: none;
}
