/* Header Styles */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;700&display=swap');

:root {
    --primary-blue: rgba(64, 169, 255, 0.9);
    --secondary-blue: rgba(32, 87, 143, 0.8);
    --accent-orange: rgba(255, 132, 0, 0.9);
    --text-light: rgba(0, 0, 0, 0.9);
    --text-blue: rgba(176, 224, 255, 0.9);
}

/* Header Structure - FIXED VERSION */
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: #f9f9f4;
    top: 0;
    left: 0;
    right: 0;
    transition: all 0.3s;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    transition: all 0.3s;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 36px;
    width: auto;
}

/* Navigation Styles */
nav {
    display: flex;
    justify-content: flex-end; /* Always align navigation to the right */
    padding-right: 20px;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: flex-end; /* Keep nav links aligned to the right */
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    color: rgb(46, 46, 46);
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
    overflow: hidden;
    padding: 5px 10px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #da826d;
    transition: width 0.3s;
}

nav ul li a:hover {
    color: #da826d;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Active state for navigation links */
nav ul li a.active {
    color: #da826d;
}

nav ul li a.active::after {
    width: 100%;
}

/* For very large screens - allow unlimited expansion */
@media (min-width: 1600px) {
    .header-content {
        max-width: 100%;
        padding: 0 30px;
    }
}

/* Responsive Design for smaller screens */
@media (max-width: 768px) {
    .header-content {
        max-width: 100%;
        padding: 0 20px;
    }
    
    nav ul li {
        margin-left: 15px;
    }
    
    nav ul li a {
        font-size: 12px;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .header-content {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .logo img {
        height: 30px;
    }
    
    nav ul li {
        margin-left: 10px;
    }
    
    nav ul li a {
        padding: 3px 5px;
        letter-spacing: 1px;
    }
}