/* ============================================
   HEADER STYLES
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 37, 64, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(10, 37, 64, 0.98);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

/* ========== LOGO ========== */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo-img {
    height: 45px;
    width: auto;
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-text span {
    background: linear-gradient(135deg, #e94f2b 0%, #ff8a5c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ========== NAVIGATION ========== */
.nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e94f2b;
    transition: width 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.nav-link:hover {
    color: #e94f2b;
}

/* ========== DROPDOWN MENU ========== */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #1a1a2e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    background: rgba(233, 79, 43, 0.1);
    color: #e94f2b;
    padding-left: 25px;
}

.dropdown-arrow {
    margin-left: 5px;
    font-size: 12px;
}

/* ========== HEADER PHONE ========== */
.header-phone {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-link {
    background: #e94f2b;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.phone-link:hover {
    background: #c13b1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 79, 43, 0.3);
}

/* ========== HAMBURGER MENU (Mobile) ========== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 101;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .nav-menu {
        gap: 20px;
    }
    .logo-text {
        font-size: 22px;
    }
    .phone-link span {
        display: none;
    }
    .phone-link {
        padding: 10px 15px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: linear-gradient(135deg, #0a2540 0%, #1a3a5c 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        transition: right 0.3s ease;
        z-index: 100;
        padding: 80px 20px;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .dropdown-menu {
        position: static;
        background: rgba(255,255,255,0.1);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 10px;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li a {
        color: #ffffff;
        padding: 8px 20px;
    }
    
    .dropdown-menu li a:hover {
        background: rgba(233, 79, 43, 0.3);
        color: #ffffff;
    }
    
    .header-phone {
        order: -1;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    .logo-text {
        display: none;
    }
}