/* ==============================================
   Floating We're Hiring Button - Eye-Catching Styles
   ============================================== */

/* Main Container */
.floating-hiring-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    animation: slideInRight 0.8s ease-out, floatAnimation 3s ease-in-out infinite;
}

/* Link Container */
.hiring-btn-link {
    display: block;
    position: relative;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.hiring-btn-link:hover {
    transform: scale(1.05);
}

/* Main Button Content */
.hiring-content {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(255, 75, 87, 0.4);
    position: relative;
    overflow: hidden;
    min-width: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hiring-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.hiring-btn-link:hover .hiring-content::before {
    left: 100%;
}

.hiring-content:hover {
    box-shadow: 0 15px 50px rgba(255, 75, 87, 0.5);
    background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
}

/* NOW HIRING Badge */
.hiring-badge {
    position: absolute;
    top: -10px;
    left: 10px;
    background: #ffd700;
    color: #333;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
    animation: badgePulse 2s ease-in-out infinite;
    z-index: 2;
}

/* Icon */
.hiring-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    flex-shrink: 0;
    animation: iconRotate 4s linear infinite;
}

.hiring-icon svg {
    width: 20px;
    height: 20px;
}

/* Text Content */
.hiring-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hiring-title {
    font-size: 16px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    animation: textGlow 2s ease-in-out infinite alternate;
}

.hiring-subtitle {
    font-size: 12px;
    opacity: 0.95;
    margin-top: 2px;
}

/* Arrow */
.hiring-arrow {
    font-size: 20px;
    margin-left: auto;
    animation: arrowMove 1.5s ease-in-out infinite;
}

/* Pulsing Background Effects */
.hiring-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: rgba(255, 75, 87, 0.3);
    animation: pulse 2s ease-out infinite;
    pointer-events: none;
}

.hiring-pulse-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: rgba(255, 75, 87, 0.2);
    animation: pulse 2s ease-out infinite 1s;
    pointer-events: none;
}

/* Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes iconRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    100% {
        text-shadow: 0 2px 20px rgba(255,255,255,0.5);
    }
}

@keyframes arrowMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

/* Special Effects on Hover */
.hiring-btn-link:hover .hiring-icon {
    animation-duration: 0.5s;
    background: rgba(255,255,255,0.3);
}

.hiring-btn-link:hover .hiring-arrow {
    animation-duration: 0.3s;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .floating-hiring-btn {
        bottom: 20px;
        right: 20px;
    }
    
    .hiring-content {
        padding: 12px 20px;
        min-width: 180px;
    }
    
    .hiring-title {
        font-size: 14px;
    }
    
    .hiring-subtitle {
        font-size: 11px;
    }
    
    .hiring-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .floating-hiring-btn {
        bottom: 15px;
        right: 15px;
    }
    
    .hiring-content {
        padding: 10px 15px;
        min-width: 160px;
        gap: 8px;
    }
    
    .hiring-badge {
        font-size: 9px;
        padding: 2px 8px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .hiring-content {
        box-shadow: 0 10px 40px rgba(255, 75, 87, 0.6);
    }
    
    .hiring-content:hover {
        box-shadow: 0 15px 50px rgba(255, 75, 87, 0.8);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .floating-hiring-btn,
    .hiring-icon,
    .hiring-title,
    .hiring-arrow,
    .hiring-badge {
        animation: none;
    }
    
    .hiring-pulse,
    .hiring-pulse-2 {
        display: none;
    }
}

/* Print Styles */
@media print {
    .floating-hiring-btn {
        display: none;
    }
}
