/* ========================================
   HEADER NEW STYLES - Glickfield Legal Group
   Color Palette: #b38b32 (Gold), #062c4a (Navy Blue)
   ======================================== */

/* Reset */
.header-new * {
    box-sizing: border-box;
}

i.fa.fa-angle-down{
	display: none;
}

/* Main Header Container */
.header-new {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* ========================================
   TOP CONTACT BAR
   ======================================== */
.header-top-bar {
    background: #041d31;
    color: #fff;
    padding: 10px 0;
}

.header-top-bar .container-fluid {
    padding: 0 30px;
}

/* Contact Info Left */
.top-contact-info {
    display: flex;
    align-items: center;
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
    align-items: center;
}

.contact-list li {
    margin: 0;
}

.contact-list a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.contact-list a:hover {
    color: #b38b32;
}

.contact-list i {
    font-size: 16px;
    color: #b38b32;
}

.contact-list b {
    font-weight: 600;
    margin-right: 3px;
}

/* Social Media Right */
.top-social-links {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #b38b32;
    color: #fff;
    transform: translateY(-2px);
}

/* ========================================
   MAIN HEADER SECTION
   ======================================== */
.header-main {
    background: #072b48;
    padding: 0;
}

.header-main .container-fluid {
    padding: 0 30px;
}

/* Logo - Left */
.brand-logo-new {
    display: inline-block;
    max-width: 150px;
}

.brand-logo-new img {
    max-width: 100px !important;
    height: auto;
    display: block;
}

/* Navigation - Center */
.navbar-new {
    padding: 0;
}

.navbar-menu-center {
    display: flex;
    justify-content: center;
}

.navbar-nav-new {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item-new {
    position: relative;
    margin: 0;
}

.nav-link-new {
    color: white !important;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-link-new:hover,
.nav-item-new.current-menu-item > .nav-link-new,
.nav-item-new.current_page_item > .nav-link-new {
    color: #b38b32 !important;
    border-bottom-color: #b38b32;
}

/* Dropdown Arrow */
.nav-item-new.menu-item-has-children > .nav-link-new::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 6px;
    font-size: 12px;
}

/* Dropdown Menu */
.nav-item-new .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 240px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    list-style: none;
    margin: 0;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.3s ease;
    z-index: 1000;
    border-top: 3px solid #b38b32;
}

.nav-item-new:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item-new .sub-menu .nav-item-new {
    display: block;
}

.nav-item-new .sub-menu .nav-link-new {
    color: #062c4a !important;
    padding: 12px 20px;
    font-size: 14px;
    text-transform: none;
    font-weight: 500;
    border-bottom: none;
    border-left: 3px solid transparent;
}

.nav-item-new .sub-menu .nav-link-new:hover,
.nav-item-new .sub-menu .nav-item-new.current-menu-item .nav-link-new {
    background: #f8f8f8;
    border-left-color: #b38b32;
    color: #b38b32 !important;
}

/* Contact Button - Right */
.btn-contact-header {
    background: #b38b32;
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
	width: fit-content;
	max-width: 100%;
}

.btn-contact-header:hover {
    background: #9a7429;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(179, 139, 50, 0.4);
    color: #fff !important;
}

/* Mobile Toggle Button */
.navbar-toggler-new {
    display: none;
    background: #b38b32;
    border: none;
    color: #fff;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.navbar-toggler-new:hover {
    background: #9a7429;
}

.navbar-toggler-new.active {
    background: #7d5e1f;
}

/* Mobile Menu Wrapper - Hidden by default */
.mobile-menu-wrapper {
    display: none;
}

@media (max-width: 1024px) {
    .mobile-menu-wrapper {
        background: #f8f8f8;
        margin-top: 15px;
        border-radius: 4px;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
    }
    
    .mobile-menu-wrapper.active {
        display: block;
        max-height: 1000px;
        opacity: 1;
    }
}

.navbar-nav-mobile {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item-mobile {
    border-bottom: 1px solid #e0e0e0;
}

.nav-item-mobile:last-child {
    border-bottom: none;
}

.nav-link-mobile {
    color: #062c4a !important;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-link-mobile:hover,
.nav-item-mobile.current-menu-item .nav-link-mobile {
    background: #fff;
    border-left-color: #b38b32;
    color: #b38b32 !important;
}

/* Mobile Dropdown */
.nav-item-mobile.menu-item-has-children > .nav-link-mobile::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    float: right;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.nav-item-mobile.menu-item-has-children.show > .nav-link-mobile::after {
    transform: rotate(180deg);
}

.nav-item-mobile .sub-menu {
    background: #e8e8e8;
    padding: 0;
    margin: 0;
    list-style: none;
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.nav-item-mobile.show .sub-menu {
    display: block;
    max-height: 500px;
}

.nav-item-mobile .sub-menu .nav-link-mobile {
    padding-left: 40px;
    font-size: 14px;
    text-transform: none;
}

/* ========================================
   STICKY CONTACT BUTTON
   ======================================== */
.sticky-contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.contact-bubble {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #b38b32 0%, #d4a336 100%);
    color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 20px rgba(179, 139, 50, 0.4);
    transition: all 0.3s ease;
}

.contact-bubble:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(179, 139, 50, 0.5);
    background: linear-gradient(135deg, #d4a336 0%, #b38b32 100%);
    color: #fff;
}

.contact-bubble i {
    font-size: 18px;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 1199px) {
    .nav-link-new {
        padding: 15px 15px;
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    /* Hide desktop navigation */
    .navbar-menu-center {
        display: none;
    }
    
    /* Show mobile toggle */
    .navbar-toggler-new {
        display: inline-block;
    }
    
    /* Top Bar */
    .contact-list {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .contact-list a {
        font-size: 13px;
    }
    
    .top-social-links {
        justify-content: flex-start;
    }
    
    /* Main Header */
    .brand-logo-new {
        max-width: 130px;
    }
    
    .btn-contact-header {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .header-top-bar {
        padding: 8px 0;
    }
    
    .header-top-bar .container-fluid,
    .header-main .container-fluid {
        padding: 0 15px;
    }
    
    .contact-list {
        gap: 5px;
    }
    
    .contact-list a {
        font-size: 12px;
    }
    
    .contact-list i {
        font-size: 14px;
    }
    
    .brand-logo-new {
        max-width: 120px;
    }
    
    .btn-contact-header {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    /* Sticky Button Mobile */
    .sticky-contact-btn {
        bottom: 20px;
        right: 20px;
    }
    
    .contact-bubble {
        width: 50px;
        height: 50px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    
    .contact-bubble span {
        display: none;
    }
    
    .contact-bubble i {
        margin: 0;
    }
}

@media (max-width: 575px) {
    .brand-logo-new {
        max-width: 100px;
    }
    
    .contact-list b {
        display: none;
    }
    
    .social-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* Accessibility */
.nav-link-new:focus,
.btn-contact-header:focus,
.contact-bubble:focus {
    outline: 2px solid #b38b32;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .sticky-contact-btn,
    .header-top-bar {
        display: none;
    }
}