/*
Theme Name: BODYFENCE Marine Base
Theme URI: https://bodyfencemarine.com
Author: Endurance Creative
Description: Minimal base theme for BODYFENCE Marine. Elementor-ready with Inter font.
Version: 1.2
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

html, body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

/* ─── Header ─── */
#site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #ebebeb;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

/* Logo */
#site-header .site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
#site-header .site-logo img {
    height: 32px;
    width: auto;
    display: block;
}
#site-header .site-logo span {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #18506f;
}

/* Nav wrapper */
#site-header nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Standard nav links */
#site-header nav a {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: #1a1a1a;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 100px;
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}
#site-header nav a:hover {
    color: #18506f;
    background: rgba(24, 80, 111, 0.06);
}

/* CTA pill — Find an Installer */
#site-header nav a.nav-cta {
    background: #e40512;
    color: #ffffff;
    font-weight: 600;
    padding: 8px 20px;
    margin-left: 8px;
    box-shadow: 0 2px 12px rgba(228, 5, 18, 0.25);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
#site-header nav a.nav-cta:hover {
    background: #c8040f;
    box-shadow: 0 4px 20px rgba(228, 5, 18, 0.4);
    transform: translateY(-1px);
    color: #ffffff;
}

/* Mobile hamburger button */
#site-header .nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 10001;
}
#site-header .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: all 0.3s ease;
}
#site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
#site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}
#site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile breakpoint */
@media (max-width: 860px) {
    #site-header {
        padding: 0 24px;
    }
    #site-header .nav-toggle {
        display: flex;
    }
    #site-header nav {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        padding: 16px 24px 24px;
        border-top: 1px solid #ebebeb;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        gap: 4px;
        z-index: 9998;
    }
    #site-header.nav-open nav {
        display: flex;
    }
    #site-header nav a {
        font-size: 15px;
        padding: 12px 16px;
        border-radius: 10px;
    }
    #site-header nav a.nav-cta {
        margin-left: 0;
        margin-top: 8px;
        text-align: center;
        padding: 13px 20px;
    }
}

/* Main Content */
#main-content {
    width: 100%;
}

/* Footer */
#site-footer {
    width: 100%;
    background: #111111;
    color: #aaaaaa;
    padding: 40px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

#site-footer .footer-brand {
    font-weight: 600;
    color: #ffffff;
    font-size: 14px;
}

#site-footer nav a {
    color: #aaaaaa;
    text-decoration: none;
    margin-left: 24px;
    font-size: 13px;
    transition: color 0.2s;
}

#site-footer nav a:hover {
    color: #ffffff;
}

#site-footer .footer-copy {
    width: 100%;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #2a2a2a;
    font-size: 12px;
    color: #666666;
}

/* Elementor overrides — ensure Inter propagates */
.elementor-widget-container,
.elementor-widget-container * {
    font-family: 'Inter', sans-serif !important;
}
