/*
Theme Name: BS3LP
Theme URI: https://advise-assist.com
Author: Advise Assist
Description: Custom WordPress theme for chip-tuning atelier advise-assist.com
Version: 4.2.0
Text Domain: bs3lp
Requires at least: 6.0
Requires PHP: 7.4
*/

/* Author Box Styles */
.author-box {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.author-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.author-info {
    flex: 1;
}

.author-info h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.author-info h3 a {
    color: #fff;
    text-decoration: none;
}

.author-info h3 a:hover {
    color: #f19264;
}

.author-bio {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .author-box {
        flex-direction: column;
        text-align: center;
    }
}

/* Floating Firmware Button Styles */
.floating-firmware-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #7c3aed;
    border-radius: 50%;
    opacity: 1;
    transform: translateY(0);
    transition: background-color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
    margin-bottom: 16px;
}

.floating-firmware-btn.show {
    opacity: 1;
    transform: translateY(0);
}

.floating-firmware-btn:hover {
    background-color: #6d28d9;
    transform: translateY(0) scale(1.05);
}

.floating-firmware-btn.pulse-cta {
    animation: ctaPulse 1.9s ease-in-out infinite;
}

.floating-firmware-btn.pulse-cta:hover {
    animation-play-state: paused;
}

@keyframes ctaPulse {
    0% {
        box-shadow: 0 4px 12px rgba(124, 58, 237, 0.45), 0 0 0 0 rgba(124, 58, 237, 0.55);
        transform: scale(1);
    }
    60% {
        box-shadow: 0 4px 12px rgba(124, 58, 237, 0.45), 0 0 0 18px rgba(124, 58, 237, 0);
        transform: scale(1.06);
    }
    100% {
        box-shadow: 0 4px 12px rgba(124, 58, 237, 0.45), 0 0 0 0 rgba(124, 58, 237, 0);
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-firmware-btn.pulse-cta {
        animation: none;
    }
}

.floating-firmware-btn svg {
    color: white;
}

.firmware-tooltip {
    position: absolute;
    right: 100%;
    margin-right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #383838;
    color: white;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.floating-firmware-btn:hover .firmware-tooltip {
    opacity: 1;
}

@media (max-width: 768px) {
    .floating-firmware-btn {
        width: 50px;
        height: 50px;
    }

    .floating-firmware-btn svg {
        width: 20px;
        height: 20px;
    }
}
