/* Button Styles - Matching "Get Quote Now" button from additional-services.php */
/* This file should be included AFTER Bootstrap CSS */

.btn {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.1rem;
    line-height: 1.2;
    user-select: none;
    outline: none;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    padding: 1rem 2.5rem;
    min-width: 200px;
}

.btn::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.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

.btn:active {
    transform: translateY(-1px);
}

/* Button Sizes */
.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    min-width: 120px;
    border-radius: 50px;
}

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    min-width: 250px;
    border-radius: 50px;
}

.btn-xl {
    padding: 1.5rem 3.5rem;
    font-size: 1.35rem;
    min-width: 300px;
    border-radius: 50px;
}

/* Primary Button - Blue Gradient */
.btn-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
    color: white;
}

/* Secondary Button - Outline */
.btn-secondary {
    background: transparent;
    border: 2px solid #3b82f6;
    color: #3b82f6;
    box-shadow: none;
}

.btn-secondary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    border-color: #3b82f6;
}

/* Outline Primary */
.btn-outline-primary {
    background: transparent;
    border: 2px solid #1e3a8a;
    color: #1e3a8a;
    box-shadow: none;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
    border-color: #1e3a8a;
}

/* Outline Secondary */
.btn-outline-secondary {
    background: transparent;
    border: 2px solid #6b7280;
    color: #6b7280;
    box-shadow: none;
}

.btn-outline-secondary:hover {
    background: #6b7280;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(107, 114, 128, 0.3);
    border-color: #6b7280;
}

/* Success - Green */
.btn-success {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    color: white;
}

/* Danger - Red */
.btn-danger {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    color: white;
}

/* Warning - Amber */
.btn-warning {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    color: white;
}

/* Info - Cyan */
.btn-info {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-info:hover {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
    color: white;
}

/* Dark */
.btn-dark {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(55, 65, 81, 0.3);
}

.btn-dark:hover {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(55, 65, 81, 0.4);
    color: white;
}

/* Light */
.btn-light {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: #1f2937;
    box-shadow: 0 4px 15px rgba(229, 231, 235, 0.3);
}

.btn-light:hover {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229, 231, 235, 0.4);
    color: #1f2937;
}

/* Outline variants */
.btn-outline-success {
    background: transparent;
    border: 2px solid #10b981;
    color: #10b981;
    box-shadow: none;
}

.btn-outline-success:hover {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    border-color: #10b981;
}

.btn-outline-danger {
    background: transparent;
    border: 2px solid #dc2626;
    color: #dc2626;
    box-shadow: none;
}

.btn-outline-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    border-color: #dc2626;
}

.btn-outline-warning {
    background: transparent;
    border: 2px solid #f59e0b;
    color: #f59e0b;
    box-shadow: none;
}

.btn-outline-warning:hover {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    border-color: #f59e0b;
}

.btn-outline-info {
    background: transparent;
    border: 2px solid #06b6d4;
    color: #06b6d4;
    box-shadow: none;
}

.btn-outline-info:hover {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
    border-color: #06b6d4;
}

.btn-outline-dark {
    background: transparent;
    border: 2px solid #374151;
    color: #374151;
    box-shadow: none;
}

.btn-outline-dark:hover {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(55, 65, 81, 0.4);
    border-color: #374151;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid #f3f4f6;
    color: #f3f4f6;
    box-shadow: none;
}

.btn-outline-light:hover {
    background: #f3f4f6;
    color: #1f2937;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(243, 244, 246, 0.4);
    border-color: #f3f4f6;
}

/* Link button */
.btn-link {
    background: transparent;
    color: #3b82f6;
    box-shadow: none;
    padding: 0.5rem 1rem;
    min-width: auto;
    border-radius: 0;
}

.btn-link:hover {
    color: #1e3a8a;
    transform: none;
    box-shadow: none;
    background: transparent;
    text-decoration: underline;
}

/* Disabled state */
.btn:disabled,
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    pointer-events: none;
}

/* w-100 button */
.btn.w-100 {
    width: 100%;
}

/* Button groups */
.btn-group {
    display: inline-flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .btn {
        font-size: 1rem;
        padding: 1rem 2rem;
        min-width: unset;
        width: 100%;
        max-width: 300px;
    }
    
    .btn-sm {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .btn-lg {
        padding: 1.1rem 2.5rem;
        font-size: 1.1rem;
        min-width: unset;
        width: 100%;
        max-width: 300px;
    }
    
    .btn-xl {
        padding: 1.2rem 2.5rem;
        font-size: 1.2rem;
        min-width: unset;
        width: 100%;
        max-width: 300px;
    }
    
    .btn-group,
    .btn-group-vertical {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-group .btn,
    .btn-group-vertical .btn {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}
