/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 8px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: #ff6b35;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ff6b35;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: transparent;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.language-btn:hover {
    border-color: #ff6b35;
    color: #ff6b35;
}

.language-btn i.fa-chevron-down {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.language-selector.active .language-btn i.fa-chevron-down {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.language-selector.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    padding: 12px 16px;
    color: #333;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f5f5f5;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover,
.language-option.active {
    background: #ff6b35;
    color: white;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    z-index: 1002;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: #ff6b35;
    border-color: #ff6b35;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: #475569;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle:hover span {
    background: #ffffff;
}

.nav-toggle.active {
    background: #ff6b35;
    border-color: #ff6b35;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: #ffffff;
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: #ffffff;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .nav-list {
        gap: 16px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .nav-actions {
        gap: 10px;
    }
    
    .language-btn {
        padding: 6px 10px;
        font-size: 13px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .navbar {
        padding: 16px 0;
    }
    
    .navbar .container {
        padding: 0 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .nav-brand .logo {
        font-size: 20px;
        z-index: 1001;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 12px;
        z-index: 1001;
    }
    
    .nav-toggle {
        display: flex;
        order: 1;
    }
    
    .language-selector {
        order: 2;
    }
    
    .btn {
        order: 3;
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 0;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        margin: 0;
        width: 100%;
        background: white;
        border-radius: 0;
        overflow: hidden;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 16px 24px;
        text-align: left;
        font-weight: 500;
        color: #333;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        position: relative;
    }
    
    
    .nav-link:hover {
        background: #fafafa;
        color: #ff6b35;
    }
    
    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 0;
        background: #ff6b35;
        transition: width 0.3s ease;
    }
    
    .nav-link:hover::before {
        width: 3px;
    }
    
    .language-dropdown {
        right: 0;
        left: auto;
        transform: translateY(-10px);
        min-width: 160px;
    }
    
    .language-selector.active .language-dropdown {
        transform: translateY(0);
    }
    
    /* Hide desktop navigation */
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .navbar {
        padding: 12px 0;
    }
    
    .navbar .container {
        padding: 0 15px;
    }
    
    .nav-brand .logo {
        font-size: 18px;
        gap: 8px;
    }
    
    .logo-img {
        height: 28px;
    }
    
    .nav-actions {
        gap: 8px;
    }
    
    .btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .language-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .nav-menu {
        padding: 0;
    }
    
    .nav-list {
        gap: 0;
        margin: 0;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 16px 20px;
    }
    
    .language-dropdown {
        min-width: 140px;
    }
    
    .language-option {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .nav-toggle {
        padding: 6px;
    }
    
    .nav-toggle span {
        width: 20px;
        height: 2px;
    }
}

/* Extra Small Mobile Styles */
@media (max-width: 360px) {
    .navbar .container {
        padding: 0 10px;
    }
    
    .nav-brand .logo {
        font-size: 16px;
        gap: 6px;
    }
    
    .logo-img {
        height: 24px;
    }
    
    .nav-actions {
        gap: 6px;
    }
    
    .btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .language-btn {
        padding: 5px 8px;
        font-size: 11px;
    }
    
    .nav-menu {
        padding: 60px 10px 15px;
    }
    
    .nav-link {
        font-size: 15px;
        padding: 12px 0;
    }
    
    .nav-toggle {
        padding: 4px;
    }
    
    .nav-toggle span {
        width: 18px;
        height: 2px;
    }
}

/* Button Styles */
.btn-secondary {
    background: transparent;
    color: #1a1a1a;
    border: 2px solid #e2e8f0;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #ff6b35;
    color: #ff6b35;
    transform: translateY(-2px);
}

/* Mobile only menu items */
.mobile-only {
    display: none;
}

.mobile-only .nav-link {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    margin: 8px 0;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
}

.mobile-only .nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

@media (max-width: 968px) {
    .mobile-only {
        display: block;
    }
    
    .btn-secondary {
        display: none !important;
    }
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}
