/* Modern Navigation Bar Styles - Clean Version */

/* Header base */
.header {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
    border-radius: 6px;
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a5f7a;
    margin-bottom: 0;
    line-height: 1.2;
}

.logo .tagline {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 400;
}

/* Main Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
}

/* Navigation links - clean style */
.main-nav a {
    display: inline-block;
    padding: 8px 16px;
    color: #495057;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
    border-radius: 6px;
    background: transparent;
}

/* Hover effect - subtle underline */
.main-nav a:hover {
    color: #1a5f7a;
    background: rgba(26, 95, 122, 0.05);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #1a5f7a;
    border-radius: 1px;
    transition: width 0.2s ease;
}

.main-nav a:hover::after {
    width: 60%;
}

/* Active state - only underline, NO background */
.main-nav a.active {
    color: #1a5f7a;
    font-weight: 600;
    background: transparent;
}

.main-nav a.active::after {
    width: 60%;
    background: #1a5f7a;
}

/* Remove any dark backgrounds from active state */
.main-nav a.active:hover {
    background: rgba(26, 95, 122, 0.05);
}

/* Contact button - clean style */
.main-nav .cta-button {
    background: #1a5f7a;
    color: #ffffff !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-left: 8px;
}

.main-nav .cta-button::after {
    display: none;
}

.main-nav .cta-button:hover {
    background: #144a60;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(26, 95, 122, 0.3);
}

/* Language selector */
.language-selector select {
    padding: 6px 28px 6px 10px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background-color: #ffffff;
    font-size: 0.85rem;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px;
}

.language-selector select:hover {
    border-color: #1a5f7a;
}

.language-selector select:focus {
    outline: none;
    border-color: #1a5f7a;
    box-shadow: 0 0 0 2px rgba(26, 95, 122, 0.1);
}

/* Mobile menu button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #495057;
    font-size: 1.25rem;
    transition: color 0.2s ease;
    border-radius: 6px;
}

.mobile-menu-toggle:hover {
    color: #1a5f7a;
    background: rgba(26, 95, 122, 0.05);
}

/* Mobile menu */
@media (max-width: 768px) {
    .header .container {
        flex-wrap: nowrap;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 8px 8px;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 2px;
    }
    
    .main-nav a {
        width: 100%;
        padding: 10px 12px;
        border-radius: 6px;
    }
    
    .main-nav a::after {
        display: none;
    }
    
    .main-nav a:hover,
    .main-nav a.active {
        background: rgba(26, 95, 122, 0.08);
    }
    
    .main-nav .cta-button {
        margin-left: 0;
        margin-top: 8px;
        text-align: center;
        display: block;
    }
    
    .logo-img {
        height: 38px;
    }
    
    .logo h1 {
        font-size: 1.25rem;
    }
}
