/* 
    Color Palette for Marriage Therapy & Personality Test Site
    Primary Colors
*/
:root {
    --color-primary: #2D5B6A;
    --color-primary-rgb: 45, 91, 106;
    --color-complement: #A7B8A5;
    --color-background: #F7F4EE;
    --color-text: #2F3437;
    --color-cta: #5E7D6A;
    --color-cta-hover: #4D6758;
    --color-primary-light: rgba(45, 91, 106, 0.1);
    --color-cta-light: rgba(94, 125, 106, 0.1);
    --color-warning: #D4A574;
}

/* Body Styles */
body {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
}

/* Sidebar Common Styles */
.sidebar {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--color-primary) 0%, rgba(var(--color-primary-rgb), 0.9) 100%);
    color: white;
    padding: 20px 0;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    overflow-y: auto;
    width: 250px;
    z-index: 1000;
}

.sidebar a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    transition: all 0.2s ease;
    border-radius: 0 8px 8px 0;
    margin: 2px 10px;
}

.sidebar a:hover, .sidebar a.active {
    background-color: rgba(255,255,255,0.15);
    color: white;
    font-weight: 600;
}

.sidebar .logo {
    text-align: center;
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 25px;
}

.sidebar .logo h4 {
    margin: 0 0 5px 0;
    font-weight: 700;
}

.sidebar .logo small {
    opacity: 0.8;
    font-size: 13px;
}

/* Main Content */
.main-content {
    margin-right: 250px;
    padding: 20px;
    min-height: 100vh;
}

/* Hamburger Button */
.hamburger-btn {
    display: none;
    position: fixed;
    top: 15px;
    z-index: 1100;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    right: 15px;
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

/* Responsive */
@media (max-width: 992px) {
    .hamburger-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .sidebar {
        width: 300px !important;
        transform: translateX(100%);
        right: 0;
    }
    .sidebar.show {
        transform: translateX(0);
    }
    .main-content {
        margin-right: 0 !important;
        padding: 20px !important;
    }
}