/* ============================================
 * Module: Portfolio
 * Source views: index, show
 * ============================================ */

/* --- Index --- */
.portfolio-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;
}
.portfolio-card .card-title a:hover {
    color: #0d6efd !important;
}
.portfolio-image-wrapper {
    position: relative;
    overflow: hidden;
}
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

/* --- Show --- */
.project-content {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 780px;
}
.project-content p {
    margin-bottom: 1.5rem;
}
.project-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
    margin: 1rem 0;
}
.project-content.full-width { max-width: none; }
.main-image {
    max-height: 500px;
    object-fit: cover;
}
/* Ad Positions */
.ad-floating-left {
    position: fixed;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    max-width: 160px;
}
@media (max-width: 1400px) {
    .ad-floating-left {
        display: none !important;
    }
}
.ad-position {
    text-align: center;
}
.ad-position img {
    max-width: 100%;
    height: auto;
}
