/* experience.css */
/* ------------------------------
   Container
------------------------------ */
#work-experiences {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

/* ------------------------------
   Each Experience Card
------------------------------ */
.work-experience {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    background-color: #ffffff;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ------------------------------
   Image Wrapper
------------------------------ */
.work-image-wrapper {
    margin-right: 20px;
}
.work-image-wrapper a {
    display: block;
    width: 150px;
    max-width: 100%;
}

/* ------------------------------
   Responsive Image
------------------------------ */
.work-experience-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
}

/* Hover Effect on Image */
.work-experience-image:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Click/Focus effect on image */
.work-image-wrapper a:active .work-experience-image,
.work-image-wrapper a:focus .work-experience-image {
    transform: scale(1.05);
    opacity: 0.9;
}

/* ------------------------------
   Text Content
------------------------------ */
.work-description {
    flex: 1;
    text-align: justify;
    line-height: 1.6;
}
.work-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}
.work-details {
    font-size: 16px;
    color: #555;
    line-height: 2.0;
    text-align: justify;
    margin-bottom: 10px;
}

/* ------------------------------
   Header (unchanged)
------------------------------ */
#id_header_div {
    width: 100%;
    height: 120px;
    padding: 10px;
    /* replace solid blue with your image: */
    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 */
}

#id_left_section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 20px;
}
#id_site_name {
    color: white;
    font-size: 30px;
    margin: 0;
    padding: 0;
}
#id_social_links {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}
#id_social_links img.social-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
#id_nav_links {
    display: flex;
    gap: 15px;
    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;
}

/* ------------------------------
   Link Effects (if used)
------------------------------ */
.work-experience-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.work-experience-link:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.work-experience-link:active {
    transform: scale(0.95);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* ------------------------------
   Mobile Styles
------------------------------ */
@media (max-width: 768px) {
    /* — Header: keep it horizontal & wrapping — */
    #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;
    }
    /* don’t force the left & right into full-width blocks */
    /* keep the left section unchanged */
#id_left_section {
    width: auto;
    margin: 0;
}

/* stack nav links vertically on mobile */
#id_nav_links {
    display: flex;
    flex-direction: column;    /* one link per line */
    align-items: flex-start;   /* left-align them */
    gap: 10px;                 /* space between */
    width: 100%;               /* full width */
    margin: 10px 0;            /* breathing room above/below */
}

    
    /* — Work Experience Cards — */
    .work-experience {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .work-image-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 15px;
    }

    .work-description {
        width: 100%;
        padding: 0 10px;
        text-align: left;
    }

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

    .work-details {
        font-size: 15px;
        line-height: 1.7;
    }
}

