/* Drive Management Inc. - Main Stylesheet */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --brand-red: #DC143C;
    --nav-bg: #E8E8E8;
    --content-bg: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #CCCCCC;
    
    /* Typography */
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    /* Layout */
    --nav-width: 280px;
    --header-height: 60px;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--content-bg);
}

/* Layout Structure */
.site-container {
    display: flex;
    min-height: 100vh;
}

/* Vertical Navigation Sidebar */
.sidebar {
    width: var(--nav-width);
    background-color: var(--nav-bg);
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 1000;
    padding: 20px 0;
}

.sidebar-logo {
    padding: 0 20px 20px;
    text-align: center;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
}

.sidebar-logo h1 {
    font-size: 20px;
    color: var(--brand-red);
    font-weight: 700;
}

.sidebar-logo img {
    display: block;
    margin: 0 auto;
    max-width: 200px;
    width: 100%;
    height: auto;
}

/* Navigation Menu */
.nav-menu {
    list-style: none;
}

.nav-item {
    margin-bottom: 5px;
}

.nav-link {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(220, 20, 60, 0.1);
}

.nav-link.active {
    background-color: var(--brand-red);
    color: white;
}

/* Accordion Submenu */
.nav-submenu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: rgba(255, 255, 255, 0.5);
}

.nav-submenu.expanded {
    max-height: 1000px;
}

.nav-submenu .nav-link {
    padding-left: 40px;
    font-size: 14px;
    font-weight: 400;
}

.nav-link.has-submenu::after {
    content: '▼';
    float: right;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-link.has-submenu.expanded::after {
    transform: rotate(180deg);
}

/* Main Content Area */
.main-content {
    margin-left: var(--nav-width);
    flex: 1;
    min-height: 100vh;
}

.content-header {
    background-color: var(--brand-red);
    color: white;
    padding: 20px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.content-header h1 {
    font-size: 28px;
    font-weight: 600;
}

.content-body {
    padding: 40px;
    max-width: 1200px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 24pt;
    font-weight: 700;
}

h2 {
    font-size: 20pt;
    font-weight: 600;
}

h3 {
    font-size: 14pt;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

/* Sections */
.content-section {
    margin-bottom: 40px;
}

.section-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 30px 0;
}

/* Lists */
ul, ol {
    margin-left: 20px;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Links */
a {
    color: var(--brand-red);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--brand-red);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #B71234;
    text-decoration: none;
}

/* Mobile menu toggle - hidden by default on desktop */
.mobile-menu-toggle {
    display: none;
}

/* Show hamburger on mobile screens */
@media screen and (max-width: 768px) {
    .mobile-menu-toggle {
        display: block !important;
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 2000;
        background-color: #DC143C;
        color: white;
        border: none;
        padding: 15px 20px;
        font-size: 18px;
        font-weight: bold;
        border-radius: 5px;
        cursor: pointer;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }
    
    .mobile-menu-toggle:active {
        background-color: #B71234;
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        padding-top: 70px;
    }
    
    .content-header {
        padding-top: 10px;
    }
}



/* Contact Form */
.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    font-family: var(--font-main);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Document Library */
.document-list {
    list-style: none;
    margin-left: 0;
}

.document-item {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
}

.document-item:hover {
    background-color: rgba(220, 20, 60, 0.05);
}

.document-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.document-icon {
    margin-right: 10px;
    font-size: 20px;
}
