/* BrandVision Header Styles */

.bv-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transition: all 0.3s ease;
    background: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.bv-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.bv-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.bv-header-logo {
    display: flex;
    align-items: center;
}

.bv-header-logo img {
    height: 40px;
    width: auto;
}

.bv-header-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.bv-header-nav li {
    position: relative;
}

.bv-header-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 0;
    transition: color 0.3s ease;
    position: relative;
}

.bv-header-nav a:hover {
    color: #007cba;
}

.bv-header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #007cba;
    transition: width 0.3s ease;
}

.bv-header-nav a:hover::after {
    width: 100%;
}

.bv-header-cta {
    display: flex;
    align-items: center;
}

.bv-header-btn {
    background: #007cba;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.bv-header-btn:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 124, 186, 0.3);
}

/* Mobile Hamburger */
.bv-mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.bv-mobile-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.bv-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.bv-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.bv-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Overlay */
.bv-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.bv-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.bv-mobile-overlay-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    height: 80px;
}

.bv-mobile-overlay-logo img {
    height: 40px;
    width: auto;
}

.bv-mobile-close {
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: relative;
    background: none;
    border: none;
    padding: 0;
}

.bv-mobile-close::before,
.bv-mobile-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

.bv-mobile-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.bv-mobile-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.bv-mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bv-mobile-menu li {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.bv-mobile-menu li:nth-child(1) { animation-delay: 0.1s; }
.bv-mobile-menu li:nth-child(2) { animation-delay: 0.2s; }
.bv-mobile-menu li:nth-child(3) { animation-delay: 0.3s; }
.bv-mobile-menu li:nth-child(4) { animation-delay: 0.4s; }
.bv-mobile-menu li:nth-child(5) { animation-delay: 0.5s; }

.bv-mobile-menu a {
    color: #333;
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.bv-mobile-menu a:hover {
    color: #007cba;
}

.bv-mobile-cta {
    margin-top: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .bv-header-nav,
    .bv-header-cta {
        display: none;
    }
    
    .bv-mobile-toggle {
        display: flex;
    }
    
    .bv-header-container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .bv-header-container {
        height: 70px;
        padding: 0 15px;
    }
    
    .bv-header-logo img {
        height: 35px;
    }
    
    .bv-mobile-overlay-header {
        padding: 15px 20px;
        height: 70px;
    }
    
    .bv-mobile-menu a {
        font-size: 20px;
    }
}

/* Body padding to account for fixed header */
body {
    padding-top: 80px;
}

@media (max-width: 480px) {
    body {
        padding-top: 70px;
    }
}

/* Elementor integration styles */
.elementor-widget-bv-header .bv-header {
    position: relative;
}

.elementor-editor-active .bv-header {
    position: relative;
}