/* Professional Header Styles */

/* Top Bar */
.top-bar {
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
    font-size: 14px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-item {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.top-bar-item:hover {
    color: #ffd700;
}

.top-bar-item i {
    color: #ffd700;
}

.top-bar-item strong {
    color: #002147;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid #ddd;
}

.social-links a {
    color: #666;
    font-size: 14px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ffd700;
}

/* Main Header */
.main-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo-wrapper {
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #002147;
    line-height: 1;
}

.logo-tagline {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

/* Desktop Navigation */
.desktop-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 0;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: #ffd700;
}

.nav-link i {
    font-size: 10px;
    transition: transform 0.3s;
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

/* Mega Menu Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 30px;
    min-width: 600px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    margin-top: 20px;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.mega-menu-column h4 {
    color: #002147;
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffd700;
}

.mega-menu-column ul {
    list-style: none;
}

.mega-menu-column li {
    margin-bottom: 10px;
}

.mega-menu-column a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: block;
    padding: 5px 0;
}

.mega-menu-column a:hover {
    color: #ffd700;
    padding-left: 10px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-toggle {
    background: none;
    border: none;
    color: #333;
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s;
}

.search-toggle:hover {
    color: #ffd700;
}

.header-cta {
    background: #ffd700;
    color: #002147;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.header-cta:hover {
    background: #002147;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s;
}

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

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

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

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,33,71,0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

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

.search-overlay-content {
    max-width: 800px;
    width: 90%;
    text-align: center;
}

.search-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 48px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.search-close:hover {
    opacity: 1;
}

.search-form {
    display: flex;
    margin-bottom: 30px;
}

.search-input {
    flex: 1;
    padding: 20px;
    font-size: 18px;
    border: none;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.search-submit {
    background: #ffd700;
    color: #002147;
    border: none;
    padding: 20px 40px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    transition: background 0.3s;
}

.search-submit:hover {
    background: #e6bc00;
}

.search-suggestions {
    color: #ffffff;
}

.search-suggestions h4 {
    margin-bottom: 15px;
    font-size: 16px;
    opacity: 0.8;
}

.search-suggestions a {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 15px;
    margin: 5px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    transition: all 0.3s;
}

.search-suggestions a:hover {
    background: #ffd700;
    color: #002147;
    border-color: #ffd700;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100%;
    background: #ffffff;
    z-index: 2001;
    transition: right 0.3s;
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0,0,0,0.2);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    background: #002147;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-logo {
    height: 40px;
    filter: brightness(0) invert(1);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-nav {
    list-style: none;
}

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

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.mobile-nav-link i {
    font-size: 12px;
    transition: transform 0.3s;
}

.mobile-nav-item.active .mobile-nav-link i {
    transform: rotate(45deg);
}

.mobile-submenu {
    list-style: none;
    padding-left: 20px;
    display: none;
}

.mobile-nav-item.active .mobile-submenu {
    display: block;
}

.mobile-submenu a {
    display: block;
    padding: 10px 0;
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.mobile-submenu a:hover {
    color: #ffd700;
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    margin-top: 20px;
}

.mobile-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #002147;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.mobile-cta {
    display: block;
    background: #ffd700;
    color: #002147;
    text-align: center;
    padding: 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 20px;
    }
    
    .mega-menu-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo-tagline {
        display: none;
    }
    
    .logo-name {
        font-size: 18px;
    }
    
    .logo-img {
        height: 40px;
    }
}