/* Electromagnyc v7 – merged Elementor/OceanWP critical CSS
 *
 * This is a generic, safe baseline that:
 * - Normalizes body + typography
 * - Styles header/nav in a minimal, OceanWP-friendly way
 * - Provides basic container + section spacing
 *
 * Later, you can paste:
 *  - Extracted critical CSS from Elementor
 *  - OceanWP header/nav CSS actually used on the homepage
 */

/* Base reset-ish */
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    line-height: 1.5;
    color: #111827;
    background-color: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.5em;
    font-weight: 600;
    line-height: 1.2;
    color: #111827;
}

p {
    margin: 0 0 1em;
}

/* Layout containers (Elementor/OceanWP friendly) */
.site,
.oceanwp-theme,
.elementor-location-header,
.elementor-location-footer {
    width: 100%;
}

.container,
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* Header / Nav (generic OceanWP-like) */
.site-header,
.oceanwp-header,
.elementor-location-header {
    position: relative;
    z-index: 50;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.site-header .container,
.oceanwp-header .container,
.elementor-location-header .elementor-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
}

.site-logo img,
.oceanwp-header .custom-logo,
.elementor-widget-image img {
    max-height: 48px;
    height: auto;
    width: auto;
}

/* Basic nav */
.main-navigation,
.oceanwp-mobile-menu-icon,
.elementor-nav-menu--main {
    font-size: 0.95rem;
}

.main-navigation ul,
.elementor-nav-menu--main .elementor-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

.main-navigation a,
.elementor-nav-menu--main a {
    text-decoration: none;
    color: #111827;
    padding: 0.25rem 0;
    position: relative;
}

.main-navigation a:hover,
.elementor-nav-menu--main a:hover {
    color: #2563eb;
}

/* Sections / spacing */
.elementor-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.elementor-column-gap-default > .elementor-column > .elementor-widget-wrap {
    row-gap: 20px;
}

/* Buttons */
.elementor-button,
button,
input[type="submit"] {
    cursor: pointer;
    border-radius: 9999px;
    border: none;
    padding: 0.6rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 500;
    background-color: #2563eb;
    color: #ffffff;
    transition: background-color 0.15s ease, transform 0.1s ease;
}

.elementor-button:hover,
button:hover,
input[type="submit"]:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Footer */
.site-footer,
.elementor-location-footer {
    padding: 24px 0;
    background-color: #0f172a;
    color: #e5e7eb;
    font-size: 0.85rem;
}

.site-footer a,
.elementor-location-footer a {
    color: #93c5fd;
    text-decoration: none;
}

.site-footer a:hover,
.elementor-location-footer a:hover {
    text-decoration: underline;
}
