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

html, body {
    width: 100%;
    height: 100%;
}

body {
    font-family: "Avenir", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: white; /* Base background */
    position: relative; /* For stacking */
    display: flex;
    flex-direction: column; /* Stack elements vertically */
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: white;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1100; /* Fixed at the top */
}

.logo img {
    height: 40px;
    object-fit: contain;
}

/* Desktop Navigation */
.nav-links {
    display: flex; /* Desktop links visible by default */
    align-items: center;
}

.nav-links ul {
    display: flex; /* Keep links inline on desktop */
    gap: 20px;
    list-style: none;
}

.nav-links ul li a {
    text-decoration: none;
    color: black;
    font-size: 16px;
}

/* Instagram Icon Styling */
.nav-links ul li a.instagram-icon {
    color: black; /* Default color for the icon */
    font-size: 18px; /* Adjust icon size */
    transition: color 0.3s ease;
}

.nav-links ul li a.instagram-icon:hover {
    color: #C13584; /* Instagram pink color */
}

/* Image Container */
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* Prevent the image from shrinking */
    height: auto; /* Let the image container adjust dynamically */
    padding: 20px 10px;
    margin-top: 60px; /* Space for fixed navbar */
}

.image-container img {
    max-height: 80vh;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* Mobile Links */
.mobile-links {
    display: none; /* Ensure mobile links are hidden on desktop */
    padding: 20px; /* Add padding to align text properly */
    flex-shrink: 0; /* Prevent overlapping with the image */
}

.mobile-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column; /* Stack links vertically */
    gap: 15px;
}

.mobile-links ul li a {
    text-decoration: none;
    color: black;
    font-size: 18px;
}

/* Instagram Icon Styling for Mobile */
.mobile-links ul li a.instagram-icon {
    color: black; /* Default color for the icon */
    font-size: 18px; /* Adjust icon size */
    transition: color 0.3s ease;
}

.mobile-links ul li a.instagram-icon:hover {
    color: #C13584; /* Instagram pink color */
}

/* Add padding and left alignment for the CV content */
#cv-section {
    margin-top: 50px; /* Adjust this to match the header's height */
    padding: 50px; /* Adds space around the entire CV section */
}

.cv-content {
    padding-left: 30px; /* This controls the left padding */
    max-width: 800px; /* Limits the width of the content for better readability */
    line-height: 1.6; /* Makes the text more readable */
}

.cv-content h1, 
.cv-content h2 {
    margin-bottom: 20px; /* Space below headings */
}

.cv-content ul {
    list-style-type: disc; 
    padding-left: 40px; /* Indent the bullet points */
}

.cv-content li {
    margin-bottom: 10px; /* Space between list items */
}

.cv-content p {
    margin-bottom: 20px; /* Space below each paragraph */
}

/* Mobile-Specific Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide desktop links on mobile */
    }

    .image-container {
        height: auto; /* Allow image container to resize dynamically */
        margin-top: 60px; /* Maintain space from the navbar */
    }

    .mobile-links {
        display: block; /* Show links on mobile */
    }

    .mobile-links ul {
        list-style: none;
        padding: 0;
    }

    .mobile-links ul li {
        margin-bottom: 15px; /* Space between links */
    }

    .mobile-links ul li a {
        text-decoration: none;
        color: black;
        font-size: 18px;
    }

    .mobile-links ul li a.instagram-icon {
        color: black; /* Default color */
        font-size: 18px; /* Icon size */
        transition: color 0.3s ease;
    }

    .mobile-links ul li a.instagram-icon:hover {
        color: #C13584; /* Instagram pink color */
    }
}
