* {
    font-family: Arial, sans-serif;
}

html, body {
    background-color: rgb(30 30 46);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    color: #cdd6f4;
}

.navBar {
    position: fixed;
    padding-left: 6%;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    width: 100%;
    background-color: #11111b;
    z-index: 1000;
    display: flex;
}

.topLink {
    display: inline-flex;
    align-items: center;
    color: #cdd6f4;
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
    height: 100%;
}

.logoDiv {
    position: absolute; /* Position relative to the .navBar */
    right: calc(10% + 25px); /* Align with the .outerbox */
    height: 100%; /* Make the height of .topLogo the same as .navBar */
    display: flex; /* Enable flexbox layout */
    align-items: center; /* Center the image vertically */
    justify-content: center; /* Center the image horizontally */
}

@media (max-width: 500px) {
    .logoDiv {
        display: none;
    }
}

.topLink.hover {
    background-color: rgb(30 30 46);
    cursor: pointer;
}

.bodydiv {
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 80px;
    padding-bottom: 2%;
}

.outerbox {
    margin-top: 2%;
    padding: 5%;
    width: 90%;
    display: inline-block;
    background-color: #181825;
    border-radius: 20px;
}

h1 {
    display: inline-block;
    color: #cdd6f4;
    font-size: 2rem;
}

p {
    color: #89b4fa;
    font-size: 1rem; /* Paragraphs */
    line-height: 1.5; /* Line height for readability */
}

h2 {
    color: #89b4fa;
    font-size: 1.5rem; /* Paragraphs */
    line-height: 1.5; /* Line height for readability */
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: ease;
}

.logoHead {
    padding-right: 10px;
}

.logoDiv:hover {
    filter: brightness(0.8);
    cursor: pointer;
}

.portrait {
    border-radius: 50%;
    max-width: 100%;
    min-width: 20%;
    height: auto;
}

#projectSummaryHead {
    width: 100%;
    display: inline;
}

.contentDiv{
    display: flex;
    align-items: flex-start;
    width: 100%;
    height: 0%;
}

.projectSummaryDiv{
    display: inline;
}

#leftDiv {
    display: inline;
    width: 60%;
    padding-right: 30px; /* Add some spacing to the right */
}

#rightDiv {
    width: 40%;
    max-width 400px;
    align-items: center; /* Center the image vertically */
    padding-left: 5%;
    padding-top: 4%;
}

.navHeader {
    padding-right: 10px;
}

/* Enhanced project styling */
.projectDiv {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding: 25px;
    margin-bottom: 30px;
    border: 2px solid #585b70;
    border-radius: 15px;
    background-color: #313244;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Subtle hover effect for projects */
.projectDiv:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

/* Enhance the project title */
.projectDiv .textHead {
    color: #89b4fa;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

/* Style the project description text */
.projectText {
    color: #bac2de;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Enhanced bullet points for projects */
.ul_text {
    margin: 15px 0;
    padding-left: 20px;
    color: #a6adc8;
}

.ul_item {
    margin-bottom: 8px;
    position: relative;
}

.ul_item::marker {
    color: #89b4fa;
}

/* Enhanced project link styling - similar to serviceLink */
.projectLink {
    display: inline-block;
    padding: 12px 24px;
    background-color: #89b4fa;
    color: #11111b;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.projectLink:hover {
    background-color: #74c7ec;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(137, 180, 250, 0.4);
    filter: none;
}

.projectLink:visited {
    color: #11111b;
}

/* Enhanced project image styling */
.projectImg {
    border-radius: 15px;
    max-width: 300px;
    min-width: 30%;
    height: auto;
    border: 2px solid #45475a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image hover effect */
.projectImg:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Service box styling - more contrasty */
.serviceBox {
    display: block;
    border: 2px solid #585b70; /* Thicker, lighter border */
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    background-color: #313244;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4); /* Stronger shadow */
    width: 100%;
}

/* Service title styling */
.serviceTitle {
    margin-bottom: 15px;
}

/* Service description styling */
.serviceDesc {
    margin-bottom: 20px;
    color: #bac2de;
}

/* Service link styling */
.serviceLink {
    display: inline-block;
    padding: 12px 24px;
    background-color: #89b4fa;
    color: #11111b;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.serviceLink:hover {
    background-color: #74c7ec;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(137, 180, 250, 0.4);
    filter: none; /* Override the default projectLink hover effect */
}

.serviceLink:visited {
    color: #11111b; /* Keep the dark color for visited links */
}

/* Responsive adjustments for projects */
@media (max-width: 768px) {
    .projectDiv {
        flex-direction: column;
        text-align: center;
    }
    
    #leftDiv {
        width: 100%;
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    #rightDiv {
        width: 100%;
        padding-left: 0;
        padding-top: 0;
    }
}
