/* Base Variables & Scroll Padding */
html {
    scroll-padding-top: 100px;
}

:root {
    --bh-dark-green: #1F2E22;
    --bh-sage-green: #4B6B45;
    --bh-cream: #F5F3EE;
    --bh-gray-green: #767B70;
    --bh-bg-transparent: rgba(245, 243, 238, 0.88);
}

/* Global Sticky Header */
.blossom-global-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bh-bg-transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    height: 96px;
    display: flex;
    align-items: center;
    box-shadow: 0 0 0 rgba(0,0,0,0);
}

body.admin-bar .blossom-global-header {
    top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
    body.admin-bar .blossom-global-header {
        top: 46px;
    }
}

/* Scrolled State */
.blossom-global-header.is-scrolled {
    height: 64px;
    background: var(--bh-cream);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 4px 20px rgba(31, 46, 34, 0.08);
}

/* Container */
.blossom-header-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

/* Brand */
.blossom-header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.blossom-header-logo {
    height: 48px;
    width: auto;
    transition: height 0.3s ease;
}

.blossom-global-header.is-scrolled .blossom-header-logo {
    height: 36px;
}

.blossom-header-wordmark {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    gap: 6px;
    transition: font-size 0.3s ease;
}

.blossom-global-header.is-scrolled .blossom-header-wordmark {
    font-size: 20px;
}

.wordmark-blossom { color: var(--bh-dark-green); }
.wordmark-live { color: var(--bh-sage-green); }

/* Navigation */
.blossom-header-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.blossom-header-nav a {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--bh-gray-green);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.3s ease;
}

.blossom-header-nav a:hover {
    color: var(--bh-dark-green);
}

.blossom-global-header.is-scrolled .blossom-header-nav a {
    font-size: 15px;
}

/* Actions & CTA */
.blossom-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.blossom-header-cta {
    background: var(--bh-dark-green);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.2s ease, padding 0.3s ease, font-size 0.3s ease;
}

.blossom-header-cta:hover {
    background: var(--bh-sage-green);
    color: #ffffff;
}

.blossom-global-header.is-scrolled .blossom-header-cta {
    padding: 8px 20px;
    font-size: 14px;
}

/* Mobile Toggle */
.blossom-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.toggle-bar {
    width: 24px;
    height: 2px;
    background-color: var(--bh-dark-green);
    transition: 0.3s;
}

/* Responsive */
@media (max-width: 992px) {
    .blossom-mobile-toggle {
        display: flex;
    }
    
    .blossom-header-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bh-cream);
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.3s ease-in-out;
    }
    
    .blossom-header-nav.is-open {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .blossom-header-wordmark {
        display: none;
    }
}

@media (max-width: 480px) {
    .blossom-header-cta {
        display: none;
    }
}