* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    transition: background-color 0.3s, color 0.3s;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Dark mode */
body.dark-mode {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s, border-color 0.3s, transform 0.2s;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
    transform: scale(1.1);
    background: #e0e0e0;
}

body.dark-mode .theme-toggle {
    background: #2d2d2d;
    border-color: #444;
    color: #fff;
}

body.dark-mode .theme-toggle:hover {
    background: #3d3d3d;
}

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

/* Left Sidebar */
.sidebar {
    width: 300px;
    background-color: #f8f9fa;
    border-right: 1px solid #e9ecef;
    padding: 2rem 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    transition: background-color 0.3s, border-color 0.3s;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.sidebar::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

body.dark-mode .sidebar {
    background-color: #242424;
    border-right-color: #3a3a3a;
}

/* Section Spacing - Adjust this value (3.5rem = ~56px) to increase/decrease space between Experience and Skills sections */
.sidebar-section {
    margin-bottom: 3rem;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

/* Section Header with Banner - Adjust padding values for spacing */
.section-header {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6c757d;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    background-color: #e9ecef;
    transition: color 0.3s, background-color 0.3s;
}

body.dark-mode .section-header {
    color: #a0a0a0;
    background-color: #2d2d2d;
}

.company-menu {
    list-style: none;
    padding: 0;
}

/* Item Spacing - Adjust this value (0.5rem = 8px) to change vertical space between dropdown buttons */
.company-item {
    margin-bottom: 0.5rem;
}

.company-item:last-child {
    margin-bottom: 0;
}

/* Button Padding - Adjust these values (0.75rem = 12px vertical, 1.5rem = 24px horizontal) to change button spacing */
.company-toggle {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s, color 0.3s;
}

body.dark-mode .company-toggle {
    color: #e0e0e0;
}

.company-toggle:hover {
    background-color: #e9ecef;
}

body.dark-mode .company-toggle:hover {
    background-color: #3a3a3a;
}

.company-toggle.active {
    background-color: #e9ecef;
}

body.dark-mode .company-toggle.active {
    background-color: #3a3a3a;
}

.company-toggle .arrow {
    font-size: 0.75rem;
    transition: transform 0.3s;
    color: #6c757d;
}

.company-toggle.active .arrow {
    transform: rotate(180deg);
}

.company-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, background-color 0.3s;
    background-color: #ffffff;
}

body.dark-mode .company-dropdown {
    background-color: #1a1a1a;
}

.company-dropdown.open {
    max-height: 500px;
}

/* Dropdown Content Padding - Adjust these values (1rem = 16px top/bottom, 2.5rem = 40px left, 1.5rem = 24px right) 
   to change spacing inside dropdown sections so content doesn't touch button edges */
.experience-blurb {
    padding: 0.5rem 1.5rem 1rem 2.5rem;
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.8;
    font-weight: 300;
    text-align: left;
    transition: color 0.3s;
}

body.dark-mode .experience-blurb {
    color: #a0a0a0;
}


/* Main Content - Adjust padding values for spacing around content */
.main-content {
    margin-left: 300px;
    padding: 2rem 3rem;
    width: calc(100% - 300px);
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.centered-content {
    text-align: center;
    width: 100%;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Heading Spacing - Adjust this value (1rem = 16px) to change space below heading */
.main-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

/* Paragraph Spacing - Adjust this value (0.75rem = 12px) to change space between paragraphs */
.main-content p {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    text-align: center;
    white-space: nowrap;
}

.main-content p:last-child {
    margin-bottom: 0;
}

.main-content ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.main-content ul li {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    padding-left: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .theme-toggle {
        top: 1rem;
        right: 1rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }

    body.dark-mode .sidebar {
        border-bottom-color: #3a3a3a;
    }

    .main-content {
        margin-left: 0;
        padding: 2rem 1.5rem;
        min-height: auto;
    }

    .main-content h1 {
        font-size: 2rem;
    }
}

