/* App-like Header Styles */
:root {
    --primary: #6b21a8;
    --primary-dark: #5b1a8e;
    --text: #1f2937;
    --text-secondary: #4b5563;
    --background: #cfcfcf;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--background);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 12px 24px;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo .site-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.header-logo img {
    max-height: 40px;
    width: auto;
}

.header-nav .nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 24px;
}

.nav-menu a {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-icon {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--text);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.menu-toggle.active .menu-icon:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .menu-icon:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-icon:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: var(--background);
    box-shadow: var(--shadow);
    z-index: 1001;
    transition: right 0.3s ease;
    padding: 64px 24px;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-menu li {
    margin-bottom: 16px;
}

.mobile-nav-menu a {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
}

.mobile-nav-menu a:hover {
    color: var(--primary);
}

.site-content {
    margin-top: 64px; /* Adjust for fixed header */
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
}