
/* overrides the global.css body styles */
body {
    background-color: #ffffff;
    color:  #222;
    font-family: "Figtree", sans-serif;
    margin-left: 0px;
    margin-right: 0px;
}

header {
    padding: 20px;
    border-bottom: 2px solid black;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
}

.center-btn {
    margin: 0px auto;
    text-align: center;
    max-width: 600px;
    margin-bottom: 80px;
}

.center-btn a {
    float: none;
    text-align: center;
}

h3 {
    margin-bottom: 10px;
    margin-top: 10px;
}

.project-date {
    text-align: center;
    margin: 5px 0px;
}

.hero-image {
    max-width: 1000px;
    margin: 0px auto;
}

.project-description {
    max-width: 700px;
    margin: 0px auto;
    padding: 20px;
}

.image-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 50px;
}

.image-row div {
    flex: 1;
    padding: 10px
}

.image-row div img {
    width: 100%;
}

p {
    margin-top: 20px
}

li {
    font-size: 18px;
    line-height: 1.7;
    margin-top: 10px
}

a {
    color: black;
}

a:visited {
    color: black;
    text-decoration: none;
}

a.button, a.button:visited {
    text-decoration: none;
    border: 3px solid black;
    border-radius: 3px;
    padding: 8px 10px 8px 10px;
    margin-top: 20px;
    transition: 0.3s;
    float: left
}

a.button:hover {
    background-color: black;
    color: #ffffff
}

a:hover {
    color: #333333;
}

.description {
    /* border-right: 2px solid black; */
    margin-top: 20px;
    padding: 20px;
    position: relative;
}

.back-home-link {
    display: block;
    padding: 20px;
}

.back-home-link a {
    font-size: 16px
}

.images {
    padding: 20px;
}

.images img {
    width: 100%;
    /* box-shadow: 0.5rem 0.5rem #ffffff; */
    margin-bottom: 50px;
}

.images {
    background-color:  #f0f0f0;
}

.reverse-flex-order {
    flex-direction: row-reverse;
}

footer {
    border-top: 2px solid black;
}

.button-wrapper {
    text-align: center;
    margin: 0px auto;
    display: block;
    margin-bottom: 20px;
    margin-top: 40px
}

.button-wrapper a.button, .button-wrapper a.button:visited {
    float: none;
}



/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease-in;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.caption {
    color: #4a4a4a;
    margin-top: 10px;
    text-align: center;
    font-size: 16px;
    font-style: italic;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: auto;
    max-height: 90vh;
}

.modal-image {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 40px;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    transition: 0.2s;
}

.modal-close:hover {
    color: #cccccc;
}

.clickable-image {
    cursor: pointer;
    transition: opacity 0.2s;
}

.clickable-image:hover {
    opacity: 0.8;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media screen and (max-width: 800px) {
    

    .images {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    a.button, a.button:visited {
        float: right
    }

    .image-row {
        flex-direction: column;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        font-size: 30px;
    }
}