/* ===================================
   Header - Premier Style
   =================================== */

header#header,
#header {
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

/* Logo - Single Line */
.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.logo {
    margin-right: auto;
}

.logo a:hover {
    color: #4ecdc4;
}

/* Logo Icon */
.logo-icon {
    width: 36px;
    height: 36px;
    background: #79c8c3;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e8a8a;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Logo Text - Single Line */
.logo-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.logo-text .company-name {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-menu > li {
    position: relative;
    margin: 0;
}

.nav-menu > li > a {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.75rem 1rem;
    display: block;
    transition: color 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: #79c8c3;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: '';
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 0.5rem;
    margin-top: 0.5rem;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    padding: 0.75rem 1rem;
    display: block;
    color: #333;
    font-size: 0.9375rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.dropdown-menu li a:hover {
    background-color: rgba(78, 205, 196, 0.1);
    color: #1a1a2e;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-actions a,
.nav-actions button {
    background: #79c8c3;
    color: #1e8a8a;
    border: none;
    border-radius: 6px;
    padding: 0.45rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-actions a::after,
.nav-actions button::after {
    content: '↗';
    font-size: 0.85rem;
}

.nav-actions a:hover,
.nav-actions button:hover {
    background: #8ad0cc;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

/* Mobile Navigation */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }

    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        background: rgba(22, 40, 43, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        transition: left 0.3s ease;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        justify-content: flex-start;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu > li > a {
        padding: 1rem;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.08);
        padding: 0 0 0 1rem;
        margin: 0;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li a {
        color: #ffffff;
    }
    
    .dropdown-menu li a:hover {
        background: rgba(121, 200, 195, 0.2);
        color: #79c8c3;
    }
}
