/* Enhanced Navigation Styles */
:root {
    --primary-blue: #2c3e50;
    --secondary-blue: #34495e;
    --accent-blue: #3498db;
    --accent-orange: #e67e22;
    --text-light: #ecf0f1;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

header.scrolled {
    background: rgba(44, 62, 80, 0.98);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    margin: 0;
    transition: all 0.3s ease;
}

.logo h1 span {
    color: var(--accent-orange);
}

.logo:hover h1 {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.nav-links ul li {
    position: relative;
}

.nav-links ul li a {
    display: block;
    padding: 10px 15px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-links ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links ul li a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.nav-links ul li a:hover::before {
    width: 80%;
}

.nav-links ul li a.contact-btn {
    background: var(--accent-orange);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
    border: none;
}

.nav-links ul li a.contact-btn:hover {
    background: #d35400;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

.nav-links ul li a.contact-btn::before {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Scroll to top functionality */
.scroll-to-top {
    position: fixed;
    bottom: -60px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 999;
}

.scroll-to-top.visible {
    bottom: 20px;
    opacity: 1;
}

.scroll-to-top:hover {
    background: #2980b9;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* Responsive styles */
@media (max-width: 992px) {
    .nav-links ul {
        gap: 0;
    }
    
    .nav-links ul li a {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 15px 20px;
    }
    
    .hamburger {
        display: block;
        z-index: 1001;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(44, 62, 80, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        transition: all 0.5s ease;
        z-index: 1000;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        width: 100%;
        align-items: center;
        padding: 20px 0;
    }
    
    .nav-links ul li {
        width: 80%;
        margin: 5px 0;
    }
    
    .nav-links ul li a {
        width: 100%;
        text-align: center;
        padding: 15px;
        font-size: 1rem;
    }
    
    .nav-links ul li a.contact-btn {
        margin-top: 15px;
        width: 100%;
    }
}
