/* ============================================
   Project Styles
   ============================================ */

#projects-container {
    overflow-y: auto;
    height: 700px;
    width: 100%;
}

.project-title {
    margin-top: 0;
}

.project-card {
    padding: 2.5%;
    margin-bottom: 0;
    color: var(--color-text-dark);
}

.project-description {
    text-align: justify;
    font-size: 16px;
}

.role-item {
    font-size: 15px;
    text-align: left;
}

.chip {
    font-size: 12px;
}

/* Project Links */
.project-links {
    margin-top: 20px;
}

.project-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-round);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
    transition: all var(--transition-normal);
    margin-right: 10px;
    margin-bottom: 10px;
}

.project-links a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
    filter: brightness(1.15);
}

.project-links .fa {
    font-size: 24px;
    color: white;
}

@media only screen and (max-width: 600px) {
    .project-links {
        margin-bottom: 10px;
    }
}

/* Image Previews */
.image-previews {
    display: flex;
    overflow-x: auto;
    padding: 10px 0;
    gap: 10px;
    white-space: nowrap;
    scrollbar-width: thin;
}

.image-preview {
    flex: 0 0 auto;
    max-height: 80px;
    border: 3px solid transparent;
    transition: border-color var(--transition-normal);
}

.image-preview:hover {
    border-color: #4CAF50;
}

/* Video Container */
.video-container iframe,
#main-media img {
    width: 100%;
}

/* Preview Wrapper with Play Icon */
.preview-wrapper {
    position: relative;
    display: inline-block;
}

.preview-wrapper img {
    display: block;
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(255, 255, 255);
    font-size: 3rem;
    pointer-events: none;
    opacity: 0.8;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

