/* ====== 7erfa redesign — additions on top of style.css ====== */

/* Sticky WhatsApp floating button */
.wa-float {
    position: fixed;
    bottom: 20px;
    inset-inline-start: 20px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5);
    z-index: 9000;
    transition: transform .2s ease, box-shadow .2s ease;
    animation: waPulse 2.4s infinite;
}
.wa-float:hover {
    transform: scale(1.08);
    color: #fff;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}
@keyframes waPulse {
    0%   { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.55); }
    70%  { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Project card image (replaces gradient bg when an image_url is present) */
.portfolio-item .pi-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform .6s ease, filter .3s ease;
    filter: brightness(0.55) saturate(1.1);
}
.portfolio-item:hover .pi-img {
    transform: scale(1.04);
    filter: brightness(0.7) saturate(1.2);
}

/* Project detail screenshot panel */
.detail-shot {
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(107, 33, 200, 0.18), rgba(0, 212, 184, 0.12));
    padding: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.detail-shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    object-fit: cover;
    max-height: 480px;
}

/* Portfolio "tech stack" line under project title */
.pi-tech {
    color: rgba(255, 255, 255, 0.78);
    font-family: 'Syne', sans-serif;
    letter-spacing: 0.4px;
}

/* Make WhatsApp icon in CTAs vertically aligned */
.btn-primary .bi-whatsapp,
.btn-outline .bi-whatsapp,
.nav-cta .bi-whatsapp {
    font-size: 1.05em;
    vertical-align: middle;
}
