/* Legal Pages Common Styles */

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    color: #000000;
    margin: 0;
    padding: 0;
}

.page-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    border-right: 2px solid #4d4d4d;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 2rem;
    border-bottom: 1px solid #000000;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #000000;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.logo-accent {
    color: #000000;
    font-weight: 300;
}

.sidebar-nav {
    flex: 1;
    padding: 2rem 0;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    text-decoration: none;
    color: #000000;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.nav-item:hover {
    background: #f8f8f8;
    border-left-color: #000000;
}

.nav-item.active {
    background: #000000;
    color: #ffffff;
    border-left-color: #000000;
}

.nav-icon {
    font-size: 1.2rem;
    margin-right: 1rem;
    width: 24px;
    text-align: center;
}

.nav-text {
    font-weight: 400;
    font-size: 0.9rem;
}

.sidebar-footer {
    padding: 1.5rem 1rem;
    border-top: 1px solid #000000;
}

.sidebar-footer p {
    color: #000000;
    font-size: .9rem;
}

.legal-links {
    display: flex;
    gap: 1rem;
}

.legal-links a {
    color: #666666;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.legal-links a:hover {
    color: #000000;
}

.legal-links a.active {
    color: #000000;
    font-weight: 500;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    flex: 1;
    background: #ffffff;
}

.content-header {
    background: #000000;
    color: #ffffff;
    padding: 3rem 2rem;
    text-align: center;
    border-bottom: 2px solid #000000;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 300;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Legal Page Content */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    line-height: 1.8;
}

.legal-page h2 {
    color: #000000;
    margin: 3rem 0 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Playfair Display', serif;
}

.legal-page h3 {
    color: #000000;
    margin: 2rem 0 1rem;
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-family: 'Playfair Display', serif;
}

.legal-page p,
.legal-page li {
    color: #333333;
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-size: 1rem;
}

.legal-page p strong,
.legal-page li strong {
    color: #000000;
    font-weight: 400;
}

.legal-page ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: #000000;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid #000000;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.back-link:hover {
    background: #000000;
    color: #ffffff;
}

.last-updated {
    font-style: italic;
    color: #666666;
    margin-bottom: 3rem;
    font-size: 0.9rem;
    font-weight: 300;
    text-align: center;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    background: #f8f8f8;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1002;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 0;
    padding: 0.75rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: #f8f8f8;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: #000000;
    transition: all 0.3s ease;
}

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

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

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

/* Sidebar Close Button */
.sidebar-close {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #000000;
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.sidebar-close:hover {
    background: #f8f8f8;
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        width: 100vw;
        z-index: 1003;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-close {
        display: flex;
    }

    .main-content {
        margin-left: 0;
    }

    .legal-page {
        padding: 2rem 1rem;
    }

    .page-title {
        font-size: 2rem;
    }
}