/* Default header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
    color: #d4242a;
    /* smooth effect */
}

/* When scrolled */
header.scrolled {
    background: rgba(255, 255, 255, 0.5);
    /* semi-transparent */
    backdrop-filter: blur(10px);
    /* blur effect */
    -webkit-backdrop-filter: blur(10px);
    /* Safari support */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #d4242a;
}

.logo img {
    height: 60px;
    margin-right: 10px;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    margin-left: 50px;
    text-decoration: none;
    color: #d4242a;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #ffae42;
}

.nav-active {
    color: #ffae42;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 4px 0;
    transition: 0.3s;
}