/* Global Styles */
a {
    text-decoration: none; /* Removes underlining */
}

/* Work Experiences Container */
#work-experiences {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    display: flex;
    flex-direction: column; /* Stacks all items vertically */
    gap: 20px; /* Adds spacing between projects */
}

/* Individual Work Experience Card */
.work-experience {
    display: flex;
    align-items: center;
    background-color: #ffffff; /* White background for the card */
    padding: 20px;
    border-radius: 8px; /* Rounded corners for the card */
    border: 1px solid #ccc; /* Adds a subtle border for the rectangle */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds slight shadow for depth */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth hover effect */
}

/* Hover Effect for Work Experience */
.work-experience:hover {
    transform: scale(1.02); /* Slightly enlarges the card on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Adds a deeper shadow */
    border-color: #888; /* Darkens the border on hover */
}

/* Work Experience Image */
.work-experience img {
    width: 150px;
    height: 150px;
    object-fit: cover; /* Ensures the image fills the space proportionally */
    margin-right: 20px; /* Spacing between the image and the description */
    border-radius: 8px; /* Optional: Rounds the image corners */
}

/* Description Section */
.work-description {
    flex: 1; /* Makes the description take up the remaining space */
}

/* Title of Each Work Experience */
.work-title {
    font-size: 22px; /* Slightly larger font for emphasis */
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

/* Details of Each Work Experience */
.work-details {
    font-size: 16px;
    color: #555; /* Slightly darker text for better readability */
    line-height: 1.6;
}

/* Skills Container */
.skills-container {
    display: flex; /* Aligns skills and right links in one row */
    justify-content: space-between; /* Pushes right links to the right */
    align-items: center; /* Vertically aligns items */
    margin-top: 10px;
}

/* Skills Sub-Container */
.skills {
    display: flex; /* Aligns the skills inline */
    gap: 10px; /* Adds spacing between skill badges */
}

/* Individual Skill Badge */
.skills .skill {
    display: inline-block;
    padding: 5px 15px;
    background-color: #f0f0f0; /* Light background for skills */
    border: 2px solid #ccc; /* Subtle border around each skill */
    border-radius: 20px; /* Oval shape for skills */
    font-size: 14px;
    color: #333;
    font-weight: bold;
    white-space: nowrap; /* Prevents text wrapping */
    transition: background-color 0.2s ease, transform 0.2s ease; /* Smooth hover effect */
}

/* Hover Effect on Skills */
.skills .skill:hover {
    background-color: #e0e0e0; /* Slightly darker background on hover */
    border-color: #888; /* Darker border on hover */
    transform: scale(1.05); /* Enlarges skill badge slightly on hover */
}

/* Right Links Container (Slides and GitHub) */
.right-links {
    display: flex; /* Aligns both links inline */
    gap: 15px; /* Adds spacing between the two links */
}

/* Slides Link */
.slides-link {
    padding: 5px 15px;
    background-color: #007bff; /* Blue background for slides */
    color: white; /* White text color */
    border-radius: 20px; /* Oval shape for the link */
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    white-space: nowrap; /* Prevents text wrapping */
    transition: background-color 0.2s ease, transform 0.2s ease; /* Smooth hover effect */
    cursor: pointer;
}

/* Hover Effect for Slides Link */
.slides-link:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: scale(1.05); /* Enlarges link slightly on hover */
}

/* GitHub Link */
.github-link {
    padding: 5px 15px;
    background-color: #24292e; /* GitHub's signature color */
    color: white; /* White text color */
    border-radius: 20px; /* Oval shape for the link */
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    white-space: nowrap; /* Prevents text wrapping */
    transition: background-color 0.2s ease, transform 0.2s ease; /* Smooth hover effect */
    cursor: pointer;
}

/* Hover Effect for GitHub Link */
.github-link:hover {
    background-color: #444d56; /* Slightly lighter background on hover */
    transform: scale(1.05); /* Enlarges link slightly on hover */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .skills-container {
        flex-direction: column; /* Stacks skills and links vertically */
        align-items: flex-start;
    }

    .right-links {
        margin-top: 10px; /* Adds spacing above the right links */
    }
}




/* Header Container */
/* Header Container with image background */
#id_header_div {
    width: 100%;
    height: 120px;
    padding: 10px;
    /* ↓ your background image instead of blue */
    background-image: url("/static/images/Gates-Hillman_Image.JPG");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

#id_header_div #id_site_name,
#id_header_div #id_nav_links a {
  color: #F7FF00;                /* neon yellow */
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8); /* boost legibility */
}
#id_header_div #id_nav_links a:hover {
  color: #FFFF00;                /* full yellow on hover */
}


/* Left Section: Name and Social Links */
#id_left_section {
    display: flex;
    flex-direction: column; /* Stacks content vertically */
    align-items: flex-start; /* Aligns content to the left */
    margin-left: 20px;
}

#id_site_name {
    color: white;
    font-size: 30px;
    margin: 0;
    padding: 0;
}

/* Social Links (Icons) */
#id_social_links {
    display: flex;
    gap: 10px; /* Adds spacing between icons */
    margin-top: 5px;
}

#id_social_links img.social-icon {
    width: 40px; /* Increased size for better visibility */
    height: 40px;
    object-fit: contain; /* Ensures icons maintain aspect ratio */
}

/* Right Section: Navigation Links */
#id_nav_links {
    display: flex;
    gap: 15px; /* Adds spacing between navigation links */
    margin-right: 20px;
}

#id_nav_links a {
    text-decoration: underline;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

#id_nav_links a:hover {
    color: gray;
    text-decoration: underline;
}

@media (max-width: 768px) {
    /* Already applied: responsive header */

#id_header_div {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        height: auto;
        padding: 10px 20px;
        background-position: top center;
        background-size: cover;
    }

    /* restore per-line stacking of your nav links */
    #id_nav_links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        width: 100%;
        margin: 10px 0;
    }    
	/* ✅ Fix work experience cards */
    .work-experience {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .work-experience img {
        width: 100%;
        max-width: 300px;
        margin-right: 0;
        margin-bottom: 15px;
        height: auto;
    }

    .work-description {
        width: 100%;
        text-align: left;
    }

    .skills-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .right-links {
        margin-top: 10px;
        align-self: flex-start;
    }

    .skills {
        flex-wrap: wrap;
        gap: 8px;
    }

    .skills .skill,
    .github-link,
    .slides-link {
        font-size: 13px;
        padding: 6px 12px;
    }

    .work-title {
        font-size: 18px;
    }

    .work-details p {
        font-size: 14px;
    }
}

