/* ===================================
   Custom Header Styles - K-ASSO
   Date: 16 Novembre 2025
   =================================== */

/* Header Top Link Buttons - Attractive Gradient Styles */
.header-top-link a.btn {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* Hover Effects for Gradient Buttons */
.header-top-link a.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

.header-top-link a.btn:active {
    transform: translateY(0px);
}

/* Ripple Effect on Click */
.header-top-link a.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.header-top-link a.btn:active::after {
    width: 300px;
    height: 300px;
}

/* Social Icons Hover Effects */
.header-top-social a:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .header-top-right {
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 10px;
    }

    .header-top-link {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px !important;
    }

    .header-top-link a.btn {
        padding: 6px 15px !important;
        font-size: 12px !important;
    }

    .header-top-social {
        margin-left: 0 !important;
        margin-top: 10px;
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .header-top-link a.btn {
        padding: 5px 12px !important;
        font-size: 11px !important;
    }

    .header-top-link a.btn i {
        font-size: 11px;
    }

    .header-top-social a {
        width: 30px !important;
        height: 30px !important;
        line-height: 30px !important;
        font-size: 14px;
    }
}

/* Animation on Page Load */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-top-link a.btn {
    animation: slideInDown 0.6s ease-out;
}

.header-top-link a.btn:nth-child(1) {
    animation-delay: 0.1s;
}

.header-top-link a.btn:nth-child(2) {
    animation-delay: 0.2s;
}

.header-top-link a.btn:nth-child(3) {
    animation-delay: 0.3s;
}

/* Pulse Animation for Primary Button */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5);
    }
    100% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }
}

/* Optional: Add subtle pulse to first button to draw attention */
.header-top-link a.btn:first-child {
    animation: slideInDown 0.6s ease-out, pulse 2s infinite;
    animation-delay: 0.1s, 1s;
}
