@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&family=Montserrat:wght@400;700&display=swap');

:root {
    --sidebar-width: 250px;
    --primary-color: #4CAF50;
    --primary-dark: #2E7D32;
    --text-color: #333;
    --background-color: #f0f8f0;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Arial, sans-serif;
    scroll-behavior: smooth;
    background-color: var(--background-color);
    color: var(--text-color);
}

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

.sidebar {
    width: var(--sidebar-width);
    background-color: var(--primary-color);
    color: white;
    padding: 30px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
}

.content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    overflow-y: auto;
    padding: 40px;
    box-sizing: border-box;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 30px;
    border: 3px solid white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.menu {
    list-style-type: none;
    padding: 0;
    width: 100%;
}

.menu li {
    margin-bottom: 15px;
    text-align: center;
}

.menu a {
    font-family: 'Montserrat', sans-serif;
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 0;
    display: block;
    transition: all 0.3s ease;
    font-weight: 400;
}

.menu a:hover {
    transform: translateY(-3px);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.menu a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s;
    margin: 0 auto;
}

.menu a:hover::after {
    width: 50%;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-dark);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-dark);
    font-size: 28px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-dark);
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 5px;
}

p {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.social-icons {
    margin-top: 30px;
}

.social-icons a {
    color: white;
    margin: 0 10px;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
}

.fullscreen-section {
    min-height: 100vh;
    box-sizing: border-box;
    scroll-snap-align: start;
    padding: 40px 0;
}

.fullscreen-section:last-child {
    min-height: 100vh;
}

html {
    scroll-padding-top: 20px;
}

ul {
    padding-left: 20px;
    margin-top: 5px;
}

ul li {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.4;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.date {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 5px;
}

.company {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 5px;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.experience-item, .education-item, .project-item {
    margin-bottom: 20px;
}

/* Hamburger menu */
.hamburger {
    display: none;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: var(--primary-color);
    padding: 10px;
    border-radius: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
    :root {
        --sidebar-width: 200px;
    }

    h1 { font-size: 28px; }
    h2 { font-size: 24px; }
    h3 { font-size: 18px; }
    p, ul li { font-size: 13px; }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: fixed;
        padding: 20px;
        transform: translateY(-100%);
    }

    .sidebar.active {
        transform: translateY(0);
    }

    .content {
        margin-left: 0;
        width: 100%;
        padding: 20px;
        margin-top: 60px; /* Add space for the hamburger menu */
    }

    .hamburger {
        display: block;
    }

    .fullscreen-section {
        min-height: auto;
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 24px; }
    h2 { font-size: 20px; }
    h3 { font-size: 16px; }
    p, ul li { font-size: 12px; }

    .profile-img {
        width: 120px;
        height: 120px;
    }
}