/**
 * Header Navigation Styles
 * AltaMedical Theme - Clean Version
 */

/* === HEADER STRUCTURE === */
.header {
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 90px;
    border-bottom: 1px solid #E5E5E5;
    padding: 10px 0;
}

.navbar {
    height: 100%;
}

.navbar .container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* === LOGO === */
.navbar-brand {
    display: flex;
    align-items: center;
}

.logo {
    height: 49px;
    width: auto;
}

/* === DESKTOP NAVIGATION === */
.navbar-collapse {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

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

.nav-item {
    margin: 0 16px;
}

.nav-link {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    color: #000000;
    font-size: 14px;
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s ease;
    text-transform: uppercase;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.nav-link:hover {
    color: #24B4E3;
}

/* === DROPDOWN STYLES === */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 8px;
    vertical-align: middle;
    background-image: url('assets/arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.navbar-nav .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-10px) !important;
    background: white !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
    border-radius: 12px !important;
    padding: 12px 0 !important;
    min-width: 260px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    z-index: 1000 !important;
    list-style: none !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    display: block !important;
}

.navbar-nav .dropdown:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

.dropdown-item {
    display: block;
    padding: 12px 24px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #333333;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.navbar-nav .dropdown .dropdown-item:hover {
    color: #24B4E3;
}

/* === HEADER ACTIONS === */
.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.language-btn {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    color: #000000;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 0;
}

.language-btn::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 8px;
    vertical-align: middle;
    background-image: url('assets/arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.language-switcher:hover .language-btn::after {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: white;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 12px 0;
    min-width: 80px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    list-style: none;
    border: 1px solid rgba(0,0,0,0.05);
}

.language-switcher:hover .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.language-item {
    display: block;
    padding: 8px 16px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #333333;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.language-item:hover {
    color: #24B4E3;
}

/* Contact Info */
.contact-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-icon {
    flex-shrink: 0;
}

.contact-details .contact-label {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: #666666;
    line-height: 1.2;
}

.contact-details .contact-phone {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #000000;
    line-height: 1.2;
}

/* Mobile Phone Icon */
.mobile-phone-icon {
    display: none;
    color: #24B4E3;
    text-decoration: none;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-phone-icon:hover {
    background-color: rgba(36, 180, 227, 0.1);
    color: #1a8bb8;
    transform: scale(1.05);
}

.mobile-phone-icon svg {
    display: block;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 36px;
    height: 30px;
    padding: 6px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1002;
}

.mobile-menu-toggle:hover {
    background-color: rgba(36, 180, 227, 0.1);
    transform: scale(1.05);
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: #24B4E3;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
    border-radius: 2px;
    position: relative;
}

/* Active hamburger animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: #000;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: #000;
}

.mobile-menu-toggle.active {
    background-color: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

.mobile-menu-toggle.active:hover {
    background-color: rgba(0, 0, 0, 0.15);
}


/* === RESPONSIVE DESIGN === */
@media (max-width: 991px) {
    .navbar-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .contact-info {
        display: none;
    }
    
    .language-switcher {
        display: none;
    }
    
    .mobile-phone-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .header-actions {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-actions {
        gap: 10px;
    }
} 