/* static/css/base.css */
@import url('https://fonts.googleapis.com/css2?family=VT323&family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
@font-face {
    font-family: 'Rademos'; /* This is the name you will use in your CSS */
    src: url('../fonts/Rademos.ttf') format('truetype'); /* Path to the font file */
    /* You can add more properties like font-weight and font-style if needed */
    font-weight: normal;
    font-style: normal;
}
:root {
    /* --- Color Palette --- */
   --gunmetal: #170a18;
    --primary: #c81e4d;
    --secondary: #8f274a;
    --tertiary: #d6b0b5;
    --cream: #f9f5ef;
    
    --font-pixel: 'VT323', monospace;
    --font-sans: 'Rademos', sans-serif;
}


body {
    background-color: var(--gunmetal);
    color: var(--cream); /* Set default text color to light */
    font-family: var(--font-pixel);
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    height: 100vh;
    overflow: hidden;
}

.page-container {
    display: flex;
    gap: 15px;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 10px;
    background-color: var(--primary);
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out;
}
.sidebar-icon {
    font-size: 24px; color: var(--bg-dark); /* Icons are light */
    text-decoration: none;
    padding: 4px; transition: all 0.2s; opacity: 0.6;
}
.sidebar-icon:hover { opacity: 1; background-color: var(--bg-dark); color: var(--cream); } /* Darker hover */
.sidebar-icon.active { opacity: 1; color: var(--secondary); }

.content-area {
    flex-grow: 1;
    background-color: var(--primary); /* Content area is now dark */
    overflow-y: auto;
    height: 100%;
    box-sizing: border-box;
}

.hamburger-menu {
    display: none;
    position: fixed;
    top: 16px; right: 8px;
    z-index: 1002;
    width: 40px; height: 40px;
    background: var(--gunmetal);
    border: 1px solid #222;
    border-radius: 32px;
    cursor: pointer;
    color: var(--cream); /* Hamburger icon is light */
    justify-content: center;
    align-items: center;
}
.hamburger-menu .material-icons {
    font-size: 24px; /* Ensure icon size is consistent */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    body { padding: 0; }
    .page-container { display: block; padding: 0; gap: 0; height: 100%; }
    .content-area, .sidebar { border: none; } /* Remove borders on mobile */
    .content-area {  border-radius: 0; height: 100%; width: 100%; box-sizing: border-box; }
    .hamburger-menu {
        display: flex; /* Make it visible on mobile */
        top: 16px;
        right: 8px;
        background-color: var(--gunmetal); /* Use cream background for contrast */
        color: var(--cream); /* Dark icon on light background */
        border: none;
        border-radius: 32px;
    }
    .hamburger-menu.is-active {
        background-color: transparent; /* Make it transparent when menu is open */
        color: var(--cream); /* Light icon (close) */
    }    .sidebar {
        position: fixed; left: 0; top: 0;
        width: 100%; height: 100%;
        border-radius: 0;
        transform: translateX(-100%);
        z-index: 1001;
        justify-content: center;
        align-items: center;
        background-color: rgba(10, 19, 23, 0.95);
        backdrop-filter: blur(5px);
    }
    .sidebar.visible { transform: translateX(0); }
    .sidebar .sidebar-icon { font-size: 3rem; color: var(--cream); opacity: 0.8; }
    .sidebar .sidebar-icon:hover { background-color: rgba(255, 255, 255, 0.1); }
    .sidebar .sidebar-icon.active { color: var(--accent-secondary); }
}

a { color: inherit; text-decoration: none; }