/* ============================================
   BUTTON STYLES - UPDATED AUG 8, 2025
   ============================================ */

/* Base button styles */
.btn {
    transition: all 0.3s ease !important;
    position: relative;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border: 2px solid transparent;
}

/* Primary Button (Get a Free Quote) */
.btn-accent {
    background-color: #497EE6 !important;
    color: #ffffff !important;
    border-color: #497EE6 !important;
}

.btn-accent:hover {
    background-color: #ffffff !important;
    color: #497EE6 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Outline Button (View Our Work) */
.btn-outline {
    background-color: transparent !important;
    color: #497EE6 !important;
    border-color: #497EE6 !important;
}

.btn-outline:hover {
    background-color: #497EE6 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Remove all black active states */
.btn:active,
.btn:focus,
.btn.active,
.btn:active:focus,
.btn.active:focus,
.btn-accent:active,
.btn-accent:focus,
.btn-accent.active,
.btn-accent:active:focus,
.btn-accent.active:focus,
.btn-outline:active,
.btn-outline:focus,
.btn-outline.active,
.btn-outline:active:focus,
.btn-outline.active:focus {
    background-color: #497EE6 !important;
    color: #ffffff !important;
    border-color: #497EE6 !important;
    box-shadow: none !important;
    transform: translateY(0) !important;
    outline: none !important;
}

/* Hero section buttons specific styles */
.hero-buttons .btn {
    margin: 0.5rem;
    min-width: 180px;
    text-align: center;
}

/* Ensure text is always visible */
.btn span,
.btn .btn-text,
.btn .btn-icon {
    position: relative;
    z-index: 2;
    color: inherit !important;
}

/* Focus states for accessibility */
.btn:focus-visible {
    outline: 2px solid #497EE6;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(73, 126, 230, 0.3) !important;
}
