/* ==========================================================================
   css/components/buttons.css
   REUSABLE UI: Buttons, Links, Actions
   ========================================================================== */

.btn-primary {
    position: relative;
    display: inline-block;
    padding: 20px 40px;
    background: var(--text-main);
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border: 1px solid #fff;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 40px;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0; height: 100%;
    background: var(--accent); 
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    color: #fff;
    transform: none; 
}

.btn-primary:hover::after {
    width: 100%;
}