/* Aventra Header Styles - Site-wide Standard */

.aventra-header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}
.aventra-top-bar {
    background: transparent;
    color: #fff;
    padding: 20px 0;
    font-size: 1.5rem;
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}
.aventra-top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.aventra-top-bar a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}
.aventra-nav-bar {
    background: transparent;
    position: relative;
    z-index: 20;
    margin-top: -10px;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}
.aventra-nav-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #fff;
    z-index: -1;
    clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%, 0 40px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Sticky State */
.sticky-active .aventra-top-bar {
    height: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
}
.sticky-active .container {
    max-width: 100% !important;
    padding: 0 !important;
}
.sticky-active .aventra-nav-bar::before {
    clip-path: none;
    border-radius: 0;
}
.sticky-active .aventra-nav-bar {
    margin-top: 0;
    padding: 10px 40px;
    width: 100%;
}

.aventra-nav-bar .nav-links {
    display: flex;
    gap: 4.5rem;
    align-items: center;
}
.aventra-nav-bar .nav-links a {
    color: #111;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1.6rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}
.aventra-nav-bar .nav-links a::after {
    display: none !important;
}
.nav-item-has-children {
    position: relative;
    display: inline-block;
}
.aventra-sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 260px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    list-style: none;
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 100;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 0 100%);
    margin-top: 15px;
}
.aventra-sub-menu::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 30px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
}
.nav-item-has-children:hover .aventra-sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.aventra-sub-menu li a {
    display: flex !important;
    align-items: center;
    padding: 12px 25px !important;
    font-size: 1.6rem !important;
    font-weight: 500 !important;
    color: #033096 !important;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
}
.aventra-sub-menu li a::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 15px;
    background-color: #033096;
    mask: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 256 512%27%3E%3Cpath d=%27M64 128v255.1c0 28.37 34.5 42.74 54.63 22.62l128-127.1c12.5-12.5 12.5-32.75 0-45.25l-128-127.1C98.5 85.27 64 99.52 64 128zM224 256l-128 127.1V128L224 256z%27/%3E%3C/svg%3E') center/contain no-repeat;
    -webkit-mask: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 256 512%27%3E%3Cpath d=%27M64 128v255.1c0 28.37 34.5 42.74 54.63 22.62l128-127.1c12.5-12.5 12.5-32.75 0-45.25l-128-127.1C98.5 85.27 64 99.52 64 128zM224 256l-128 127.1V128L224 256z%27/%3E%3C/svg%3E') center/contain no-repeat;
    transition: all 0.3s ease;
}
.aventra-sub-menu li a:hover {
    color: #033096 !important;
    padding-left: 35px !important;
    background: transparent !important;
}
.aventra-sub-menu li a:hover::before {
    background-color: #033096;
}

/* Brochure Button */
.brochure-btn {
    background: #ff0000;
    color: #fff !important;
    padding: 12px 25px;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    clip-path: polygon(15px 0, 100% 0, 100% 100%, 0 100%, 0 15px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}
.brochure-btn:hover {
    background: #033096;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.brochure-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
.aventra-nav-bar .nav-links a:hover {
    color: #ff0000;
}
.aventra-nav-bar .nav-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
}
.aventra-nav-bar .mobile-menu-btn {
    display: none;
    cursor: pointer;
}

/* Mobile Drawer Fixes */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    box-shadow: 15px 0 40px rgba(0,0,0,0.2);
}
.mobile-drawer.active {
    left: 0;
}
.drawer-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}
.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}
.drawer-close {
    font-size: 3rem;
    line-height: 1;
    cursor: pointer;
    color: #111;
    padding: 5px;
    transition: all 0.3s ease;
}
.drawer-close:hover {
    color: #ff0000;
    transform: rotate(90deg);
}
.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.drawer-links a {
    font-size: 1.8rem;
    font-weight: 600;
    color: #033096;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    border-bottom: 1px solid #f9f9f9;
    transition: all 0.3s ease;
}
.drawer-links a:hover {
    color: #ff0000;
    padding-left: 10px;
}
.drawer-links .arrow-icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-right: 2px solid #033096;
    border-bottom: 2px solid #033096;
    transform: rotate(-45deg);
    margin-right: 5px;
}
.drawer-sub-menu {
    list-style: none;
    padding: 5px 20px;
    display: none;
    background: #fcfcfc;
}
.drawer-item-has-children.active .drawer-sub-menu {
    display: block;
}
.drawer-sub-menu li a {
    font-size: 1.5rem !important;
    padding: 12px 0 !important;
    color: #666 !important;
    font-weight: 500 !important;
    border-bottom: 1px dashed #eee !important;
}
.drawer-sub-menu li:last-child a {
    border-bottom: none !important;
}

@media (max-width: 991px) {
    .aventra-top-bar {
        display: none !important;
    }
    .aventra-header-wrapper .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
    .aventra-nav-bar {
        margin-top: 0;
        padding: 15px 20px;
        clip-path: none !important;
        width: 100%;
        border-radius: 0;
    }
    .aventra-nav-bar::before {
        clip-path: none !important;
    }
    .aventra-nav-bar .nav-links,
    .aventra-nav-bar .brochure-btn {
        display: none !important;
    }
    .aventra-nav-bar .mobile-menu-btn {
        display: block !important;
    }
    .aventra-nav-bar .logo-wrapper img {
        height: 40px !important;
    }
}
