/* ========================================
   PROJECTS.CSS - Projects Page Specific Styles
   Base, Header, Footer, and Buttons moved to shared files
   ======================================== */

/* Section Title Override for Projects Page */
.section-title {
    margin: 20px 0;
    padding: 0 40px;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Image Viewer - Projects Page Specific */
.image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.image-viewer.active {
    opacity: 1;
    visibility: visible;
}

.viewer-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.viewer-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.close-viewer {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
}

.image-nav {
    display: flex;
    gap: 20px;
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
}

.expanded-description {
    white-space: pre-line;
}