/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(34, 32, 24, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--primary-accent);
    transition: all 0.5s ease;
}

.header.nobles-header {
    background: rgba(212, 175, 55, 0.95);
    border-bottom: 2px solid #8B0000;
    backdrop-filter: blur(15px);
}

.header.nobles-header .nav-logo h1 {
    color: #8B0000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header.nobles-header .nav-link {
    color: #8B0000;
}

.header.nobles-header .nav-link:hover {
    color: #CC0000;
}

.header.nobles-header .kingdom-logo {
    filter: drop-shadow(2px 2px 4px rgba(139, 0, 0, 0.5));
}

.header.nobles-header .kingdom-logo:hover {
    filter: drop-shadow(0 0 15px rgba(139, 0, 0, 0.9)) drop-shadow(0 0 30px rgba(139, 0, 0, 0.5));
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo h1 {
    font-size: 1.8rem;
    color: var(--primary-accent);
    text-shadow: 2px 2px 4px var(--shadow-dark);
    margin: 0;
}

.kingdom-logo {
    height: 80px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(2px 2px 4px var(--shadow-dark));
    position: relative;
    z-index: 9999;
    margin-top: -15px;
    margin-bottom: -15px;
}

.kingdom-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px var(--primary-accent)) drop-shadow(0 0 30px rgba(212, 175, 55, 0.5));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-accent);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-accent);
}

.nav-link:hover::before {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-accent);
    margin: 3px 0;
    transition: 0.3s;
}