/*====================================================
            PORTFOLIO MODAL - PROYECTO DETALLE
=====================================================*/

.portfolio-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 61, 94, 0.25);
    animation: modalSlideIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-modal-header {
    background: linear-gradient(135deg, #0F3D5E 0%, #1a4d6d 100%);
    color: white;
    border-bottom: none;
    padding: 30px 30px 25px;
    position: relative;
}

.portfolio-modal-header h4 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    margin-top: 8px;
    line-height: 1.2;
}

.badge-portfolio-modal {
    display: inline-block;
    background: rgba(244, 180, 0, 0.2);
    color: #F4B400;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(244, 180, 0, 0.4);
}

.portfolio-modal-header .btn-close {
    filter: invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.portfolio-modal-header .btn-close:hover {
    opacity: 1;
}

.portfolio-modal-body {
    padding: 30px;
    background: #FFFFFF;
}

.portfolio-modal-body img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(15, 61, 94, 0.15);
    transition: transform 0.35s ease;
}

.portfolio-modal-body img:hover {
    transform: scale(1.02);
}

.portfolio-modal-subtitle {
    color: #0F3D5E;
    font-size: 16px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid #F4B400;
    display: inline-block;
}

.portfolio-modal-text {
    color: #4B5563;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

/*====================================================
            RESPONSIVE
=====================================================*/

@media (max-width: 768px) {
    .portfolio-modal-header {
        padding: 20px 20px 15px;
    }

    .portfolio-modal-header h4 {
        font-size: 22px;
    }

    .portfolio-modal-body {
        padding: 20px;
    }

    .portfolio-modal-body img {
        max-height: 300px;
    }
}
