/*
Theme Name: Brand n Builders
Theme URI: https://brandnbuilders.com
Author: Antigravity Team
Author URI: https://brandnbuilders.com
Description: Custom WordPress theme for Brand n Builders Agency, utilizing React and Tailwind CSS v4 for high-performance animations and page elements.
Version: 1.5.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: brandnbuilders
*/

@font-face {
    font-family: "Sora";
    src: url("assets/fonts/sora-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("assets/fonts/inter-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
}

:root {
    --font-display: "Sora", system-ui, sans-serif;
    --font-inter: "Inter", system-ui, sans-serif;
}

.elementor-section.elementor-section-boxed > .elementor-container,
.e-con.e-con-boxed > .e-con-inner {
    width: 100%;
    max-width: none !important;
}

body .elementor-column-gap-default > .elementor-column > .elementor-element-populated { padding: 0; }
body .elementor-widget:not(:last-child) { margin-block-end: 0; }
body .cover-pin > .elementor-widget-container,
body .cover-over > .elementor-widget-container { width: 100%; }

/* Elementor's global image rule must not override the responsive hero wordmark. */
.brandnbuilders-widget #home > div.absolute img[alt="Brand n Builders"] {
    width: auto !important;
    height: 2.7rem !important;
}

.elementor-widget-brandnbuilders .elementor-widget-container,
.brandnbuilders-widget {
    min-width: 0;
}

.elementor-location-header {
    position: relative;
    z-index: 100;
    pointer-events: none;
}

.bnb-site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 70;
    padding: 1rem;
    pointer-events: none;
}

.bnb-header-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 5.2rem;
    margin: 0 auto;
    border: 1px solid transparent;
    border-radius: 2rem;
    pointer-events: auto;
}

.bnb-header-logo {
    width: 14.5rem;
    padding-left: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

.bnb-header-logo img { width: auto; height: 1.9rem; }
.bnb-header-menu { display: flex; align-items: center; justify-content: center; gap: 2rem; flex: 1; }
.bnb-header-menu a { color: rgba(255,255,255,.9); font: 700 .78rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.bnb-header-menu a:hover { color: var(--cyan); }
.bnb-header-actions { display: flex; align-items: center; gap: 1rem; padding-right: 1.5rem; }
.bnb-header-cta { display: inline-flex; align-items: center; gap: .6rem; padding: .65rem 1.2rem; border-radius: 999px; color: #fff; background: linear-gradient(110deg,var(--primary),var(--cyan-dim),var(--primary)); font: 700 .78rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 .2rem 1.5rem rgba(123,47,255,.3); }
.bnb-header-cta span { display: grid; place-items: center; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: rgba(255,255,255,.2); }
.bnb-header-whatsapp { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; color: #fff; background: #25d366; font-size: 1.4rem; }
.bnb-site-header.is-scrolled { padding: 1.125rem .625rem .625rem; }
.bnb-site-header.is-scrolled .bnb-header-shell { width: 98%; max-width: 97.5rem; height: 4.6rem; padding: 0 1rem; border-color: rgba(123,47,255,.35); border-radius: 1.2rem; background: rgba(8,8,8,.95); box-shadow: 0 0 1.25rem rgba(123,47,255,.1),0 .625rem 1.875rem rgba(0,0,0,.3); backdrop-filter: blur(18px); }
.bnb-site-header.is-scrolled .bnb-header-logo { width: 11.5rem; opacity: 1; pointer-events: auto; }
.bnb-menu-toggle { display: none; }

.bnb-site-footer { position: relative; z-index: 10; padding: 5rem 5vw 2.5rem; border-top: 1px solid var(--line); background: var(--background-2); color: var(--foreground); }
.bnb-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 4rem; }
.bnb-footer-brand img { width: auto; height: 2rem; filter: brightness(0) invert(1); }
.bnb-footer-brand p { max-width: 30ch; margin-top: 1.25rem; color: var(--muted); font-size: .83rem; line-height: 1.75; }
.bnb-footer-socials { display: flex; gap: .65rem; margin-top: 2rem; }
.bnb-footer-socials a { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border: 1px solid var(--line); color: var(--muted); font: 800 .65rem/1 var(--font-display); }
.bnb-site-footer h4 { margin-bottom: 1.5rem; font: 800 .68rem/1 var(--font-display); letter-spacing: .2em; text-transform: uppercase; }
.bnb-site-footer li + li { margin-top: .65rem; }
.bnb-site-footer li a,.bnb-footer-bottom { color: var(--muted); font-size: .83rem; }
.bnb-site-footer a:hover { color: var(--foreground); }
.bnb-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 2rem; border-top: 1px solid var(--line); font-size: .78rem; }
.bnb-footer-bottom div { display: flex; gap: 2rem; }

@media (max-width: 767px) {
    .bnb-site-header { padding: .75rem; }
    .bnb-header-shell { height: 4.25rem; background: transparent; border-color: transparent; border-radius: 1rem; }
    .bnb-header-logo { width: auto; padding-left: 1rem; opacity: 0; pointer-events: none; }
    .bnb-site-header.is-scrolled .bnb-header-logo { width: auto; padding-left: 1rem; opacity: 1; pointer-events: auto; }
    .bnb-header-logo img { height: 1.65rem; filter: brightness(0) invert(1); }
    .bnb-menu-toggle { position: fixed; top: 1.45rem; right: 1.25rem; z-index: 210; display: flex !important; flex-direction: column; gap: 6px; margin: 0; padding: .75rem; }
    .bnb-menu-toggle span { width: 24px; height: 1px; background: #080808; }
    .bnb-site-header.is-scrolled .bnb-menu-toggle span { background: #fff; }
    .bnb-header-menu { position: absolute; top: calc(100% + .5rem); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(8,8,8,.97); }
    .bnb-header-menu.is-open { display: flex; }
    .bnb-header-menu a { display: block; padding: .8rem; }
    .bnb-header-actions { display: none; }
    .bnb-footer-grid { grid-template-columns: 1fr 1fr; }
    .bnb-footer-brand { grid-column: 1 / -1; }
    .brandnbuilders-widget #home > div.absolute img[alt="Brand n Builders"] { height: 2.4rem !important; }
}
