/*
 * Theme Name: Ozelot Global LLC
 * Version: 3.0
 * Description: Premium redesign — international B2B trading theme with an emerald & gold identity, elegant Playfair Display headings and refined section styling.
 * Author: Ozelot Global LLC
 */

/**
 * Custom Styling for the FluentForm Submission Button
 */
form.fluent_form_3 .wpf_has_custom_css.ff-btn-submit {
    background-color: var(--wp--preset--color--primary) !important;
    color: var(--wp--preset--color--background) !important;
    border-color: var(--wp--preset--color--primary) !important;
    transition: filter 0.2s ease !important;
}

form.fluent_form_3 .wpf_has_custom_css.ff-btn-submit:hover {
    filter: brightness(1.1) !important;
}

/*
 * When clicking links, make the scrolling behavior smooth to improve the user experience.
 */
html {
    scroll-behavior: smooth;
}

.wp-block-site-title a:hover {
    opacity: 80%;
}

.wp-block-navigation-item {
    color: var(--wp--preset--color--text);
}

.wp-block-navigation-item:hover {
    opacity: 80%;
}

.wp-block-button:hover {
    opacity: 80%;
}

/*
Get rid of the padding above/below the blocks wrapper,
which was leaving whitespace above/below the header/footer
*/
.wp-site-blocks {
    padding: 0;
}

/*
Get rid of the default margin-top around all of the outer blocks (example: hero section after header),
changing here instead of theme.json so that global blockGap is not changed for inner blocks and elements
 */
:where(.wp-site-blocks)>* {
    margin-block-start: 0;
}

/*
Adjust positioning of the "details" block summary when it is an H4
 */
summary h4 {
    display: inline;
    margin-left: 10px;
}

.header-block {
    position: relative;
    z-index: 1;
    border-bottom: 2px solid;
}

/*
Hide an info box/block from the frontend of the site (like the info box on the contact page block pattern.
 */
.hide-from-site-frontend {
    display: none;
}

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
    text-decoration-thickness: 1px !important;
    text-underline-offset: 0.1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
    outline-width: 2px;
    outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
    margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
    outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
caption,
figcaption,
p {
    text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
    display: block;
}

/*
 * Fix website header to always show at top of page and have colors from the theme
 */
.site-header {
    position: fixed;
    width: 100%;
    background-color: var(--wp--preset--color--background);
    z-index: 1000;
    border-bottom: 1px solid;
    box-shadow:
        0 1px 3px 0 rgb(0 0 0 / 0.1),
        0 1px 2px -1px rgb(0 0 0 / 0.1);
    /* Add a bottom box shadow to the header block */
}

.site-header img {
    height: auto;
    width: calc(var(--wp--preset--spacing--40) * 2);
}

/* Adjust for admin bar on desktop */
.admin-bar .site-header {
    top: 32px !important;
    /* WordPress admin bar height on desktop */
}

/* Adjust for admin bar on mobile devices */
@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px !important;
        /* WordPress admin bar height on mobile */
    }
}

/* For very small screens where WP removes the admin bar */
@media screen and (max-width: 600px) {
    .admin-bar .site-header {
        top: 0 !important;
    }
}

/*
 * Make the separator between the footer and content, not so thick
 */
.wp-block-separator {
    border: none !important;
    border-top: 1px solid !important;
}

#products .wp-block-column {
    transition: scale 0.15s ease-in-out;
}

#products .wp-block-column:hover {
    scale: 105%;
}

/*Fix overflow of some unsplash images in certain browsers  */
img {
    width: 100%;
}

.footer-contact-columns .wp-block-group {
    text-align: center;
}

.footer-contact-columns {
    align-items: center;
}

/* ============================================================
   PREMIUM REDESIGN v3.0 — Emerald & Gold identity
   ============================================================ */
:root {
    --oz-emerald: #164C39;
    --oz-emerald-dark: #0E3B2E;
    --oz-emerald-900: #0B2E22;
    --oz-gold: #C6A15B;
    --oz-gold-dark: #A9863F;
    --oz-cream: #FAF8F2;
}

body { letter-spacing: .003em; }
h1, h2, h3, h4 { letter-spacing: -.01em; }

/* ---- Header ---- */
.site-header {
    background-color: rgba(250, 248, 242, .9) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(20, 60, 45, .12) !important;
    box-shadow: 0 1px 24px rgba(11, 46, 34, .06) !important;
}
.wp-block-navigation-item { font-weight: 500; letter-spacing: .01em; }
.wp-block-navigation-item:hover { opacity: 1; color: var(--oz-gold-dark); }

/* ---- Buttons ---- */
.wp-block-button__link,
.wp-element-button {
    border-radius: 2px !important;
    font-weight: 600 !important;
    letter-spacing: .03em;
    padding: 15px 34px !important;
    border: 1.5px solid var(--oz-emerald) !important;
    transition: all .35s cubic-bezier(.4, 0, .2, 1) !important;
}
.wp-block-button:hover { opacity: 1; }
.wp-block-button__link:hover,
.wp-element-button:hover {
    background-color: var(--oz-gold) !important;
    border-color: var(--oz-gold) !important;
    color: var(--oz-emerald-900) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(198, 161, 91, .35);
}
.is-style-outline .wp-block-button__link {
    background: transparent !important;
    color: var(--oz-emerald) !important;
}

/* ---- Gold rule under centered display headings ---- */
.is-style-text-display.has-text-align-center::after {
    content: "";
    display: block;
    width: 64px;
    height: 2px;
    margin: 20px auto 0;
    background: var(--oz-gold);
}

/* ---- HERO ---- */
.wp-block-bronkbuilderwp-hero-block .wp-block-cover { min-height: 100vh; }
.wp-block-bronkbuilderwp-hero-block .wp-block-cover__background {
    background: linear-gradient(180deg, rgba(11, 46, 34, .72) 0%, rgba(11, 46, 34, .55) 45%, rgba(11, 46, 34, .85) 100%) !important;
    opacity: 1 !important;
}
.wp-block-bronkbuilderwp-hero-block h1 {
    font-weight: 500 !important;
    letter-spacing: -.02em;
    line-height: 1.1 !important;
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
}
.wp-block-bronkbuilderwp-hero-block h1::after {
    content: "";
    display: block;
    width: 72px;
    height: 2px;
    background: var(--oz-gold);
    margin: 28px auto 0;
}
.wp-block-bronkbuilderwp-hero-block p {
    font-weight: 300 !important;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    opacity: .94;
}

/* ---- ABOUT ---- */
.wp-block-bronkbuilderwp-about-block { background: var(--oz-cream); }
.wp-block-bronkbuilderwp-about-block h1 { font-weight: 500 !important; line-height: 1.2 !important; }
.wp-block-bronkbuilderwp-about-block .wp-block-image img {
    box-shadow: 0 30px 70px rgba(11, 46, 34, .18) !important;
}
.wp-block-bronkbuilderwp-about-block .is-style-lead { line-height: 1.75 !important; }

/* ---- PRODUCTS / SERVICES ---- */
#products .wp-block-column {
    transition: transform .4s cubic-bezier(.4, 0, .2, 1), box-shadow .4s !important;
    overflow: hidden;
    border: 1px solid rgba(20, 60, 45, .08);
}
#products .wp-block-column:hover {
    scale: 1 !important;
    transform: translateY(-8px);
    box-shadow: 0 26px 60px rgba(11, 46, 34, .16) !important;
}
#products .wp-block-column img { transition: transform .7s ease; }
#products .wp-block-column:hover img { transform: scale(1.06); }
.wp-block-bronkbuilderwp-products-block h3 { font-weight: 600 !important; line-height: 1.3 !important; }

/* ---- CONTACT + FluentForm ---- */
#contact { background: var(--oz-cream); }
form.fluent_form_3 input[type=text],
form.fluent_form_3 input[type=email],
form.fluent_form_3 input[type=tel],
form.fluent_form_3 textarea {
    border-radius: 3px !important;
    border: 1px solid rgba(20, 60, 45, .18) !important;
    transition: border .3s, box-shadow .3s !important;
}
form.fluent_form_3 input:focus,
form.fluent_form_3 textarea:focus {
    border-color: var(--oz-gold) !important;
    box-shadow: 0 0 0 3px rgba(198, 161, 91, .15) !important;
    outline: none !important;
}
form.fluent_form_3 .ff-btn-submit { border-radius: 2px !important; letter-spacing: .03em; transition: all .3s !important; }
form.fluent_form_3 .wpf_has_custom_css.ff-btn-submit:hover {
    filter: none !important;
    background-color: var(--oz-gold) !important;
    border-color: var(--oz-gold) !important;
    color: var(--oz-emerald-900) !important;
}

/* ---- STATS band ---- */
.oz-stats .wp-block-column { border-right: 1px solid rgba(255, 255, 255, .14); }
.oz-stats .wp-block-column:last-child { border-right: none; }
.oz-stats h3 { line-height: 1 !important; }
@media (max-width: 781px) {
    .oz-stats .wp-block-column { border-right: none; }
}

/* ---- INDUSTRIES band ---- */
.oz-industries .wp-block-button__link {
    border-radius: 100px !important;
    background: #fff !important;
    border: 1px solid rgba(20, 60, 45, .16) !important;
    color: var(--oz-emerald) !important;
    font-weight: 500 !important;
    padding: 11px 24px !important;
    box-shadow: 0 4px 16px rgba(11, 46, 34, .06);
}
.oz-industries .wp-block-button__link:hover {
    background: var(--oz-emerald) !important;
    border-color: var(--oz-emerald) !important;
    color: #fff !important;
    transform: translateY(-3px);
}

/* ---- Footer ---- */
.wp-block-separator { opacity: .35; }
