/* css/header.css */

header {
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent black */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    padding: 1.5rem 4%; /* Responsive padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
    position: sticky; /* Makes header stick to top */
    top: 0;
    z-index: 1000; /* Ensures header is above other content */
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    color: #60a5fa; /* Blue color for logo */
}

.logo h1 {
    font-size: 2.25rem; /* text-3xl */
    font-weight: 800; /* font-extrabold */
    color: #fff;
    letter-spacing: -0.025em; /* tracking-tight */
    margin: 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem; /* space-x-6 */
}

nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1.125rem; /* text-lg */
    font-weight: 500; /* font-medium */
    transition: color 0.3s ease-in-out;
}

nav a:hover {
    color: #93c5fd; /* Light blue on hover */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem 2%;
        border-radius: 0; /* Remove rounded corners on small screens */
    }
    .logo {
        margin-bottom: 0.75rem;
    }
    .logo h1 {
        font-size: 1.75rem; /* text-2xl */
    }
    nav ul {
        gap: 1rem;
        flex-wrap: wrap; /* Allow navigation items to wrap */
        justify-content: center;
    }
    nav a {
        font-size: 1rem;
    }
}
