/* ================= PROJECTS PAGE ================= */

.projects-container{
    display: flex;
    flex-direction: column;
}

.project-full-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 29rem;
    overflow: hidden;
    background: var(--brand-gray);
}

.project-full-card::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 77, 0, .25);
    box-shadow:
        0 0 6px rgba(255,77,0,.5),
        0 0 12px rgba(255,77,0,.35);
}

.project-full-card::before {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 140px;
    height: 4px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,255,255,.2) 15%,
        #ffffff 50%,
        #ff7b2c 70%,
        transparent 100%
    );
    border-radius: 999px;
    filter: blur(1px);
    box-shadow:
        0 0 8px #ffffff,
        0 0 16px #ff6a00,
        0 0 28px rgba(255,106,0,.8);

    transform: translateX(-180px);
    animation: scanner 3s linear infinite;
    will-change: transform;
}

.projects-container .project-full-card .project-image{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.projects-container .project-full-card .project-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,.85) 15%,
        rgba(0,0,0,.45) 55%,
        rgba(0,0,0,.15) 100%
        );
}
.projects-container .project-full-card .project-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.projects-container .project-full-card .project-content{
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 2rem;
    gap: 1.2rem;
}
    
.projects-container .project-full-card .project-content > *{
    padding: 10px 20px;
}

.project-content h2{
    font-size: 2.4rem;
    line-height: 1.2;
}

.project-content p{
    max-width: 650px;
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: justify;
}

.project-btn{
    width: 10rem;
    border: 1px solid var(--brand-red-light);
    background-color: #ff2a00;
    border-radius: 0.8rem;
    list-style: none;
    text-decoration: none;
    color: beige;
    animation: fadeInUp 0.5s ease-in-out 0.2s forwards;
}

.project-btn:hover{
    background-color: #ff5500;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(241, 56, 17, 0.72);
}
/* ANIMACIONES */
@keyframes scanner {
    from {
        transform: translateX(-180px);
    }

    to {
        transform: translateX(calc(100vw + 180px));
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .projects-hero h1 {
        font-size: 44px;
    }
    
    .projects-hero p {
        font-size: 16px;
    }
    
    .project-image {
        height: 330px;
    }
    
    .project-content {
        padding: 35px;
    }
    
    .project-content h2 {
        font-size: 28px;
    }
}
    
@media (max-width: 600px) {
    .projects-hero {
        min-height: 380px;
        padding: 65px 22px;
    }
    
    .projects-hero h1 {
        font-size: 32px;
    }
    
    .projects-kicker {
        font-size: 11px;
        padding: 8px 13px;
    }

    .projects-showcase {
        padding: 65px 20px 90px;
    }

    .projects-container {
        gap: 35px;
    }

    .project-full-card {
        border-radius: 22px;
    }

    .project-image {
        height: 235px;
    }

    .project-content {
        padding: 28px 24px 32px;
    }

    .project-content h2 {
        font-size: 24px;
    }

    .project-content p {
        font-size: 14px;
    }

    .project-tags {
        gap: 9px;
    }

    .project-tags span {
        font-size: 12px;
        padding: 8px 12px;
    }

    .project-btn {
        width: 100%;
        justify-content: center;
    }
}